A DtSplitMessageHandle.
More...
Detailed Description
A DtSplitMessageHandle.
Created by DtVrfObjectMessage when content size exceeds packet buffer size.A split message handle is used by DtVrfObjectMessage when the content of a message is larger than the maximum packet buffer size in VR-Link. Instead of sending the actual content in the DtVrfObjectMessage, a network representation of DtSplitMessageHandle is sent instead. The original content is issued through DtVrfMessageInterface::sendSplitContent() and tracked according to the DtSplitMessageHandle. On the receiving end, a DtVrfObjectMessage with DtSplitMessageHandle content will be held until the split content is reassembled. Thereafter, the DtVrfObjectMessage will be processed normally.
Constructor & Destructor Documentation
| DtSplitMessageHandle::DtSplitMessageHandle |
( |
| ) |
|
| virtual DtSplitMessageHandle::~DtSplitMessageHandle |
( |
| ) |
|
|
virtual |
Member Function Documentation
Required override. Copies itself.
| virtual int DtSplitMessageHandle::netRepSize |
( |
| ) |
const |
|
virtual |
returns sizeof(DtNetSplitMessageHandle)
| virtual bool DtSplitMessageHandle::setFromNet |
( |
const char * |
networkBuffer, |
|
|
unsigned |
contentSize |
|
) |
| |
|
virtual |
| virtual bool DtSplitMessageHandle::setToNet |
( |
char * |
pBuffer | ) |
|
|
virtual |
| virtual void DtSplitMessageHandle::printDataToString |
( |
DtString & |
str | ) |
|
|
virtual |
| DtU32 DtSplitMessageHandle::fullMessageSize |
( |
| ) |
const |
|
inline |
accessors & mutators
Gives the size of the original message content.
References myFullMessageSize.
| void DtSplitMessageHandle::setFullMessageSize |
( |
DtU32 |
nSize | ) |
|
|
inline |
accessors & mutators
Gives the size of the original message content.
References myFullMessageSize.
| bool DtSplitMessageHandle::isSignalMessage |
( |
| ) |
const |
|
inline |
Indicates if the original message went out as a signal interaction.
References myIsSignalMessage.
| void DtSplitMessageHandle::setIsSignalMessage |
( |
bool |
bSignal | ) |
|
|
inline |
Indicates if the original message went out as a signal interaction.
References myIsSignalMessage.
| const DtSimulationAddress & DtSplitMessageHandle::messageSimulationId |
( |
| ) |
const |
|
inline |
| void DtSplitMessageHandle::setMessageSimulationId |
( |
const DtSimulationAddress & |
addr | ) |
|
|
inline |
| DtU16 DtSplitMessageHandle::messageNumber |
( |
| ) |
const |
|
inline |
| void DtSplitMessageHandle::setMessageNumber |
( |
DtU16 |
newNum | ) |
|
|
inline |
| DtU16 DtSplitMessageHandle::numberOfChunks |
( |
| ) |
const |
|
inline |
Gives the number of chunks to expect for the split up message.
References myNumberOfChunks.
| void DtSplitMessageHandle::setNumberOfChunks |
( |
DtU16 |
newNum | ) |
|
|
inline |
Gives the number of chunks to expect for the split up message.
References myNumberOfChunks.
Member Data Documentation
| DtSimulationAddress DtSplitMessageHandle::myMessageSimulationId |
|
protected |
/brief these combine to identify the original message by the simulation address of the issuing application, and a numeric ID assigned to that message. The message ID is used to reconstruct the original message on the receiving end.
Referenced by messageSimulationId(), and setMessageSimulationId().
| DtU16 DtSplitMessageHandle::myMessageNumber |
|
protected |
/brief these combine to identify the original message by the simulation address of the issuing application, and a numeric ID assigned to that message. The message ID is used to reconstruct the original message on the receiving end.
Referenced by messageNumber(), and setMessageNumber().
| bool DtSplitMessageHandle::myIsSignalMessage |
|
protected |
| DtU32 DtSplitMessageHandle::myFullMessageSize |
|
protected |
| DtU16 DtSplitMessageHandle::myNumberOfChunks |
|
protected |
The documentation for this class was generated from the following file:
- /exports/nfedora7-1/nightly/docs/vrforcesDevelopment.vrf4-4-branch/include/vrfmsgs/splitMessageHandle.h