com.apama.session
Event SessionKey


The SessionKey is a subset of the information in the SessionInfo object, and contains all the information necessary for applications to communicate with a specific Session.
Since:
CMF 2.0.1

Member summary
 integersessionId
 stringchannelName
 booleaninternal
 contextsourceCtx
 stringtransportName
 
Action summary
 stringgetChannelName()

Returns the Channel name that the session will use to communicate to an external source by.
 integergetSessionId()

Returns the SessionId for the session.
 contextgetSourceContext()

Returns the context that the datasource session is running in. NOTE: This is only required for datasource sessions that are internal to the correlator.
 stringgetTransportName()

Returns the Transport name for the session.
 booleanisInternal()

Returns a boolean indicating whether the session is internal or external to the correlator.
 
Member detail

channelName

            string channelName
        

internal

            boolean internal
        

sessionId

            integer sessionId
        

sourceCtx

            context sourceCtx
        

transportName

            string transportName
        

Action detail

getChannelName

            string getChannelName()
        
Returns the Channel name that the session will use to communicate to an external source by.
Returns:
The Channel name that the session will use to communicate to an external source by.

getSessionId

            integer getSessionId()
        
Returns the SessionId for the session.
Returns:
The SessionId for the session.

getSourceContext

            context getSourceContext()
        
Returns the context that the datasource session is running in. NOTE: This is only required for datasource sessions that are internal to the correlator.
Returns:
The context that the datasource session is running in.

getTransportName

            string getTransportName()
        
Returns the Transport name for the session.
Returns:
The Transport name for the session.

isInternal

            boolean isInternal()
        
Returns a boolean indicating whether the session is internal or external to the correlator.
Returns:
true if the session is internal to the correlator, false otherwise.