Apama 10.3.1 | Apama Capital Markets Foundation Documentation | Capital Markets Foundation | Market Data Management | Using low-level MDA interfaces | Stopping a session
 
Stopping a session
When a specific session is temporarily not of interest, an application can stop it as follows:
// Stop the session
sessionIFace.stopSession(sessionId,
onSessionStopSuccess,
onSessionStopFailure );
If you are no longer interested in the session, and will not require it for the rest of the lifetime of the application, deregister it from the list of available sessions. This will remove all information about that session from the Session Manager.
// Deregister the session
sessionIFace.deregisterSession(sessionId,
onSessionDeregisterSuccess,
onSessionDeregisterFailure );

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.