VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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.


Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)