Apama 10.5 | Apama Capital Markets Foundation Documentation | Capital Markets Foundation | Session Management | Disconnecting from sessions
 
Disconnecting from sessions
To disconnect from a session, execute one of the following actions:
*SessionHandler.disconnect() disconnects the session handler from the session it is connected to. There is no notification of success. It is an error to try to disconnect before a successful connection.
*SessionHandler.disconnectCb() disconnects the session handler from the session it is connected to and invokes the specified callback upon successful disconnection. It is an error to try to disconnect before a successful connection.
Disconnecting from a session that is no longer needed (such as on system shutdown) is typically not required but is considered good practice.

Copyright © 2013-2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.