from inchannel import InChannel
from outchannel import OutChannel

class Client(object):
    def __init__(self, config, id, httpchannel):
        self.config = config
        self.id = id
        self.outchannel = OutChannel(config, httpchannel)
        self.inchannel = InChannel()
        self.initialized = False
        self.closed = False

    def push_command(self, command):
        self.outchannel.push_command(command)


