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:
DarkWyrm
2003-01-27 19:43:15 +00:00
parent c69aed7afc
commit 643c5cd11e
5 changed files with 543 additions and 14 deletions
+9
View File
@@ -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