__init__ def __init__(self, connectMethod, config, hasOwnerView=False) Undocumented function. |
checkHttp def checkHttp(self) Undocumented function. |
connect def connect(self, serverList, successCallback=None, successArgs=[], failureCallback=None, failureArgs=[]) Attempts to establish a connection to the server. May return before the connection is established. The two callbacks represent the two functions to call (and their arguments) on success or failure, respectively. The failure callback also gets one additional parameter, which will be passed in first: the return status code giving reason for failure, if it is known. |
disconnect def disconnect(self) Closes the previously-established connection. |
generateGlobalObject def generateGlobalObject(self, doId, dcname, values=None) Undocumented function. |
getServerAddress def getServerAddress(self) Undocumented function. |
handleDatagram def handleDatagram(self, di) Undocumented function. |
handleReaderOverflow def handleReaderOverflow(self) Undocumented function. |
httpConnectCallback def httpConnectCallback(self, ch, serverList, serverIndex, successCallback, successArgs, failureCallback, failureArgs) 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. |
lostConnection def lostConnection(self) Undocumented function. |
networkPlugPulled def networkPlugPulled(self) Undocumented function. |
pullNetworkPlug def pullNetworkPlug(self) 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. |
restoreNetworkPlug def restoreNetworkPlug(self) Undocumented function. |
send def send(self, datagram) Undocumented function. |
startReaderPollTask def startReaderPollTask(self) Undocumented function. |
stopReaderPollTask def stopReaderPollTask(self) Undocumented function. |