Lines Matching defs:ServerApp

23 #include "ServerApp.h"
45 \param sendport port ID for the BApplication which will receive the ServerApp's messages
46 \param rcvport port by which the ServerApp will receive messages from its BApplication.
50 ServerApp::ServerApp(port_id sendport, port_id rcvport, port_id clientLooperPort,
60 fLockSem(create_sem(1, "ServerApp sem")),
70 STRACE(("ServerApp %s:\n", fSignature.String()));
77 ServerApp::~ServerApp(void)
79 STRACE(("*ServerApp %s:~ServerApp()\n",fSignature.String()));
90 STRACE(("#ServerApp %s:~ServerApp()\n", fSignature.String()));
101 STRACE(("ServerApp %s::~ServerApp(): Exiting\n", fSignature.String()));
105 \brief Starts the ServerApp monitoring for messages
109 ServerApp::Run(void)
111 // Unlike a BApplication, a ServerApp is *supposed* to return immediately
131 tell the app_server to delete the respective ServerApp.
134 ServerApp::PingTarget(void)
148 \brief Send a message to the ServerApp with no attachments
152 ServerApp::PostMessage(int32 code)
160 \brief Send a message to the ServerApp's BApplication
164 ServerApp::SendMessageToClient(const BMessage *msg) const
172 printf("PANIC: ServerApp: '%s': can't flatten message in 'SendMessageToClient()'\n", fSignature.String());
178 \brief Sets the ServerApp's active status
179 \param value The new status of the ServerApp.
185 ServerApp::Activate(bool value)
193 \param data Pointer to the thread's ServerApp object
197 ServerApp::MonitorApp(void *data)
199 // Message-dispatching loop for the ServerApp
201 ServerApp *app = (ServerApp *)data;
208 STRACE(("info: ServerApp::MonitorApp listening on port %ld.\n", app->fMessagePort));
211 STRACE(("ServerApp::MonitorApp(): GetNextMessage returned %s\n", strerror(err)));
229 STRACE(("ServerApp %s:Server shutdown notification received\n",
240 STRACE(("ServerApp %s: B_QUIT_REQUESTED\n",app->fSignature.String()));
251 STRACE(("ServerApp %s: Got a Message to dispatch\n", app->fSignature.String()));
271 ServerApp::DispatchMessage(int32 code, BPrivate::LinkReceiver &link)
276 STRACE(("ServerApp %s: get current workspace\n", fSignature.String()));
287 STRACE(("ServerApp %s: activate workspace\n", fSignature.String()));
299 STRACE(("ServerApp %s: Received IsCursorHidden request\n", fSignature.String()));
308 printf("ServerApp %s received unhandled message code offset %lx\n",
323 ServerApp::ClientTeamID() const
330 ServerApp::MonitorThreadID() const