# ClusterServer

from direct.cluster.ClusterServer import ClusterServer

## Inheritance:

ClusterServer:

## Methods of ClusterServer:

__init__
_readerPollTask
_syncReaderPollTask
handleCamFrustum
handleCamMovement
handleCamOffset
handleCommandString
handleDatagram
handleSelectedMovement
handleTimeData
listenerPollTask
sendSwapReady
startListenerPollTask
startReaderPollTask
startSwapCoordinator
swapCoordinatorTask

__init__ def __init__(self, cameraJig, camera) Undocumented function.

_readerPollTask def _readerPollTask(self, state) Non blocking task to read all available datagrams

_syncReaderPollTask def _syncReaderPollTask(self, task) Undocumented function.

handleCamFrustum def handleCamFrustum(self, dgi) Adjust camera frustum based on parameters sent by client

handleCamMovement def handleCamMovement(self, dgi) Update cameraJig position to reflect latest position

handleCamOffset def handleCamOffset(self, dgi) Set offset of camera from cameraJig

handleCommandString def handleCommandString(self, dgi) Handle arbitrary command string from client

handleDatagram def handleDatagram(self, dgi, type) Process a datagram depending upon type flag

handleSelectedMovement def handleSelectedMovement(self, dgi) Update cameraJig position to reflect latest position

handleTimeData def handleTimeData(self, dgi) Update cameraJig position to reflect latest position

listenerPollTask def listenerPollTask(self, task) Task to listen for a new connection from the client

sendSwapReady def sendSwapReady(self) Undocumented function.

startListenerPollTask def startListenerPollTask(self) Undocumented function.

startReaderPollTask def startReaderPollTask(self) Task to handle datagrams from client

startSwapCoordinator def startSwapCoordinator(self) Undocumented function.

swapCoordinatorTask def swapCoordinatorTask(self, task) Undocumented function.