def __getstate__(self):
def __init__(self, host, port, sock = None):
parms:
[string] dotted ip address of host
[int] port number
[socket or None] if provided, this is the socket which already has a valid connection.
def __setstate__(self, dict):
def getNext(self):
def getProtocolId(self):
def send(self, obj):