'@param terminalFactory: A callable which will be invoked with
*a, **kw and should return an ITerminalTransport provider.
This will be invoked when this ClientProtocol establishes a
connection.
@param a: Any positional arguments to pass to terminalFactory.
@param kw: Any keyword arguments to pass to terminalFactory.'

def __init__(self, terminalFactory=None, *a, **kw):

    if (terminalFactory is not None):
        self.terminalFactory = terminalFactory
    self.terminalArgs = a
    self.terminalKwArgs = kw
