The following table lists the methods an application uses to manage session control.

Table 1. Setting session methods
Method Description
startReceiveMessages procedure Starts receiving messages after creating a new session or after calling stopReceiveMessages procedure
stopReceiveMessages procedure Causes the SonicMQ Broker to stop delivering messages to the OpenEdge client
deleteSession procedure Closes a session and its underlying connection and deletes the session procedure
getConnectionID function Returns the AppServer connection ID