NetworkMessage Class Reference

NetworkMessage is the base class used for modelling message exchanged between RTIG and RTIA. More...

#include <NetworkMessage.hh>

Inherits BasicMessage.

Inherited by NM_Announce_Synchronization_Point, NM_Change_Attribute_Order_Type, NM_Change_Attribute_Transport_Type, NM_Change_Interaction_Order_Type, NM_Change_Interaction_Transport_Type, NM_Close_Connexion, NM_Create_Federation_Execution, NM_Destroy_Federation_Execution, NM_Federate_Restore_Complete, NM_Federate_Restore_Not_Complete, NM_Federate_Save_Begun, NM_Federate_Save_Complete, NM_Federate_Save_Not_Complete, NM_Federation_Not_Restored, NM_Federation_Not_Saved, NM_Federation_Restore_Begun, NM_Federation_Restored, NM_Federation_Saved, NM_Federation_Synchronized, NM_Get_FED_File, NM_Initiate_Federate_Restore, NM_Initiate_Federate_Save, NM_Is_Attribute_Owned_By_Federate, NM_Join_Federation_Execution, NM_Last, NM_Message_Null, NM_Not_Used, NM_Publish_Interaction_Class, NM_Register_Object, NM_Request_Class_Attribute_Value_Update, NM_Request_Federation_Restore, NM_Request_Federation_Restore_Failed, NM_Request_Federation_Restore_Succeeded, NM_Request_Federation_Save, NM_Resign_Federation_Execution, NM_Set_Attribute_Relevance_Advisory_Switch, NM_Set_Attribute_Scope_Advisory_Switch, NM_Set_Class_Relevance_Advisory_Switch, NM_Set_Interaction_Relevance_Advisory_Switch, NM_Set_Time_Constrained, NM_Set_Time_Regulating, NM_Start_Registration_For_Object_Class, NM_Stop_Registration_For_Object_Class, NM_Synchronization_Point_Achieved, NM_Synchronization_Point_Registration_Succeeded, NM_Time_Constrained_Enabled, NM_Time_Regulation_Enabled, NM_Unpublish_Object_Class, and NM_WithHandleArray.

List of all members.

Public Types

enum  Type {
  NOT_USED = 0, CLOSE_CONNEXION, MESSAGE_NULL, CREATE_FEDERATION_EXECUTION,
  DESTROY_FEDERATION_EXECUTION, JOIN_FEDERATION_EXECUTION, RESIGN_FEDERATION_EXECUTION, SET_TIME_REGULATING,
  SET_TIME_CONSTRAINED, TIME_REGULATION_ENABLED, TIME_CONSTRAINED_ENABLED, REGISTER_FEDERATION_SYNCHRONIZATION_POINT,
  SYNCHRONIZATION_POINT_REGISTRATION_SUCCEEDED, ANNOUNCE_SYNCHRONIZATION_POINT, SYNCHRONIZATION_POINT_ACHIEVED, FEDERATION_SYNCHRONIZED,
  REQUEST_FEDERATION_SAVE, FEDERATE_SAVE_BEGUN, FEDERATE_SAVE_COMPLETE, FEDERATE_SAVE_NOT_COMPLETE,
  INITIATE_FEDERATE_SAVE, FEDERATION_SAVED, FEDERATION_NOT_SAVED, REQUEST_FEDERATION_RESTORE,
  FEDERATE_RESTORE_COMPLETE, FEDERATE_RESTORE_NOT_COMPLETE, REQUEST_FEDERATION_RESTORE_SUCCEEDED, REQUEST_FEDERATION_RESTORE_FAILED,
  FEDERATION_RESTORE_BEGUN, INITIATE_FEDERATE_RESTORE, FEDERATION_RESTORED, FEDERATION_NOT_RESTORED,
  PUBLISH_OBJECT_CLASS, UNPUBLISH_OBJECT_CLASS, PUBLISH_INTERACTION_CLASS, UNPUBLISH_INTERACTION_CLASS,
  SUBSCRIBE_OBJECT_CLASS, UNSUBSCRIBE_OBJECT_CLASS, SUBSCRIBE_INTERACTION_CLASS, UNSUBSCRIBE_INTERACTION_CLASS,
  TURN_INTERACTIONS_ON, TURN_INTERACTIONS_OFF, REGISTER_OBJECT, DISCOVER_OBJECT,
  UPDATE_ATTRIBUTE_VALUES, REFLECT_ATTRIBUTE_VALUES, SEND_INTERACTION, RECEIVE_INTERACTION,
  DELETE_OBJECT, REMOVE_OBJECT, CHANGE_ATTRIBUTE_TRANSPORT_TYPE, CHANGE_ATTRIBUTE_ORDER_TYPE,
  CHANGE_INTERACTION_TRANSPORT_TYPE, CHANGE_INTERACTION_ORDER_TYPE, REQUEST_CLASS_ATTRIBUTE_VALUE_UPDATE, REQUEST_OBJECT_ATTRIBUTE_VALUE_UPDATE,
  IS_ATTRIBUTE_OWNED_BY_FEDERATE, QUERY_ATTRIBUTE_OWNERSHIP, ATTRIBUTE_IS_NOT_OWNED, INFORM_ATTRIBUTE_OWNERSHIP,
  NEGOTIATED_ATTRIBUTE_OWNERSHIP_DIVESTITURE, ATTRIBUTE_OWNERSHIP_ACQUISITION_NOTIFICATION, ATTRIBUTE_OWNERSHIP_DIVESTITURE_NOTIFICATION, REQUEST_ATTRIBUTE_OWNERSHIP_ASSUMPTION,
  ATTRIBUTE_OWNERSHIP_UNAVAILABLE, ATTRIBUTE_OWNERSHIP_ACQUISITION_IF_AVAILABLE, UNCONDITIONAL_ATTRIBUTE_OWNERSHIP_DIVESTITURE, ATTRIBUTE_OWNERSHIP_ACQUISITION,
  REQUEST_ATTRIBUTE_OWNERSHIP_RELEASE, CANCEL_NEGOTIATED_ATTRIBUTE_OWNERSHIP_DIVESTITURE, ATTRIBUTE_OWNERSHIP_RELEASE_RESPONSE, CANCEL_ATTRIBUTE_OWNERSHIP_ACQUISITION,
  CONFIRM_ATTRIBUTE_OWNERSHIP_ACQUISITION_CANCELLATION, DDM_CREATE_REGION, DDM_MODIFY_REGION, DDM_DELETE_REGION,
  DDM_ASSOCIATE_REGION, DDM_REGISTER_OBJECT, DDM_UNASSOCIATE_REGION, DDM_SUBSCRIBE_ATTRIBUTES,
  DDM_UNSUBSCRIBE_ATTRIBUTES, DDM_SUBSCRIBE_INTERACTION, DDM_UNSUBSCRIBE_INTERACTION, PROVIDE_ATTRIBUTE_VALUE_UPDATE,
  GET_FED_FILE, SET_CLASS_RELEVANCE_ADVISORY_SWITCH, SET_INTERACTION_RELEVANCE_ADVISORY_SWITCH, SET_ATTRIBUTE_RELEVANCE_ADVISORY_SWITCH,
  SET_ATTRIBUTE_SCOPE_ADVISORY_SWITCH, START_REGISTRATION_FOR_OBJECT_CLASS, STOP_REGISTRATION_FOR_OBJECT_CLASS, LAST
}
typedef enum
certi::NetworkMessage::Type 
Message_T

Public Member Functions

 NetworkMessage ()
virtual ~NetworkMessage ()
const NetworkMessage::Message_T getType () const
const TypeException getException () const
virtual void serialize (MessageBuffer &msgBuffer)
 Serialize the message into a buffer.
virtual void deserialize (MessageBuffer &msgBuffer)
 DeSerialize the message from a buffer.
void send (Socket *socket, MessageBuffer &msgBuffer) throw (NetworkError, NetworkSignal)
void receive (Socket *socket, MessageBuffer &msgBuffer) throw (NetworkError, NetworkSignal)
void removeParameter (UShort Rank)
void removeAttribute (UShort Rank)
std::vector< AttributeValue_tgetAttribValueArray ()
std::vector< ParameterValue_tgetParamValueArray ()
void setAHS (const std::vector< AttributeHandle > &, int)
void displayValueArray (char *)
bool isDated ()
 Indicate if the message is dated/timestamped or not.
void setDate (FederationTime new_date)
 If ones set Date then this is a Dated message Message builder which setDate will generate a Dated message.
const FederationTime getDate () const
bool isLabelled ()
 Indicate if the message is Labelled or not.
void setLabel (const std::string new_label)
void setLabel (const char *new_label)
const std::string getLabel () const
bool isTagged ()
 Indicate if the message is Tagged or not.
void setTag (const std::string new_tag)
void setTag (const char *new_tag)
const std::string getTag () const
void sizeValueArray (int size)
const std::string getName () const
 The name corresponding to message type.

Public Attributes

UShort number
std::string federationName
std::string federateName
std::string FEDid
int bestEffortPeer
unsigned long bestEffortAddress
int numberOfRegulators
SpaceHandle space
int32_t nbExtents
int32_t region
ObjectHandle object
ObjectClassHandle objectClass
InteractionClassHandle interactionClass
unsigned long multicastAddress
ObjectHandlecount idCount
ObjectHandle firstId
ObjectHandle lastId
EventRetractionHandle eventRetraction
UShort handleArraySize
std::vector< AttributeHandlehandleArray
std::vector< AttributeValue_tvalueArray
TransportType transport
OrderType order
Handle federation
 The exception type if the message is carrying an exception.
FederateHandle federate
 The federate handle the message is for this particular federate.
std::string exceptionReason
 The exception reason (if the message carry one).
int32_t attribute

Protected Attributes

std::string name
 The message name.
Message_T type
 The network message type type field cannot be accessed directly
  • only NM constructor may set it.


Private Attributes

FederationTime date
 The date of message if it is dated.
bool _isDated
 True is the message is dated When a message is dated the date is transmitted over the network, when not dated the date is not sent.
std::string label
 The label of message if it is labelled.
bool _isLabelled
 True is the message contains a label When a message is labelled the label is transmitted over the network, when not labelled the label is not sent.
std::string tag
 The tag of message if it is tagged.
bool _isTagged
 True is the message contains a tag When a message is tagged the tag is transmitted over the network, when not tagged the tag is not sent.


Detailed Description

NetworkMessage is the base class used for modelling message exchanged between RTIG and RTIA.

NetworkMessage is the base class of a class hierarchy. Each specific message is a (direct of indirect) daughter class of NetworkMessage.

Definition at line 52 of file NetworkMessage.hh.


Member Typedef Documentation


Member Enumeration Documentation

enum Type

Enumerator:
NOT_USED 
CLOSE_CONNEXION 
MESSAGE_NULL 
CREATE_FEDERATION_EXECUTION 
DESTROY_FEDERATION_EXECUTION 
JOIN_FEDERATION_EXECUTION 
RESIGN_FEDERATION_EXECUTION 
SET_TIME_REGULATING 
SET_TIME_CONSTRAINED 
TIME_REGULATION_ENABLED 
TIME_CONSTRAINED_ENABLED 
REGISTER_FEDERATION_SYNCHRONIZATION_POINT 
SYNCHRONIZATION_POINT_REGISTRATION_SUCCEEDED 
ANNOUNCE_SYNCHRONIZATION_POINT 
SYNCHRONIZATION_POINT_ACHIEVED 
FEDERATION_SYNCHRONIZED 
REQUEST_FEDERATION_SAVE 
FEDERATE_SAVE_BEGUN 
FEDERATE_SAVE_COMPLETE 
FEDERATE_SAVE_NOT_COMPLETE 
INITIATE_FEDERATE_SAVE 
FEDERATION_SAVED 
FEDERATION_NOT_SAVED 
REQUEST_FEDERATION_RESTORE 
FEDERATE_RESTORE_COMPLETE 
FEDERATE_RESTORE_NOT_COMPLETE 
REQUEST_FEDERATION_RESTORE_SUCCEEDED 
REQUEST_FEDERATION_RESTORE_FAILED 
FEDERATION_RESTORE_BEGUN 
INITIATE_FEDERATE_RESTORE 
FEDERATION_RESTORED 
FEDERATION_NOT_RESTORED 
PUBLISH_OBJECT_CLASS 
UNPUBLISH_OBJECT_CLASS 
PUBLISH_INTERACTION_CLASS 
UNPUBLISH_INTERACTION_CLASS 
SUBSCRIBE_OBJECT_CLASS 
UNSUBSCRIBE_OBJECT_CLASS 
SUBSCRIBE_INTERACTION_CLASS 
UNSUBSCRIBE_INTERACTION_CLASS 
TURN_INTERACTIONS_ON 
TURN_INTERACTIONS_OFF 
REGISTER_OBJECT 
DISCOVER_OBJECT 
UPDATE_ATTRIBUTE_VALUES 
REFLECT_ATTRIBUTE_VALUES 
SEND_INTERACTION 
RECEIVE_INTERACTION 
DELETE_OBJECT 
REMOVE_OBJECT 
CHANGE_ATTRIBUTE_TRANSPORT_TYPE 
CHANGE_ATTRIBUTE_ORDER_TYPE 
CHANGE_INTERACTION_TRANSPORT_TYPE 
CHANGE_INTERACTION_ORDER_TYPE 
REQUEST_CLASS_ATTRIBUTE_VALUE_UPDATE 
REQUEST_OBJECT_ATTRIBUTE_VALUE_UPDATE 
IS_ATTRIBUTE_OWNED_BY_FEDERATE 
QUERY_ATTRIBUTE_OWNERSHIP 
ATTRIBUTE_IS_NOT_OWNED 
INFORM_ATTRIBUTE_OWNERSHIP 
NEGOTIATED_ATTRIBUTE_OWNERSHIP_DIVESTITURE 
ATTRIBUTE_OWNERSHIP_ACQUISITION_NOTIFICATION 
ATTRIBUTE_OWNERSHIP_DIVESTITURE_NOTIFICATION 
REQUEST_ATTRIBUTE_OWNERSHIP_ASSUMPTION 
ATTRIBUTE_OWNERSHIP_UNAVAILABLE 
ATTRIBUTE_OWNERSHIP_ACQUISITION_IF_AVAILABLE 
UNCONDITIONAL_ATTRIBUTE_OWNERSHIP_DIVESTITURE 
ATTRIBUTE_OWNERSHIP_ACQUISITION 
REQUEST_ATTRIBUTE_OWNERSHIP_RELEASE 
CANCEL_NEGOTIATED_ATTRIBUTE_OWNERSHIP_DIVESTITURE 
ATTRIBUTE_OWNERSHIP_RELEASE_RESPONSE 
CANCEL_ATTRIBUTE_OWNERSHIP_ACQUISITION 
CONFIRM_ATTRIBUTE_OWNERSHIP_ACQUISITION_CANCELLATION 
DDM_CREATE_REGION 
DDM_MODIFY_REGION 
DDM_DELETE_REGION 
DDM_ASSOCIATE_REGION 
DDM_REGISTER_OBJECT 
DDM_UNASSOCIATE_REGION 
DDM_SUBSCRIBE_ATTRIBUTES 
DDM_UNSUBSCRIBE_ATTRIBUTES 
DDM_SUBSCRIBE_INTERACTION 
DDM_UNSUBSCRIBE_INTERACTION 
PROVIDE_ATTRIBUTE_VALUE_UPDATE 
GET_FED_FILE 
SET_CLASS_RELEVANCE_ADVISORY_SWITCH 
SET_INTERACTION_RELEVANCE_ADVISORY_SWITCH 
SET_ATTRIBUTE_RELEVANCE_ADVISORY_SWITCH 
SET_ATTRIBUTE_SCOPE_ADVISORY_SWITCH 
START_REGISTRATION_FOR_OBJECT_CLASS 
STOP_REGISTRATION_FOR_OBJECT_CLASS 
LAST 

Definition at line 56 of file NetworkMessage.hh.


Constructor & Destructor Documentation

NetworkMessage (  ) 

~NetworkMessage (  )  [virtual]

Definition at line 74 of file NetworkMessage.cc.


Member Function Documentation

const NetworkMessage::Message_T getType (  )  const [inline]

const TypeException getException (  )  const [inline]

Definition at line 155 of file NetworkMessage.hh.

void serialize ( MessageBuffer msgBuffer  )  [virtual]

Serialize the message into a buffer.

Reimplemented from BasicMessage.

Reimplemented in NM_WithHandleArray, NM_DDM_Base, NM_Create_Federation_Execution, NM_Destroy_Federation_Execution, NM_Join_Federation_Execution, NM_Set_Time_Regulating, NM_Set_Time_Constrained, NM_Start_Registration_For_Object_Class, NM_Stop_Registration_For_Object_Class, NM_Set_Class_Relevance_Advisory_Switch, NM_Set_Interaction_Relevance_Advisory_Switch, NM_Set_Attribute_Relevance_Advisory_Switch, NM_Set_Attribute_Scope_Advisory_Switch, NM_Register_Federation_Synchronization_Point, NM_Publish_Object_Class, NM_Unpublish_Object_Class, NM_Publish_Interaction_Class, NM_Subscribe_Object_Class, NM_Register_Object, NM_Update_Attribute_Values, NM_Send_Interaction, NM_Change_Attribute_Transport_Type, NM_Change_Attribute_Order_Type, NM_Change_Interaction_Transport_Type, NM_Change_Interaction_Order_Type, NM_Request_Class_Attribute_Value_Update, NM_Request_Object_Attribute_Value_Update, NM_Is_Attribute_Owned_By_Federate, NM_DDM_Create_Region, NM_DDM_Modify_Region, NM_DDM_Delete_Region, NM_DDM_Associate_Region, NM_DDM_Register_Object, NM_DDM_Unassociate_Region, NM_DDM_Subscribe_Attributes, NM_DDM_Unsubscribe_Attributes, NM_DDM_Subscribe_Interaction, and NM_Get_FED_File.

Definition at line 35 of file NetworkMessage_RW.cc.

References NetworkMessage::_isDated, NetworkMessage::_isLabelled, NetworkMessage::_isTagged, certi::D, NetworkMessage::date, NetworkMessage::federate, NetworkMessage::federation, certi::G, NetworkMessage::getName(), FedTime::getTime(), NetworkMessage::label, NetworkMessage::LAST, NetworkMessage::NOT_USED, PrettyDebug::Out(), pdDebug, pdGendoc, NetworkMessage::tag, NetworkMessage::type, MessageBuffer::write_bool(), and MessageBuffer::write_string().

Referenced by NetworkMessage::send(), NM_Get_FED_File::serialize(), NM_DDM_Subscribe_Interaction::serialize(), NM_DDM_Unsubscribe_Attributes::serialize(), NM_DDM_Unassociate_Region::serialize(), NM_DDM_Delete_Region::serialize(), NM_DDM_Modify_Region::serialize(), NM_DDM_Create_Region::serialize(), NM_Is_Attribute_Owned_By_Federate::serialize(), NM_Request_Class_Attribute_Value_Update::serialize(), NM_Change_Interaction_Order_Type::serialize(), NM_Change_Interaction_Transport_Type::serialize(), NM_Change_Attribute_Order_Type::serialize(), NM_Change_Attribute_Transport_Type::serialize(), NM_Register_Object::serialize(), NM_Publish_Interaction_Class::serialize(), NM_Unpublish_Object_Class::serialize(), NM_Set_Attribute_Scope_Advisory_Switch::serialize(), NM_Set_Attribute_Relevance_Advisory_Switch::serialize(), NM_Set_Interaction_Relevance_Advisory_Switch::serialize(), NM_Set_Class_Relevance_Advisory_Switch::serialize(), NM_Stop_Registration_For_Object_Class::serialize(), NM_Start_Registration_For_Object_Class::serialize(), NM_Set_Time_Constrained::serialize(), NM_Set_Time_Regulating::serialize(), NM_Join_Federation_Execution::serialize(), NM_Destroy_Federation_Execution::serialize(), NM_Create_Federation_Execution::serialize(), and NM_WithHandleArray::serialize().

Here is the call graph for this function:

void deserialize ( MessageBuffer msgBuffer  )  [virtual]

DeSerialize the message from a buffer.

Reimplemented from BasicMessage.

Reimplemented in NM_WithHandleArray, NM_DDM_Base, NM_Create_Federation_Execution, NM_Destroy_Federation_Execution, NM_Join_Federation_Execution, NM_Set_Time_Regulating, NM_Set_Time_Constrained, NM_Start_Registration_For_Object_Class, NM_Stop_Registration_For_Object_Class, NM_Set_Class_Relevance_Advisory_Switch, NM_Set_Interaction_Relevance_Advisory_Switch, NM_Set_Attribute_Relevance_Advisory_Switch, NM_Set_Attribute_Scope_Advisory_Switch, NM_Register_Federation_Synchronization_Point, NM_Publish_Object_Class, NM_Unpublish_Object_Class, NM_Publish_Interaction_Class, NM_Subscribe_Object_Class, NM_Register_Object, NM_Update_Attribute_Values, NM_Send_Interaction, NM_Change_Attribute_Transport_Type, NM_Change_Attribute_Order_Type, NM_Change_Interaction_Transport_Type, NM_Change_Interaction_Order_Type, NM_Request_Class_Attribute_Value_Update, NM_Request_Object_Attribute_Value_Update, NM_Is_Attribute_Owned_By_Federate, NM_DDM_Create_Region, NM_DDM_Modify_Region, NM_DDM_Delete_Region, NM_DDM_Associate_Region, NM_DDM_Register_Object, NM_DDM_Unassociate_Region, NM_DDM_Subscribe_Attributes, NM_DDM_Unsubscribe_Attributes, NM_DDM_Subscribe_Interaction, and NM_Get_FED_File.

Definition at line 71 of file NetworkMessage_RW.cc.

References NetworkMessage::_isDated, NetworkMessage::_isLabelled, NetworkMessage::_isTagged, certi::D, NetworkMessage::date, NetworkMessage::federate, NetworkMessage::federation, certi::G, NetworkMessage::getName(), FedTime::getTime(), NetworkMessage::label, PrettyDebug::Out(), pdDebug, pdGendoc, MessageBuffer::read_bool(), MessageBuffer::read_string(), NetworkMessage::tag, and NetworkMessage::type.

Referenced by NM_Get_FED_File::deserialize(), NM_DDM_Subscribe_Interaction::deserialize(), NM_DDM_Unsubscribe_Attributes::deserialize(), NM_DDM_Unassociate_Region::deserialize(), NM_DDM_Delete_Region::deserialize(), NM_DDM_Modify_Region::deserialize(), NM_DDM_Create_Region::deserialize(), NM_Is_Attribute_Owned_By_Federate::deserialize(), NM_Request_Class_Attribute_Value_Update::deserialize(), NM_Change_Interaction_Order_Type::deserialize(), NM_Change_Interaction_Transport_Type::deserialize(), NM_Change_Attribute_Order_Type::deserialize(), NM_Change_Attribute_Transport_Type::deserialize(), NM_Register_Object::deserialize(), NM_Publish_Interaction_Class::deserialize(), NM_Unpublish_Object_Class::deserialize(), NM_Set_Attribute_Scope_Advisory_Switch::deserialize(), NM_Set_Attribute_Relevance_Advisory_Switch::deserialize(), NM_Set_Interaction_Relevance_Advisory_Switch::deserialize(), NM_Set_Class_Relevance_Advisory_Switch::deserialize(), NM_Stop_Registration_For_Object_Class::deserialize(), NM_Start_Registration_For_Object_Class::deserialize(), NM_Set_Time_Constrained::deserialize(), NM_Set_Time_Regulating::deserialize(), NM_Join_Federation_Execution::deserialize(), NM_Destroy_Federation_Execution::deserialize(), NM_Create_Federation_Execution::deserialize(), NM_WithHandleArray::deserialize(), NM_Factory::receive(), and NetworkMessage::receive().

Here is the call graph for this function:

void send ( Socket socket,
MessageBuffer msgBuffer 
) throw (NetworkError, NetworkSignal)

Definition at line 105 of file NetworkMessage_RW.cc.

References certi::D, certi::G, NetworkMessage::getName(), PrettyDebug::Out(), pdDebug, pdGendoc, and NetworkMessage::serialize().

Referenced by Federation::add(), Federation::broadcastAnyMessage(), Federation::broadcastSomeMessage(), RTIG::processAcquisitionIfAvailable(), RTIG::processAssociateRegion(), RTIG::processAttributeOwnedByFederate(), RTIG::processCancelAcquisition(), RTIG::processCancelNegotiatedDivestiture(), RTIG::processCreateFederation(), RTIG::processCreateRegion(), RTIG::processDeleteObject(), RTIG::processDeleteRegion(), RTIG::processDestroyFederation(), RTIG::processJoinFederation(), RTIG::processModifyRegion(), RTIG::processNegotiatedOwnershipDivestiture(), RTIG::processOwnershipAcquisition(), RTIG::processQueryAttributeOwnership(), RTIG::processRegisterSynchronization(), RTIG::processReleaseResponse(), RTIG::processRequestObjectAttributeValueUpdate(), RTIG::processResignFederation(), RTIG::processSendInteraction(), RTIG::processSetAttributeRelevanceAdvisorySwitch(), RTIG::processSetAttributeScopeAdvisorySwitch(), RTIG::processSetClassRelevanceAdvisorySwitch(), RTIG::processSetInteractionRelevanceAdvisorySwitch(), RTIG::processSetTimeConstrained(), RTIG::processSetTimeRegulating(), RTIG::processSubscribeAttributesWR(), RTIG::processSubscribeInteractionWR(), RTIG::processUnassociateRegion(), RTIG::processUnconditionalDivestiture(), RTIG::processUnsubscribeAttributesWR(), RTIG::processUnsubscribeInteractionWR(), RTIG::processUpdateAttributeValues(), Federation::requestFederationRestore(), Federation::requestObjectOwner(), ObjectClass::sendDiscoverMessages(), Communications::sendMessage(), ObjectClassBroadcastList::sendPendingDOMessage(), InteractionBroadcastList::sendPendingMessage(), ObjectClassBroadcastList::sendPendingRAVMessage(), ObjectSet::sendToFederate(), ObjectClass::sendToFederate(), and Communications::~Communications().

Here is the call graph for this function:

void receive ( Socket socket,
MessageBuffer msgBuffer 
) throw (NetworkError, NetworkSignal)

Definition at line 129 of file NetworkMessage_RW.cc.

References certi::D, NetworkMessage::deserialize(), certi::G, PrettyDebug::Out(), pdDebug, and pdGendoc.

Referenced by RTIG::processJoinFederation(), and NM_Factory::receive().

Here is the call graph for this function:

void removeParameter ( UShort  Rank  ) 

void removeAttribute ( UShort  Rank  ) 

std::vector< AttributeValue_t > getAttribValueArray (  ) 

std::vector< ParameterValue_t > getParamValueArray (  ) 

void setAHS ( const std::vector< AttributeHandle > &  attr,
int  size 
)

void displayValueArray ( char *  titre  ) 

Definition at line 150 of file NetworkMessage.cc.

References NetworkMessage::valueArray.

bool isDated (  )  [inline]

void setDate ( FederationTime  new_date  )  [inline]

const FederationTime getDate (  )  const [inline]

bool isLabelled (  )  [inline]

Indicate if the message is Labelled or not.

Definition at line 232 of file NetworkMessage.hh.

Referenced by ObjectClassBroadcastList::adaptMessage().

void setLabel ( const std::string  new_label  )  [inline]

void setLabel ( const char *  new_label  )  [inline]

Definition at line 234 of file NetworkMessage.hh.

const std::string getLabel (  )  const [inline]

bool isTagged (  )  [inline]

Indicate if the message is Tagged or not.

Definition at line 240 of file NetworkMessage.hh.

Referenced by ObjectClassBroadcastList::adaptMessage().

void setTag ( const std::string  new_tag  )  [inline]

void setTag ( const char *  new_tag  )  [inline]

Definition at line 242 of file NetworkMessage.hh.

const std::string getTag (  )  const [inline]

void sizeValueArray ( int  size  ) 

const std::string getName (  )  const [inline]


Member Data Documentation

std::string federationName

std::string federateName

std::string FEDid

unsigned long bestEffortAddress

int32_t nbExtents

int32_t region

Definition at line 212 of file NetworkMessage.hh.

Referenced by ObjectClassBroadcastList::adaptMessage(), DataDistribution::associateRegion(), OwnershipManagement::attributeOwnedByFederate(), OwnershipManagement::attributeOwnershipAcquisition(), ObjectClass::attributeOwnershipAcquisition(), OwnershipManagement::attributeOwnershipAcquisitionIfAvailable(), ObjectClass::attributeOwnershipAcquisitionIfAvailable(), OwnershipManagement::attributeOwnershipRealeaseResponse(), OwnershipManagement::cancelattributeOwnershipAcquisition(), ObjectClass::cancelAttributeOwnershipAcquisition(), OwnershipManagement::cancelnegotiatedAttributeOwnershipDivestiture(), ObjectManagement::changeAttributeOrderType(), ObjectManagement::changeAttributeTransportType(), ObjectClass::deleteInstance(), ObjectManagement::deleteObject(), TimeManagement::executeFederateService(), OwnershipManagement::negotiatedAttributeOwnershipDivestiture(), ObjectClass::negotiatedAttributeOwnershipDivestiture(), RTIG::processAcquisitionIfAvailable(), RTIG::processAssociateRegion(), RTIG::processAttributeOwnedByFederate(), RTIG::processCancelAcquisition(), RTIG::processCancelNegotiatedDivestiture(), RTIG::processDeleteObject(), RTIG::processNegotiatedOwnershipDivestiture(), RTIG::processOwnershipAcquisition(), RTIG::processQueryAttributeOwnership(), RTIG::processReleaseResponse(), RTIG::processRequestObjectAttributeValueUpdate(), RTIG::processUnassociateRegion(), RTIG::processUnconditionalDivestiture(), RTIG::processUpdateAttributeValues(), OwnershipManagement::queryAttributeOwnership(), ObjectSet::queryAttributeOwnership(), ObjectClass::registerObjectInstance(), ObjectManagement::requestObjectAttributeValueUpdate(), Federation::requestObjectOwner(), ObjectClass::sendDiscoverMessages(), DataDistribution::unassociateRegion(), OwnershipManagement::unconditionalAttributeOwnershipDivestiture(), ObjectClass::unconditionalAttributeOwnershipDivestiture(), ObjectManagement::updateAttributeValues(), and ObjectClass::updateAttributeValues().

Definition at line 213 of file NetworkMessage.hh.

Referenced by ObjectClassBroadcastList::adaptMessage(), ObjectClass::broadcastClassMessage(), ObjectClass::deleteInstance(), NM_DDM_Unsubscribe_Attributes::deserialize(), NM_DDM_Subscribe_Attributes::deserialize(), NM_DDM_Register_Object::deserialize(), NM_Update_Attribute_Values::deserialize(), NM_Register_Object::deserialize(), NM_Subscribe_Object_Class::deserialize(), NM_Unpublish_Object_Class::deserialize(), NM_Publish_Object_Class::deserialize(), NM_Stop_Registration_For_Object_Class::deserialize(), NM_Start_Registration_For_Object_Class::deserialize(), TimeManagement::executeFederateService(), NetworkMessage::NetworkMessage(), NM_DDM_Base::NM_DDM_Base(), RTIA::processNetworkMessage(), RTIG::processPublishObjectClass(), RTIG::processRegisterObject(), RTIG::processRegisterObjectWithRegion(), RTIG::processSubscribeAttributesWR(), RTIG::processSubscribeObjectClass(), RTIG::processUnsubscribeAttributesWR(), DeclarationManagement::publishObjectClass(), ObjectManagement::registerObject(), DataDistribution::registerObject(), ObjectClass::registerObjectInstance(), ObjectClass::sendDiscoverMessages(), NM_DDM_Unsubscribe_Attributes::serialize(), NM_DDM_Subscribe_Attributes::serialize(), NM_DDM_Register_Object::serialize(), NM_Update_Attribute_Values::serialize(), NM_Register_Object::serialize(), NM_Subscribe_Object_Class::serialize(), NM_Unpublish_Object_Class::serialize(), NM_Publish_Object_Class::serialize(), NM_Stop_Registration_For_Object_Class::serialize(), NM_Start_Registration_For_Object_Class::serialize(), DataDistribution::subscribe(), DeclarationManagement::subscribeObjectClassAttribute(), DeclarationManagement::unpublishObjectClass(), DataDistribution::unsubscribeAttributes(), and DeclarationManagement::unsubscribeObjectClassAttribute().

unsigned long multicastAddress

Definition at line 247 of file NetworkMessage.hh.

Definition at line 248 of file NetworkMessage.hh.

Definition at line 249 of file NetworkMessage.hh.

Definition at line 251 of file NetworkMessage.hh.

Referenced by TimeManagement::executeFederateService().

Definition at line 254 of file NetworkMessage.hh.

Referenced by ObjectClassBroadcastList::adaptMessage(), OwnershipManagement::attributeOwnedByFederate(), OwnershipManagement::attributeOwnershipAcquisition(), ObjectClass::attributeOwnershipAcquisition(), OwnershipManagement::attributeOwnershipAcquisitionIfAvailable(), ObjectClass::attributeOwnershipAcquisitionIfAvailable(), OwnershipManagement::attributeOwnershipRealeaseResponse(), ObjectClass::broadcastClassMessage(), Interaction::broadcastInteractionMessage(), OwnershipManagement::cancelattributeOwnershipAcquisition(), ObjectClass::cancelAttributeOwnershipAcquisition(), OwnershipManagement::cancelnegotiatedAttributeOwnershipDivestiture(), ObjectManagement::changeAttributeOrderType(), NM_Send_Interaction::deserialize(), NM_Update_Attribute_Values::deserialize(), NM_WithHandleArray::deserialize(), TimeManagement::executeFederateService(), NetworkMessage::getAttribValueArray(), NetworkMessage::getParamValueArray(), OwnershipManagement::negotiatedAttributeOwnershipDivestiture(), ObjectClass::negotiatedAttributeOwnershipDivestiture(), NetworkMessage::NetworkMessage(), NM_WithHandleArray::NM_WithHandleArray(), RTIG::processAcquisitionIfAvailable(), RTIG::processAssociateRegion(), RTIG::processCancelAcquisition(), RTIG::processCancelNegotiatedDivestiture(), RTIG::processNegotiatedOwnershipDivestiture(), RTIA::processNetworkMessage(), RTIG::processOwnershipAcquisition(), RTIG::processPublishObjectClass(), RTIG::processRegisterObjectWithRegion(), RTIG::processRegisterSynchronization(), RTIG::processReleaseResponse(), RTIG::processRequestObjectAttributeValueUpdate(), RTIG::processSendInteraction(), RTIG::processSubscribeAttributesWR(), RTIG::processSubscribeObjectClass(), RTIG::processUnconditionalDivestiture(), RTIG::processUpdateAttributeValues(), DeclarationManagement::publishObjectClass(), OwnershipManagement::queryAttributeOwnership(), FederationManagement::registerSynchronization(), NetworkMessage::removeAttribute(), NetworkMessage::removeParameter(), ObjectManagement::requestObjectAttributeValueUpdate(), Federation::requestObjectOwner(), ObjectManagement::sendInteraction(), Interaction::sendInteraction(), ObjectClassBroadcastList::sendPendingRAVMessage(), NM_Send_Interaction::serialize(), NM_Update_Attribute_Values::serialize(), NM_WithHandleArray::serialize(), NetworkMessage::setAHS(), DeclarationManagement::subscribeObjectClassAttribute(), OwnershipManagement::unconditionalAttributeOwnershipDivestiture(), ObjectClass::unconditionalAttributeOwnershipDivestiture(), ObjectManagement::updateAttributeValues(), and ObjectClass::updateAttributeValues().

Definition at line 255 of file NetworkMessage.hh.

Referenced by ObjectClassBroadcastList::adaptMessage(), OwnershipManagement::attributeOwnedByFederate(), OwnershipManagement::attributeOwnershipAcquisition(), ObjectClass::attributeOwnershipAcquisition(), OwnershipManagement::attributeOwnershipAcquisitionIfAvailable(), ObjectClass::attributeOwnershipAcquisitionIfAvailable(), OwnershipManagement::attributeOwnershipRealeaseResponse(), ObjectClass::broadcastClassMessage(), Interaction::broadcastInteractionMessage(), OwnershipManagement::cancelattributeOwnershipAcquisition(), ObjectClass::cancelAttributeOwnershipAcquisition(), OwnershipManagement::cancelnegotiatedAttributeOwnershipDivestiture(), ObjectManagement::changeAttributeOrderType(), ObjectManagement::changeAttributeTransportType(), NM_WithHandleArray::deserialize(), TimeManagement::executeFederateService(), OwnershipManagement::negotiatedAttributeOwnershipDivestiture(), ObjectClass::negotiatedAttributeOwnershipDivestiture(), RTIG::processAcquisitionIfAvailable(), RTIG::processAssociateRegion(), RTIG::processAttributeOwnedByFederate(), RTIG::processCancelAcquisition(), RTIG::processCancelNegotiatedDivestiture(), RTIG::processNegotiatedOwnershipDivestiture(), RTIA::processNetworkMessage(), RTIG::processOwnershipAcquisition(), RTIG::processPublishObjectClass(), RTIG::processQueryAttributeOwnership(), RTIG::processRegisterObjectWithRegion(), RTIG::processRegisterSynchronization(), RTIG::processReleaseResponse(), RTIG::processRequestObjectAttributeValueUpdate(), RTIG::processSendInteraction(), RTIG::processSubscribeAttributesWR(), RTIG::processSubscribeObjectClass(), RTIG::processUnconditionalDivestiture(), RTIG::processUpdateAttributeValues(), DeclarationManagement::publishObjectClass(), OwnershipManagement::queryAttributeOwnership(), ObjectSet::queryAttributeOwnership(), FederationManagement::registerSynchronization(), NetworkMessage::removeAttribute(), NetworkMessage::removeParameter(), ObjectManagement::requestObjectAttributeValueUpdate(), Federation::requestObjectOwner(), ObjectManagement::sendInteraction(), Interaction::sendInteraction(), ObjectClassBroadcastList::sendPendingRAVMessage(), NM_WithHandleArray::serialize(), NetworkMessage::setAHS(), DeclarationManagement::subscribeObjectClassAttribute(), OwnershipManagement::unconditionalAttributeOwnershipDivestiture(), ObjectClass::unconditionalAttributeOwnershipDivestiture(), ObjectManagement::updateAttributeValues(), and ObjectClass::updateAttributeValues().

Handle federation [final]

The exception type if the message is carrying an exception.

The federation handle the message is part of this federation activity

Definition at line 268 of file NetworkMessage.hh.

Referenced by ObjectClassBroadcastList::adaptMessage(), Federation::add(), Federation::addRegulator(), DataDistribution::associateRegion(), OwnershipManagement::attributeOwnedByFederate(), OwnershipManagement::attributeOwnershipAcquisition(), ObjectClass::attributeOwnershipAcquisition(), OwnershipManagement::attributeOwnershipAcquisitionIfAvailable(), ObjectClass::attributeOwnershipAcquisitionIfAvailable(), OwnershipManagement::attributeOwnershipRealeaseResponse(), Federation::broadcastSynchronization(), OwnershipManagement::cancelattributeOwnershipAcquisition(), ObjectClass::cancelAttributeOwnershipAcquisition(), OwnershipManagement::cancelnegotiatedAttributeOwnershipDivestiture(), ObjectManagement::changeAttributeOrderType(), ObjectManagement::changeAttributeTransportType(), ObjectManagement::changeInteractionOrderType(), ObjectManagement::changeInteractionTransportType(), RTIG::chooseProcessingMethod(), DataDistribution::createRegion(), ObjectClass::deleteInstance(), ObjectManagement::deleteObject(), DataDistribution::deleteRegion(), NetworkMessage::deserialize(), FederationManagement::destroyFederationExecution(), FederationManagement::federateSaveBegun(), DataDistribution::modifyRegion(), OwnershipManagement::negotiatedAttributeOwnershipDivestiture(), ObjectClass::negotiatedAttributeOwnershipDivestiture(), NetworkMessage::NetworkMessage(), RTIG::processAcquisitionIfAvailable(), RTIG::processAssociateRegion(), RTIG::processAttributeOwnedByFederate(), RTIG::processCancelAcquisition(), RTIG::processCancelNegotiatedDivestiture(), RTIG::processCreateFederation(), RTIG::processCreateRegion(), RTIG::processDeleteObject(), RTIG::processDeleteRegion(), RTIG::processFederateRestoreStatus(), RTIG::processFederateSaveBegun(), RTIG::processFederateSaveStatus(), RTIG::processIncomingMessage(), RTIG::processJoinFederation(), RTIG::processMessageNull(), RTIG::processModifyRegion(), RTIG::processNegotiatedOwnershipDivestiture(), RTIG::processOwnershipAcquisition(), RTIG::processPublishInteractionClass(), RTIG::processPublishObjectClass(), RTIG::processQueryAttributeOwnership(), RTIG::processRegisterObject(), RTIG::processRegisterObjectWithRegion(), RTIG::processRegisterSynchronization(), RTIG::processReleaseResponse(), RTIG::processRequestFederationRestore(), RTIG::processRequestFederationSave(), RTIG::processRequestObjectAttributeValueUpdate(), RTIG::processResignFederation(), RTIG::processSendInteraction(), RTIG::processSetAttributeRelevanceAdvisorySwitch(), RTIG::processSetAttributeScopeAdvisorySwitch(), RTIG::processSetClassRelevanceAdvisorySwitch(), RTIG::processSetInteractionRelevanceAdvisorySwitch(), RTIG::processSetTimeConstrained(), RTIG::processSetTimeRegulating(), RTIG::processSubscribeAttributesWR(), RTIG::processSubscribeInteractionClass(), RTIG::processSubscribeInteractionWR(), RTIG::processSubscribeObjectClass(), RTIG::processSynchronizationAchieved(), RTIG::processUnassociateRegion(), RTIG::processUnconditionalDivestiture(), RTIG::processUnsubscribeAttributesWR(), RTIG::processUnsubscribeInteractionWR(), RTIG::processUpdateAttributeValues(), DeclarationManagement::publishInteractionClass(), DeclarationManagement::publishObjectClass(), OwnershipManagement::queryAttributeOwnership(), ObjectSet::queryAttributeOwnership(), ObjectManagement::registerObject(), DataDistribution::registerObject(), ObjectClass::registerObjectInstance(), FederationManagement::registerSynchronization(), Federation::removeRegulator(), FederationManagement::requestFederationRestore(), Federation::requestFederationRestore(), FederationManagement::requestFederationSave(), Federation::requestFederationSave(), ObjectManagement::requestObjectAttributeValueUpdate(), FederationManagement::resignFederationExecution(), ObjectClass::sendDiscoverMessages(), ObjectManagement::sendInteraction(), Interaction::sendInteraction(), TimeManagement::sendNullMessage(), NetworkMessage::serialize(), ObjectManagement::setAttributeRelevanceAdvisorySwitch(), ObjectManagement::setAttributeScopeAdvisorySwitch(), DeclarationManagement::setClassRelevanceAdvisorySwitch(), DeclarationManagement::setInteractionRelevanceAdvisorySwitch(), TimeManagement::setTimeConstrained(), TimeManagement::setTimeRegulating(), DataDistribution::subscribe(), DeclarationManagement::subscribeInteractionClass(), DeclarationManagement::subscribeObjectClassAttribute(), DataDistribution::unassociateRegion(), OwnershipManagement::unconditionalAttributeOwnershipDivestiture(), ObjectClass::unconditionalAttributeOwnershipDivestiture(), DeclarationManagement::unpublishInteractionClass(), DeclarationManagement::unpublishObjectClass(), FederationManagement::unregisterSynchronization(), Federation::unregisterSynchronization(), DataDistribution::unsubscribeAttributes(), DeclarationManagement::unsubscribeInteractionClass(), DeclarationManagement::unsubscribeObjectClassAttribute(), ObjectManagement::updateAttributeValues(), ObjectClass::updateAttributeValues(), and Federation::updateRegulator().

The federate handle the message is for this particular federate.

Definition at line 278 of file NetworkMessage.hh.

Referenced by ObjectClassBroadcastList::adaptMessage(), Federation::add(), Federation::addRegulator(), DataDistribution::associateRegion(), OwnershipManagement::attributeOwnedByFederate(), OwnershipManagement::attributeOwnershipAcquisition(), ObjectClass::attributeOwnershipAcquisition(), OwnershipManagement::attributeOwnershipAcquisitionIfAvailable(), ObjectClass::attributeOwnershipAcquisitionIfAvailable(), OwnershipManagement::attributeOwnershipRealeaseResponse(), ObjectClass::broadcastClassMessage(), Federation::broadcastSynchronization(), OwnershipManagement::cancelattributeOwnershipAcquisition(), ObjectClass::cancelAttributeOwnershipAcquisition(), OwnershipManagement::cancelnegotiatedAttributeOwnershipDivestiture(), ObjectManagement::changeAttributeOrderType(), ObjectManagement::changeAttributeTransportType(), ObjectManagement::changeInteractionOrderType(), ObjectManagement::changeInteractionTransportType(), RTIG::chooseProcessingMethod(), DataDistribution::createRegion(), ObjectClass::deleteInstance(), ObjectManagement::deleteObject(), DataDistribution::deleteRegion(), NetworkMessage::deserialize(), FederationManagement::destroyFederationExecution(), TimeManagement::executeFederateService(), FederationManagement::federateSaveBegun(), InteractionBroadcastList::InteractionBroadcastList(), DataDistribution::modifyRegion(), OwnershipManagement::negotiatedAttributeOwnershipDivestiture(), ObjectClass::negotiatedAttributeOwnershipDivestiture(), NetworkMessage::NetworkMessage(), ObjectClassBroadcastList::ObjectClassBroadcastList(), RTIG::processAcquisitionIfAvailable(), RTIG::processAssociateRegion(), RTIG::processAttributeOwnedByFederate(), RTIG::processCancelAcquisition(), RTIG::processCancelNegotiatedDivestiture(), RTIG::processCreateRegion(), RTIG::processDeleteObject(), RTIG::processDeleteRegion(), RTIG::processDestroyFederation(), RTIG::processFederateRestoreStatus(), RTIG::processFederateSaveBegun(), RTIG::processFederateSaveStatus(), RTIG::processIncomingMessage(), RTIG::processJoinFederation(), RTIG::processMessageNull(), RTIG::processModifyRegion(), RTIG::processNegotiatedOwnershipDivestiture(), RTIA::processNetworkMessage(), RTIG::processOwnershipAcquisition(), RTIG::processPublishInteractionClass(), RTIG::processPublishObjectClass(), RTIG::processQueryAttributeOwnership(), RTIG::processRegisterObject(), RTIG::processRegisterObjectWithRegion(), RTIG::processRegisterSynchronization(), RTIG::processReleaseResponse(), RTIG::processRequestFederationRestore(), RTIG::processRequestFederationSave(), RTIG::processRequestObjectAttributeValueUpdate(), RTIG::processResignFederation(), RTIG::processSendInteraction(), RTIG::processSetAttributeRelevanceAdvisorySwitch(), RTIG::processSetAttributeScopeAdvisorySwitch(), RTIG::processSetClassRelevanceAdvisorySwitch(), RTIG::processSetInteractionRelevanceAdvisorySwitch(), RTIG::processSetTimeConstrained(), RTIG::processSetTimeRegulating(), RTIG::processSubscribeAttributesWR(), RTIG::processSubscribeInteractionClass(), RTIG::processSubscribeInteractionWR(), RTIG::processSubscribeObjectClass(), RTIG::processSynchronizationAchieved(), RTIG::processUnassociateRegion(), RTIG::processUnconditionalDivestiture(), RTIG::processUnsubscribeAttributesWR(), RTIG::processUnsubscribeInteractionWR(), RTIG::processUpdateAttributeValues(), DeclarationManagement::publishInteractionClass(), DeclarationManagement::publishObjectClass(), OwnershipManagement::queryAttributeOwnership(), ObjectSet::queryAttributeOwnership(), ObjectManagement::registerObject(), DataDistribution::registerObject(), ObjectClass::registerObjectInstance(), FederationManagement::registerSynchronization(), Federation::removeRegulator(), FederationManagement::requestFederationRestore(), Federation::requestFederationRestore(), FederationManagement::requestFederationSave(), Federation::requestFederationSave(), ObjectManagement::requestObjectAttributeValueUpdate(), Federation::requestObjectOwner(), FederationManagement::resignFederationExecution(), ObjectClass::sendDiscoverMessages(), ObjectManagement::sendInteraction(), Interaction::sendInteraction(), TimeManagement::sendNullMessage(), NetworkMessage::serialize(), ObjectManagement::setAttributeRelevanceAdvisorySwitch(), ObjectManagement::setAttributeScopeAdvisorySwitch(), DeclarationManagement::setClassRelevanceAdvisorySwitch(), DeclarationManagement::setInteractionRelevanceAdvisorySwitch(), TimeManagement::setTimeConstrained(), TimeManagement::setTimeRegulating(), DataDistribution::subscribe(), DataDistribution::subscribeInteraction(), DeclarationManagement::subscribeInteractionClass(), DeclarationManagement::subscribeObjectClassAttribute(), DataDistribution::unassociateRegion(), OwnershipManagement::unconditionalAttributeOwnershipDivestiture(), ObjectClass::unconditionalAttributeOwnershipDivestiture(), DeclarationManagement::unpublishInteractionClass(), DeclarationManagement::unpublishObjectClass(), FederationManagement::unregisterSynchronization(), Federation::unregisterSynchronization(), DataDistribution::unsubscribeAttributes(), DataDistribution::unsubscribeInteraction(), DeclarationManagement::unsubscribeInteractionClass(), DeclarationManagement::unsubscribeObjectClassAttribute(), ObjectManagement::updateAttributeValues(), ObjectClass::updateAttributeValues(), Federation::updateRegulator(), and Communications::waitMessage().

std::string exceptionReason

int32_t attribute

std::string name [protected]

The message name.

should be initialized by the specialized network message constructor

Definition at line 294 of file NetworkMessage.hh.

Referenced by NetworkMessage::NetworkMessage(), NM_Announce_Synchronization_Point::NM_Announce_Synchronization_Point(), NM_Attribute_Is_Not_Owned::NM_Attribute_Is_Not_Owned(), NM_Attribute_Ownership_Acquisition::NM_Attribute_Ownership_Acquisition(), NM_Attribute_Ownership_Acquisition_If_Available::NM_Attribute_Ownership_Acquisition_If_Available(), NM_Attribute_Ownership_Acquisition_Notification::NM_Attribute_Ownership_Acquisition_Notification(), NM_Attribute_Ownership_Divestiture_Notification::NM_Attribute_Ownership_Divestiture_Notification(), NM_Attribute_Ownership_Release_Response::NM_Attribute_Ownership_Release_Response(), NM_Attribute_Ownership_Unavailable::NM_Attribute_Ownership_Unavailable(), NM_Cancel_Attribute_Ownership_Acquisition::NM_Cancel_Attribute_Ownership_Acquisition(), NM_Cancel_Negotiated_Attribute_Ownership_Divestiture::NM_Cancel_Negotiated_Attribute_Ownership_Divestiture(), NM_Change_Attribute_Order_Type::NM_Change_Attribute_Order_Type(), NM_Change_Attribute_Transport_Type::NM_Change_Attribute_Transport_Type(), NM_Change_Interaction_Order_Type::NM_Change_Interaction_Order_Type(), NM_Change_Interaction_Transport_Type::NM_Change_Interaction_Transport_Type(), NM_Close_Connexion::NM_Close_Connexion(), NM_Confirm_Attribute_Ownership_Acquisition_Cancellation::NM_Confirm_Attribute_Ownership_Acquisition_Cancellation(), NM_Create_Federation_Execution::NM_Create_Federation_Execution(), NM_DDM_Associate_Region::NM_DDM_Associate_Region(), NM_DDM_Base::NM_DDM_Base(), NM_DDM_Create_Region::NM_DDM_Create_Region(), NM_DDM_Delete_Region::NM_DDM_Delete_Region(), NM_DDM_Modify_Region::NM_DDM_Modify_Region(), NM_DDM_Register_Object::NM_DDM_Register_Object(), NM_DDM_Subscribe_Attributes::NM_DDM_Subscribe_Attributes(), NM_DDM_Subscribe_Interaction::NM_DDM_Subscribe_Interaction(), NM_DDM_Unassociate_Region::NM_DDM_Unassociate_Region(), NM_DDM_Unsubscribe_Attributes::NM_DDM_Unsubscribe_Attributes(), NM_DDM_Unsubscribe_Interaction::NM_DDM_Unsubscribe_Interaction(), NM_Delete_Object::NM_Delete_Object(), NM_Destroy_Federation_Execution::NM_Destroy_Federation_Execution(), NM_Discover_Object::NM_Discover_Object(), NM_Federate_Restore_Complete::NM_Federate_Restore_Complete(), NM_Federate_Restore_Not_Complete::NM_Federate_Restore_Not_Complete(), NM_Federate_Save_Begun::NM_Federate_Save_Begun(), NM_Federate_Save_Complete::NM_Federate_Save_Complete(), NM_Federate_Save_Not_Complete::NM_Federate_Save_Not_Complete(), NM_Federation_Not_Restored::NM_Federation_Not_Restored(), NM_Federation_Not_Saved::NM_Federation_Not_Saved(), NM_Federation_Restore_Begun::NM_Federation_Restore_Begun(), NM_Federation_Restored::NM_Federation_Restored(), NM_Federation_Saved::NM_Federation_Saved(), NM_Federation_Synchronized::NM_Federation_Synchronized(), NM_Get_FED_File::NM_Get_FED_File(), NM_Inform_Attribute_Ownership::NM_Inform_Attribute_Ownership(), NM_Initiate_Federate_Restore::NM_Initiate_Federate_Restore(), NM_Initiate_Federate_Save::NM_Initiate_Federate_Save(), NM_Is_Attribute_Owned_By_Federate::NM_Is_Attribute_Owned_By_Federate(), NM_Join_Federation_Execution::NM_Join_Federation_Execution(), NM_Last::NM_Last(), NM_Message_Null::NM_Message_Null(), NM_Negotiated_Attribute_Ownership_Divestiture::NM_Negotiated_Attribute_Ownership_Divestiture(), NM_Not_Used::NM_Not_Used(), NM_Provide_Attribute_Value_Update::NM_Provide_Attribute_Value_Update(), NM_Publish_Interaction_Class::NM_Publish_Interaction_Class(), NM_Publish_Object_Class::NM_Publish_Object_Class(), NM_Query_Attribute_Ownership::NM_Query_Attribute_Ownership(), NM_Receive_Interaction::NM_Receive_Interaction(), NM_Reflect_Attribute_Values::NM_Reflect_Attribute_Values(), NM_Register_Federation_Synchronization_Point::NM_Register_Federation_Synchronization_Point(), NM_Register_Object::NM_Register_Object(), NM_Remove_Object::NM_Remove_Object(), NM_Request_Attribute_Ownership_Assumption::NM_Request_Attribute_Ownership_Assumption(), NM_Request_Attribute_Ownership_Release::NM_Request_Attribute_Ownership_Release(), NM_Request_Class_Attribute_Value_Update::NM_Request_Class_Attribute_Value_Update(), NM_Request_Federation_Restore::NM_Request_Federation_Restore(), NM_Request_Federation_Restore_Failed::NM_Request_Federation_Restore_Failed(), NM_Request_Federation_Restore_Succeeded::NM_Request_Federation_Restore_Succeeded(), NM_Request_Federation_Save::NM_Request_Federation_Save(), NM_Request_Object_Attribute_Value_Update::NM_Request_Object_Attribute_Value_Update(), NM_Resign_Federation_Execution::NM_Resign_Federation_Execution(), NM_Send_Interaction::NM_Send_Interaction(), NM_Set_Attribute_Relevance_Advisory_Switch::NM_Set_Attribute_Relevance_Advisory_Switch(), NM_Set_Attribute_Scope_Advisory_Switch::NM_Set_Attribute_Scope_Advisory_Switch(), NM_Set_Class_Relevance_Advisory_Switch::NM_Set_Class_Relevance_Advisory_Switch(), NM_Set_Interaction_Relevance_Advisory_Switch::NM_Set_Interaction_Relevance_Advisory_Switch(), NM_Set_Time_Constrained::NM_Set_Time_Constrained(), NM_Set_Time_Regulating::NM_Set_Time_Regulating(), NM_Start_Registration_For_Object_Class::NM_Start_Registration_For_Object_Class(), NM_Stop_Registration_For_Object_Class::NM_Stop_Registration_For_Object_Class(), NM_Subscribe_Interaction_Class::NM_Subscribe_Interaction_Class(), NM_Subscribe_Object_Class::NM_Subscribe_Object_Class(), NM_Synchronization_Point_Achieved::NM_Synchronization_Point_Achieved(), NM_Synchronization_Point_Registration_Succeeded::NM_Synchronization_Point_Registration_Succeeded(), NM_Time_Constrained_Enabled::NM_Time_Constrained_Enabled(), NM_Time_Regulation_Enabled::NM_Time_Regulation_Enabled(), NM_Turn_Interactions_Off::NM_Turn_Interactions_Off(), NM_Turn_Interactions_On::NM_Turn_Interactions_On(), NM_Unconditional_Attribute_Ownership_Divestiture::NM_Unconditional_Attribute_Ownership_Divestiture(), NM_Unpublish_Interaction_Class::NM_Unpublish_Interaction_Class(), NM_Unpublish_Object_Class::NM_Unpublish_Object_Class(), NM_Unsubscribe_Interaction_Class::NM_Unsubscribe_Interaction_Class(), NM_Unsubscribe_Object_Class::NM_Unsubscribe_Object_Class(), NM_Update_Attribute_Values::NM_Update_Attribute_Values(), and NM_WithHandleArray::NM_WithHandleArray().

Message_T type [protected]

The network message type type field cannot be accessed directly

  • only NM constructor may set it.

  • getter should be used to get it.

Definition at line 302 of file NetworkMessage.hh.

Referenced by NetworkMessage::deserialize(), NM_Announce_Synchronization_Point::NM_Announce_Synchronization_Point(), NM_Attribute_Is_Not_Owned::NM_Attribute_Is_Not_Owned(), NM_Attribute_Ownership_Acquisition::NM_Attribute_Ownership_Acquisition(), NM_Attribute_Ownership_Acquisition_If_Available::NM_Attribute_Ownership_Acquisition_If_Available(), NM_Attribute_Ownership_Acquisition_Notification::NM_Attribute_Ownership_Acquisition_Notification(), NM_Attribute_Ownership_Divestiture_Notification::NM_Attribute_Ownership_Divestiture_Notification(), NM_Attribute_Ownership_Release_Response::NM_Attribute_Ownership_Release_Response(), NM_Attribute_Ownership_Unavailable::NM_Attribute_Ownership_Unavailable(), NM_Cancel_Attribute_Ownership_Acquisition::NM_Cancel_Attribute_Ownership_Acquisition(), NM_Cancel_Negotiated_Attribute_Ownership_Divestiture::NM_Cancel_Negotiated_Attribute_Ownership_Divestiture(), NM_Change_Attribute_Order_Type::NM_Change_Attribute_Order_Type(), NM_Change_Attribute_Transport_Type::NM_Change_Attribute_Transport_Type(), NM_Change_Interaction_Order_Type::NM_Change_Interaction_Order_Type(), NM_Change_Interaction_Transport_Type::NM_Change_Interaction_Transport_Type(), NM_Close_Connexion::NM_Close_Connexion(), NM_Confirm_Attribute_Ownership_Acquisition_Cancellation::NM_Confirm_Attribute_Ownership_Acquisition_Cancellation(), NM_Create_Federation_Execution::NM_Create_Federation_Execution(), NM_DDM_Associate_Region::NM_DDM_Associate_Region(), NM_DDM_Base::NM_DDM_Base(), NM_DDM_Create_Region::NM_DDM_Create_Region(), NM_DDM_Delete_Region::NM_DDM_Delete_Region(), NM_DDM_Modify_Region::NM_DDM_Modify_Region(), NM_DDM_Register_Object::NM_DDM_Register_Object(), NM_DDM_Subscribe_Attributes::NM_DDM_Subscribe_Attributes(), NM_DDM_Subscribe_Interaction::NM_DDM_Subscribe_Interaction(), NM_DDM_Unassociate_Region::NM_DDM_Unassociate_Region(), NM_DDM_Unsubscribe_Attributes::NM_DDM_Unsubscribe_Attributes(), NM_DDM_Unsubscribe_Interaction::NM_DDM_Unsubscribe_Interaction(), NM_Delete_Object::NM_Delete_Object(), NM_Destroy_Federation_Execution::NM_Destroy_Federation_Execution(), NM_Discover_Object::NM_Discover_Object(), NM_Federate_Restore_Complete::NM_Federate_Restore_Complete(), NM_Federate_Restore_Not_Complete::NM_Federate_Restore_Not_Complete(), NM_Federate_Save_Begun::NM_Federate_Save_Begun(), NM_Federate_Save_Complete::NM_Federate_Save_Complete(), NM_Federate_Save_Not_Complete::NM_Federate_Save_Not_Complete(), NM_Federation_Not_Restored::NM_Federation_Not_Restored(), NM_Federation_Not_Saved::NM_Federation_Not_Saved(), NM_Federation_Restore_Begun::NM_Federation_Restore_Begun(), NM_Federation_Restored::NM_Federation_Restored(), NM_Federation_Saved::NM_Federation_Saved(), NM_Federation_Synchronized::NM_Federation_Synchronized(), NM_Get_FED_File::NM_Get_FED_File(), NM_Inform_Attribute_Ownership::NM_Inform_Attribute_Ownership(), NM_Initiate_Federate_Restore::NM_Initiate_Federate_Restore(), NM_Initiate_Federate_Save::NM_Initiate_Federate_Save(), NM_Is_Attribute_Owned_By_Federate::NM_Is_Attribute_Owned_By_Federate(), NM_Join_Federation_Execution::NM_Join_Federation_Execution(), NM_Last::NM_Last(), NM_Message_Null::NM_Message_Null(), NM_Negotiated_Attribute_Ownership_Divestiture::NM_Negotiated_Attribute_Ownership_Divestiture(), NM_Not_Used::NM_Not_Used(), NM_Provide_Attribute_Value_Update::NM_Provide_Attribute_Value_Update(), NM_Publish_Interaction_Class::NM_Publish_Interaction_Class(), NM_Publish_Object_Class::NM_Publish_Object_Class(), NM_Query_Attribute_Ownership::NM_Query_Attribute_Ownership(), NM_Receive_Interaction::NM_Receive_Interaction(), NM_Reflect_Attribute_Values::NM_Reflect_Attribute_Values(), NM_Register_Federation_Synchronization_Point::NM_Register_Federation_Synchronization_Point(), NM_Register_Object::NM_Register_Object(), NM_Remove_Object::NM_Remove_Object(), NM_Request_Attribute_Ownership_Assumption::NM_Request_Attribute_Ownership_Assumption(), NM_Request_Attribute_Ownership_Release::NM_Request_Attribute_Ownership_Release(), NM_Request_Class_Attribute_Value_Update::NM_Request_Class_Attribute_Value_Update(), NM_Request_Federation_Restore::NM_Request_Federation_Restore(), NM_Request_Federation_Restore_Failed::NM_Request_Federation_Restore_Failed(), NM_Request_Federation_Restore_Succeeded::NM_Request_Federation_Restore_Succeeded(), NM_Request_Federation_Save::NM_Request_Federation_Save(), NM_Request_Object_Attribute_Value_Update::NM_Request_Object_Attribute_Value_Update(), NM_Resign_Federation_Execution::NM_Resign_Federation_Execution(), NM_Send_Interaction::NM_Send_Interaction(), NM_Set_Attribute_Relevance_Advisory_Switch::NM_Set_Attribute_Relevance_Advisory_Switch(), NM_Set_Attribute_Scope_Advisory_Switch::NM_Set_Attribute_Scope_Advisory_Switch(), NM_Set_Class_Relevance_Advisory_Switch::NM_Set_Class_Relevance_Advisory_Switch(), NM_Set_Interaction_Relevance_Advisory_Switch::NM_Set_Interaction_Relevance_Advisory_Switch(), NM_Set_Time_Constrained::NM_Set_Time_Constrained(), NM_Set_Time_Regulating::NM_Set_Time_Regulating(), NM_Start_Registration_For_Object_Class::NM_Start_Registration_For_Object_Class(), NM_Stop_Registration_For_Object_Class::NM_Stop_Registration_For_Object_Class(), NM_Subscribe_Interaction_Class::NM_Subscribe_Interaction_Class(), NM_Subscribe_Object_Class::NM_Subscribe_Object_Class(), NM_Synchronization_Point_Achieved::NM_Synchronization_Point_Achieved(), NM_Synchronization_Point_Registration_Succeeded::NM_Synchronization_Point_Registration_Succeeded(), NM_Time_Constrained_Enabled::NM_Time_Constrained_Enabled(), NM_Time_Regulation_Enabled::NM_Time_Regulation_Enabled(), NM_Turn_Interactions_Off::NM_Turn_Interactions_Off(), NM_Turn_Interactions_On::NM_Turn_Interactions_On(), NM_Unconditional_Attribute_Ownership_Divestiture::NM_Unconditional_Attribute_Ownership_Divestiture(), NM_Unpublish_Interaction_Class::NM_Unpublish_Interaction_Class(), NM_Unpublish_Object_Class::NM_Unpublish_Object_Class(), NM_Unsubscribe_Interaction_Class::NM_Unsubscribe_Interaction_Class(), NM_Unsubscribe_Object_Class::NM_Unsubscribe_Object_Class(), NM_Update_Attribute_Values::NM_Update_Attribute_Values(), NM_WithHandleArray::NM_WithHandleArray(), and NetworkMessage::serialize().

FederationTime date [private]

The date of message if it is dated.

date field cannot be accessed directly but only using getter/setter.

Definition at line 310 of file NetworkMessage.hh.

Referenced by NetworkMessage::deserialize(), NetworkMessage::NetworkMessage(), and NetworkMessage::serialize().

bool _isDated [private]

True is the message is dated When a message is dated the date is transmitted over the network, when not dated the date is not sent.

Definition at line 316 of file NetworkMessage.hh.

Referenced by NetworkMessage::deserialize(), and NetworkMessage::serialize().

std::string label [private]

The label of message if it is labelled.

date field cannot be accessed directly but only using getter/setter.

Definition at line 323 of file NetworkMessage.hh.

Referenced by NetworkMessage::deserialize(), NetworkMessage::NetworkMessage(), and NetworkMessage::serialize().

bool _isLabelled [private]

True is the message contains a label When a message is labelled the label is transmitted over the network, when not labelled the label is not sent.

Definition at line 329 of file NetworkMessage.hh.

Referenced by NetworkMessage::deserialize(), and NetworkMessage::serialize().

std::string tag [private]

The tag of message if it is tagged.

date field cannot be accessed directly but only using getter/setter.

Definition at line 336 of file NetworkMessage.hh.

Referenced by NetworkMessage::deserialize(), and NetworkMessage::serialize().

bool _isTagged [private]

True is the message contains a tag When a message is tagged the tag is transmitted over the network, when not tagged the tag is not sent.

Definition at line 342 of file NetworkMessage.hh.

Referenced by NetworkMessage::deserialize(), and NetworkMessage::serialize().


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

Generated on Thu Apr 30 15:55:32 2009 for CERTIDeveloperDocumentation by doxygen 1.5.5