com.apama.session.dataview
Event SessionManagerDataView



Member summary
 wildcard stringdvName
 sequence<string>dvFieldNames
 sequence<string>dvFieldTypes
 dictionary<string, integer>dvFieldNameToIndex
 dictionary<integer, integer>sessionToDVItem
 dictionary<string, string>datastreamTypeToName
 com.apama.session.SessionManagerInterfacesessionManagerIface
 
Action summary
 voidaddSessionInfo(com.apama.session.SessionInfo sessionInfo)

Utility to add a new Session to the dataview.
 voidcreate(string dvName, string dvDisplayName, dictionary<string, string> datastreamTypeToName)

Create a dataview for all Session instances. This should only ever be called once e.g. (new SessionDataView).create() within an application per required dvName.
 sequence<string>DVFIELDNAMES()
 sequence<string>DVFIELDTYPES()
 voidremoveSession(integer sessionId)

Utility to delete an item in the Sessions dataview.
 voidsessionAdded(com.apama.session.SessionInfo sessionInfo)
 voidsessionManagerCreated(com.apama.session.SessionManagerInterface iface)
 voidsessionRemoved(com.apama.session.SessionInfo sessionInfo)
 voidsessionUpdated(com.apama.session.SessionInfo sessionInfo)
 voidupdateSessionCapabilities(integer sessionId, com.apama.session.SessionCapabilities sessionCapabilities)

Utility to update the capabilities of a Session.
 voidupdateSessionState(integer sessionId, boolean connected, boolean started)

Utility to update the state of a session.
 
Member detail

datastreamTypeToName

dictionary<string, string> datastreamTypeToName

dvFieldNames

sequence<string> dvFieldNames

dvFieldNameToIndex

dictionary<string, integer> dvFieldNameToIndex

dvFieldTypes

sequence<string> dvFieldTypes

dvName

wildcard string dvName

sessionManagerIface

com.apama.session.SessionManagerInterface sessionManagerIface

sessionToDVItem

dictionary<integer, integer> sessionToDVItem

Action detail

addSessionInfo

void addSessionInfo(com.apama.session.SessionInfo sessionInfo)
Utility to add a new Session to the dataview.
Parameters:
sessionInfo - The SessionInfo for the newly added Session.

create

void create(string dvName, string dvDisplayName, dictionary<string, string> datastreamTypeToName)
Create a dataview for all Session instances. This should only ever be called once e.g. (new SessionDataView).create() within an application per required dvName.
Parameters:
dvName - The dataview name to create.
dvDisplayName - The dataview display name to create.
datastreamTypeToName - Dictionary of datastream types to display names for the dataview to display.

DVFIELDNAMES

sequence<string> DVFIELDNAMES()

DVFIELDTYPES

sequence<string> DVFIELDTYPES()

removeSession

void removeSession(integer sessionId)
Utility to delete an item in the Sessions dataview.
Parameters:
sessionId

sessionAdded

void sessionAdded(com.apama.session.SessionInfo sessionInfo)
Parameters:
sessionInfo

sessionManagerCreated

void sessionManagerCreated(com.apama.session.SessionManagerInterface iface)
Parameters:
iface

sessionRemoved

void sessionRemoved(com.apama.session.SessionInfo sessionInfo)
Parameters:
sessionInfo

sessionUpdated

void sessionUpdated(com.apama.session.SessionInfo sessionInfo)
Parameters:
sessionInfo

updateSessionCapabilities

void updateSessionCapabilities(integer sessionId, com.apama.session.SessionCapabilities sessionCapabilities)
Utility to update the capabilities of a Session.
Parameters:
sessionId
sessionCapabilities

updateSessionState

void updateSessionState(integer sessionId, boolean connected, boolean started)
Utility to update the state of a session.
Parameters:
sessionId
connected
started