VR-Forces 4.2 Class Documentation
17.6 - VR-Forces Sessions

The session ID is sent inside of a data interaction along with a VR-Forces interface message.

When VR-Forces receives a data interaction, it first looks at this session ID. If it does not match the receiver's session ID, the message is discarded immediately. Otherwise, it is passed along for further processing. If a VR-Forces interface message does not have a session ID, the message is automatically processed. (Currently, only one message does not use the session ID - DtIfVrfObjectData. These interface messages contain VR-Forces-specific object information that is useful for all VR-Forces components to have.)

The default session ID is 1. A session ID of -1 indicates that all VR-Forces content messages should be processed, regardless of session ID. A user can set the session ID using the -i command line option.

You can specify use of a session ID programmatically using the function DtSimInterfaceContent::setUseSessionId(). This flag is set on a per message basis, not message type basis.

[<< Symbol Strings] [Home] [Top of Page] [The Entity Editor and OPD Editor Plug-in API >>]


Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)