コード例 #1
0
ファイル: __init__.py プロジェクト: dsoprea/RelayServer
def build_msg_cmd_connopen(assigned_hp_session):

    command = Command()
    command.version = 1
    command.message_type = Command.CONNECTION_OPEN
    command.open_properties.assigned_to_session = assigned_hp_session

    return command
コード例 #2
0
def build_msg_cmd_connopen(assigned_hp_session):
        
    command = Command()
    command.version = 1
    command.message_type = Command.CONNECTION_OPEN
    command.open_properties.assigned_to_session = assigned_hp_session

    return command
コード例 #3
0
ファイル: __init__.py プロジェクト: dsoprea/RelayServer
def build_msg_cmd_conndrop(assigned_hp_session):

    command = Command()
    command.version = 1
    command.message_type = Command.CONNECTION_DROP
    command.drop_properties.session_id = assigned_hp_session

    return command
コード例 #4
0
def build_msg_cmd_conndrop(assigned_hp_session):
                
    command = Command()
    command.version = 1
    command.message_type = Command.CONNECTION_DROP
    command.drop_properties.session_id = assigned_hp_session
    
    return command