'Constructor.
@param host name of host for connection; default is localhost
@param port port number for connection; default is 7496
@param clientId client identifier to send when connected
@param receiver instance for reading from the connected socket
@param sender instance for writing to the connected socket
@param dispatcher instance for dispatching socket messages'

def __init__(self, host, port, clientId, receiver, sender, dispatcher):

    self.host = host
    self.port = port
    self.clientId = clientId
    self.receiver = receiver
    self.sender = sender
    self.dispatcher = dispatcher
