# ServerRepository

from direct.distributed.ServerRepository import ServerRepository

This maintains the server-side connection with a Panda server. It is only for use with the Panda LAN server provided by CMU.

## Inheritance:

ServerRepository:

## Methods of ServerRepository:

__init__
clientHardDisconnectTask
handleClientCreateObjectRequired
handleClientDeleteObject
handleClientDisable
handleClientDisconnect
handleClientUpdateField
handleDatagram
handleMessageType
handleRemoveZone
handleSetZone
importModule
listenerPoll
readDCFile
readerPollOnce
readerPollUntilEmpty
sendAvatarGenerate
sendDOIDrange
sendToAll
sendToZoneExcept

__init__ def __init__(self, tcpPort, udpPort, dcFileNames=None) Undocumented function.

clientHardDisconnectTask def clientHardDisconnectTask(self, task) Undocumented function.

handleClientCreateObjectRequired def handleClientCreateObjectRequired(self, datagram, dgi) Undocumented function.

handleClientDeleteObject def handleClientDeleteObject(self, datagram, doid) Undocumented function.

handleClientDisable def handleClientDisable(self, datagram, doid) Undocumented function.

handleClientDisconnect def handleClientDisconnect(self, connection) Undocumented function.

handleClientUpdateField def handleClientUpdateField(self, datagram, dgi) Undocumented function.

handleDatagram def handleDatagram(self, datagram) Undocumented function.

handleMessageType def handleMessageType(self, msgType, di) Undocumented function.

handleRemoveZone def handleRemoveZone(self, dgi, connection) Undocumented function.

handleSetZone def handleSetZone(self, dgi, connection) Undocumented function.

importModule def importModule(self, dcImports, moduleName, importSymbols) Imports the indicated moduleName and all of its symbols into the current namespace. This more-or-less reimplements the Python import command.

listenerPoll def listenerPoll(self, task) Undocumented function.

readDCFile def readDCFile(self, dcFileNames=None) Reads in the dc files listed in dcFileNames, or if dcFileNames is None, reads in all of the dc files listed in the Configrc file.

readerPollOnce def readerPollOnce(self) Undocumented function.

readerPollUntilEmpty def readerPollUntilEmpty(self, task) Undocumented function.

sendAvatarGenerate def sendAvatarGenerate(self) Undocumented function.

sendDOIDrange def sendDOIDrange(self, connection) Undocumented function.

sendToAll def sendToAll(self, datagram) Undocumented function.

sendToZoneExcept def sendToZoneExcept(self, ZoneID, datagram, connection) Undocumented function.