next up previous contents
: Notification from servers : Session Management : OpenXM reset protocol   Ìܼ¡

Control message (SMObject/TCPIP/Control)

  1. SM_control_reset_connection
    

    It requests a control server to send SIGUSR1 to the engine. The control server should immediately reply an acknowledgment to the client.

    Request:
    int32 OX_COMMAND int32 SM_control_reset_connection
    Result:
    int32 OX_DATA CMO_INT32 result

  2. SM_control_kill
    

    It requests a control server to terminate the engine and the control server itself. All files and streams should be closed before the termination of servers.

    Request:
    int32 OX_COMMAND int32 SM_control_kill

    Result: none.

Example: (serial numbers are omitted.)

0  0 2 01 (OX_COMMAND) 
0  0 4 06 (SM_control_reset_connection)

Reply to the reset request

0  0 2 02 (OX_DATA)
0  0 0  2 (CMO_INT32)
0  0 0  0 (  0   )

OX_SYNC_BALL are exchanged on the data channel for synchronization.

0   0   2   03   (OX_SYNC_BALL)



Nobuki Takayama Heisei 17.2.10.