Documented AppServer class.
Implemented most of the AppServer class - can actually *run* the server.:P Minor tweaks to ServerApp to accomodate AppServer::Broadcast() git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2586 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -172,6 +172,15 @@ bool ServerApp::PingTarget(void)
|
||||
return true;
|
||||
}
|
||||
|
||||
/*!
|
||||
\brief Send a message to the ServerApp with no attachments
|
||||
\param code ID code of the message to post
|
||||
*/
|
||||
void ServerApp::PostMessage(int32 code)
|
||||
{
|
||||
write_port(_receiver,code, NULL, 0);
|
||||
}
|
||||
|
||||
/*!
|
||||
\brief The thread function ServerApps use to monitor messages
|
||||
\param data Pointer to the thread's ServerApp object
|
||||
|
||||
Reference in New Issue
Block a user