Lines Matching refs:server
25 server = rfbGetScreen(&argc, commandLine.argv, video.getWidth(), in Server()
29 if (!server) in Server()
40 server->screenData = this; in Server()
41 server->desktopName = "OpenBMC IKVM"; in Server()
42 server->frameBuffer = framebuffer.data(); in Server()
43 server->newClientHook = newClient; in Server()
44 server->cursor = rfbMakeXCursor(cursorWidth, cursorHeight, (char*)cursor, in Server()
46 server->cursor->xhot = 1; in Server()
47 server->cursor->yhot = 1; in Server()
49 rfbStringToAddr(&ip[0], &server->listenInterface); in Server()
51 rfbInitServer(server); in Server()
53 rfbMarkRectAsModified(server, 0, 0, video.getWidth(), video.getHeight()); in Server()
55 server->kbdAddEvent = Input::keyEvent; in Server()
56 server->ptrAddEvent = Input::pointerEvent; in Server()
65 rfbScreenCleanup(server); in ~Server()
82 rfbProcessEvents(server, processTime); in run()
84 if (server->clientHead) in run()
107 it = rfbGetClientIterator(server); in sendFrame()
164 rfbMarkRectAsModified(server, 0, 0, video.getWidth(), in sendFrame()
208 Server* server = (Server*)cl->screen->screenData; in clientGone() local
213 if (server->numClients-- == 1) in clientGone()
215 server->input.disconnect(); in clientGone()
216 rfbMarkRectAsModified(server->server, 0, 0, server->video.getWidth(), in clientGone()
217 server->video.getHeight()); in clientGone()
223 Server* server = (Server*)cl->screen->screenData; in newClient() local
226 new ClientData(server->video.getFrameRate(), &server->input); in newClient()
229 if (!server->numClients++) in newClient()
231 server->input.connect(); in newClient()
232 server->pendingResize = false; in newClient()
233 server->frameCounter = 0; in newClient()
247 rfbNewFramebuffer(server, framebuffer.data(), video.getWidth(), in doResize()
250 rfbMarkRectAsModified(server, 0, 0, video.getWidth(), video.getHeight()); in doResize()
252 it = rfbGetClientIterator(server); in doResize()