VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)