MAK RTIspy API Documentation for HLA 1516
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions
DtRtiExecHandshakeMsg Class Reference
+ Inheritance diagram for DtRtiExecHandshakeMsg:
+ Collaboration diagram for DtRtiExecHandshakeMsg:

List of all members.

Public Types

enum  DtHandshakeStatus { HsRequest = 0, HsResponseGranted, HsResponseDenied }

Public Member Functions

 DtRtiExecHandshakeMsg (DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER)
 Constructor.
 DtRtiExecHandshakeMsg (const DtNetExecHandshakeMsg *netRep, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER)
 Constructor.
 DtRtiExecHandshakeMsg (DtHandle srcHandle, DtHandle destHandle, DtHandshakeStatus hsStatus, MAKRti::DtString sourceHostName, bool fullyCompliant, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER)
 Constructor.
virtual ~DtRtiExecHandshakeMsg ()
 Destructor.
virtual DtRtiMsgclone (bool copy=true) const
 Return a copy/empty object of the same type as this.
virtual void set (DtHandle srcHandle, DtHandle destHandle, DtHandshakeStatus hsStatus, MAKRti::DtString sourceHost, bool fullyCompliant)
 Set all fields simultaneously.
virtual DtHandle srcConnectionHandle () const
 Set/get Source connection handle.
virtual void setSrcConnectionHandle (DtHandle handle)
virtual DtHandle destConnectionHandle () const
 Set/get Destination connection handle.
virtual void setDestConnectionHandle (DtHandle handle)
virtual MAKRti::DtString sourceHostName () const
virtual DtHandshakeStatus handshakeStatus () const
 Set/get handshake status field.
virtual void setHandshakeStatus (DtHandshakeStatus hsStatus)
virtual bool fullyCompliant () const
 Set/get fully compliant setting.
virtual void setFullyCompliant (bool fullComplianceEnabled)
virtual void printData (DtLogicalTimeFactory *logicalTimeFactory) const
 Print the data section.

Static Public Member Functions

static DtRtiMsgcreate (const DtNetMsgHeader *initial, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER)
 Creator.
static DtRtiMsgcreate (DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER)
static void addCallback (DtConnectionMgr *conn, DtRtiExecHsCb cb, void *usr, bool isMomCallback=false)
 Callback management.
static void removeCallback (DtConnectionMgr *conn, DtRtiExecHsCb cb, void *usr, bool isMomCallback=false)

Protected Member Functions

virtual DtNetExecHandshakeMsgnetExecHandshakeMsg ()
 The network representation.
virtual const
DtNetExecHandshakeMsg
netExecHandshakeMsg () const
virtual char * sourceHostNamePtr ()
virtual const char * sourceHostNamePtr () const
virtual int sourceHostNameSize () const
virtual void setSourceHostName (const MAKRti::DtString &hostName)
virtual DtRtiMsgKind internalDtRtiMsgKind ()
 Returns the kind of an Connect Msg.
virtual int minSize () const
 Returns minimum size of a message, including header.
virtual DtRtiExecHandshakeMsgself () const
 Casts away const-ness.

Member Enumeration Documentation

Enumerator:
HsRequest 
HsResponseGranted 
HsResponseDenied 

Constructor & Destructor Documentation

DtRtiExecHandshakeMsg::DtRtiExecHandshakeMsg ( DtBufferPtr  buffer = DtUSE_INTERNAL_BUFFER)

Constructor.

References DtRtiMsg::initDtRtiMsg(), internalDtRtiMsgKind(), and minSize().

Referenced by clone(), and create().

DtRtiExecHandshakeMsg::DtRtiExecHandshakeMsg ( const DtNetExecHandshakeMsg netRep,
DtBufferPtr  buffer = DtUSE_INTERNAL_BUFFER 
)
DtRtiExecHandshakeMsg::DtRtiExecHandshakeMsg ( DtHandle  srcHandle,
DtHandle  destHandle,
DtHandshakeStatus  hsStatus,
MAKRti::DtString  sourceHostName,
bool  fullyCompliant,
DtBufferPtr  buffer = DtUSE_INTERNAL_BUFFER 
)

Destructor.


Member Function Documentation

void DtRtiExecHandshakeMsg::addCallback ( DtConnectionMgr conn,
DtRtiExecHsCb  cb,
void *  usr,
bool  isMomCallback = false 
) [static]

Callback management.

References DtConnectionMgr::addMsgCallback(), and DtRtiExecHandshakeMsgKind.

Referenced by DtRtiExec::DtRtiExec().

DtRtiMsg * DtRtiExecHandshakeMsg::clone ( bool  copy = true) const [virtual]

Return a copy/empty object of the same type as this.

Implements DtRtiMsg.

References DtRtiExecHandshakeMsg(), and netExecHandshakeMsg().

DtRtiMsg * DtRtiExecHandshakeMsg::create ( const DtNetMsgHeader initial,
DtBufferPtr  buffer = DtUSE_INTERNAL_BUFFER 
) [static]

Creator.

References DtRtiExecHandshakeMsg().

DtRtiMsg * DtRtiExecHandshakeMsg::create ( DtBufferPtr  buffer = DtUSE_INTERNAL_BUFFER) [static]

Returns the kind of an Connect Msg.

Implements DtRtiMsg.

References DtRtiExecHandshakeMsgKind.

Referenced by DtRtiExecHandshakeMsg().

int DtRtiExecHandshakeMsg::minSize ( ) const [protected, virtual]

Returns minimum size of a message, including header.

Referenced by DtRtiExecHandshakeMsg().

const DtNetExecHandshakeMsg * DtRtiExecHandshakeMsg::netExecHandshakeMsg ( ) const [protected, virtual]
void DtRtiExecHandshakeMsg::printData ( DtLogicalTimeFactory logicalTimeFactory) const [virtual]
void DtRtiExecHandshakeMsg::removeCallback ( DtConnectionMgr conn,
DtRtiExecHsCb  cb,
void *  usr,
bool  isMomCallback = false 
) [static]
DtRtiExecHandshakeMsg * DtRtiExecHandshakeMsg::self ( ) const [inline, protected, virtual]

Casts away const-ness.

void DtRtiExecHandshakeMsg::set ( DtHandle  srcHandle,
DtHandle  destHandle,
DtHandshakeStatus  hsStatus,
MAKRti::DtString  sourceHost,
bool  fullyCompliant 
) [virtual]
void DtRtiExecHandshakeMsg::setFullyCompliant ( bool  fullComplianceEnabled) [virtual]
void DtRtiExecHandshakeMsg::setSourceHostName ( const MAKRti::DtString &  hostName) [protected, virtual]
MAKRti::DtString DtRtiExecHandshakeMsg::sourceHostName ( ) const [virtual]
char * DtRtiExecHandshakeMsg::sourceHostNamePtr ( ) [protected, virtual]
const char * DtRtiExecHandshakeMsg::sourceHostNamePtr ( ) const [protected, virtual]

References netExecHandshakeMsg().

int DtRtiExecHandshakeMsg::sourceHostNameSize ( ) const [protected, virtual]

The documentation for this class was generated from the following files:

Document ID: Generated on Thu Jun 14 14:15:04 EDT 2012 from SVN revision 116116
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)