Пример #1
0
    def __init__(self, request_id):
        ClientMessage.__init__(self)

        self.put_object(request_id)
Пример #2
0
    def __init__(self, client):
        ClientMessage.__init__(self)

        self.put_object(client)
Пример #3
0
    def __init__(self, status):
        ClientMessage.__init__(self)

        self.put_int(status)
Пример #4
0
    def __init__(self, username, password):
        ClientMessage.__init__(self)

        self.put_string(username)
        self.put_string(password)
Пример #5
0
    def __init__(self, key):
        ClientMessage.__init__(self)

        self.put_string(key)
Пример #6
0
    def __init__(self, key, target, source):
        ClientMessage.__init__(self)

        self.put_string(key)
        self.put_object(target)
        self.put_object(source)