From 647a02fc24a00d4878d3ee450ae923d75f4af9bc Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Tue, 15 Oct 2002 22:29:05 +0000 Subject: [PATCH] B_REG_BROADCAST protocol (BRoster::Broadcast()). git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1538 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- docs/develop/servers/registrar/Protocols | 30 +++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/docs/develop/servers/registrar/Protocols b/docs/develop/servers/registrar/Protocols index 5dead31b51..ab9e8b148e 100644 --- a/docs/develop/servers/registrar/Protocols +++ b/docs/develop/servers/registrar/Protocols @@ -317,7 +317,7 @@ activate an app (BRoster::ActivateApp()) target: roster message: B_REG_ACTIVATE_APP - "team": B_INT32_TYPE ] + "team": B_INT32_TYPE reply: standard success on error: - B_NO_REPLY (fatal) - standard error @@ -335,6 +335,30 @@ error reply fields: ----------------------------------------------------------------------- +broadcast a message (BRoster::Broadcast()) + +target: roster +message: B_REG_ACTIVATE_APP + "team": B_INT32_TYPE + "message": B_MESSAGE_TYPE + "reply_target": B_MESSENGER_TYPE +reply: standard success +on error: - B_NO_REPLY (fatal) + - standard error + +message fields: +- "team": The requesting team. +- "message": The message to be broadcast. +- "reply_target": The reply target for the message. + +error reply fields: +- "error": + - B_BAD_VALUE: A request message field is missing or contains an + invalid value. + - ... + +----------------------------------------------------------------------- + MIME Database Requests ---------------------- @@ -548,6 +572,10 @@ reply: none (message should be sent asynchronously) ----------------------------------------------------------------------- + +Message Runner Requests +----------------------- + message runner registration (BMessageRunner::InitData()) target: roster