3.1 Server (Stub) Details
Built on DSLR, DSMN service (stub) resides in the remote device and processes the messages issued by the shell monitoring logic at the host (acting as DSMN client/proxy). The following figure illustrates the state transition diagram for DSMN.

Figure 2: State diagram for DSMN
The states for DSMN can be summarized as follows:
Start: The device established a remote session and the shell is ready to start on the host. The following event is processed in this state:
ShellIsActive
ShellRunning: The shell is up and running on the remote session. The following events are processed in this state:
Heartbeat
GetQWaveSinkInfo
ShellDisconnect
HB (heartbeat) timeout
Finish: The shell is closed. No event is processed in this state.