ariba::communication::AribaBaseMsg Class Reference

#include <source/ariba/communication/messages/AribaBaseMsg.h>

Inherits ariba::utility::Message.

Collaboration diagram for ariba::communication::AribaBaseMsg:

Collaboration graph
[legend]

List of all members.

Public Types

enum  type_ {
  typeData = 0, typeLinkRequest = 1, typeLinkReply = 2, typeLinkClose = 3,
  typeLinkUpdate = 4
}

Public Member Functions

 AribaBaseMsg (type_ type=typeData, const LinkID &localLink=LinkID::UNSPECIFIED, const LinkID &remoteLink=LinkID::UNSPECIFIED)
virtual ~AribaBaseMsg ()
const string getTypeString () const
const type_ getType () const
const LinkIDgetLocalLink () const
const LinkIDgetRemoteLink () const
EndpointDescriptorgetLocalDescriptor ()
EndpointDescriptorgetRemoteDescriptor ()

Private Attributes

 VSERIALIZEABLE
uint8_t type
LinkID localLink
LinkID remoteLink
EndpointDescriptor localDescriptor
EndpointDescriptor remoteDescriptor


Detailed Description

Definition at line 63 of file AribaBaseMsg.h.


Member Enumeration Documentation

Enumerator:
typeData 
typeLinkRequest 
typeLinkReply 
typeLinkClose 
typeLinkUpdate 

Definition at line 66 of file AribaBaseMsg.h.


Constructor & Destructor Documentation

ariba::communication::AribaBaseMsg::AribaBaseMsg ( type_  type = typeData,
const LinkID localLink = LinkID::UNSPECIFIED,
const LinkID remoteLink = LinkID::UNSPECIFIED 
)

Definition at line 46 of file AribaBaseMsg.cpp.

ariba::communication::AribaBaseMsg::~AribaBaseMsg (  )  [virtual]

Definition at line 52 of file AribaBaseMsg.cpp.


Member Function Documentation

EndpointDescriptor& ariba::communication::AribaBaseMsg::getLocalDescriptor (  )  [inline]

Definition at line 94 of file AribaBaseMsg.h.

References localDescriptor.

Referenced by ariba::communication::BaseCommunication::receiveMessage().

const LinkID& ariba::communication::AribaBaseMsg::getLocalLink (  )  const [inline]

Definition at line 86 of file AribaBaseMsg.h.

References localLink.

Referenced by ariba::communication::BaseCommunication::receiveMessage().

EndpointDescriptor& ariba::communication::AribaBaseMsg::getRemoteDescriptor (  )  [inline]

Definition at line 98 of file AribaBaseMsg.h.

References remoteDescriptor.

Referenced by ariba::communication::BaseCommunication::receiveMessage().

const LinkID& ariba::communication::AribaBaseMsg::getRemoteLink (  )  const [inline]

Definition at line 90 of file AribaBaseMsg.h.

References remoteLink.

Referenced by ariba::communication::BaseCommunication::receiveMessage().

const type_ ariba::communication::AribaBaseMsg::getType (  )  const [inline]

Definition at line 82 of file AribaBaseMsg.h.

References type.

Referenced by getTypeString(), and ariba::communication::BaseCommunication::receiveMessage().

const string ariba::communication::AribaBaseMsg::getTypeString (  )  const


Member Data Documentation

Definition at line 110 of file AribaBaseMsg.h.

Referenced by getLocalDescriptor().

Definition at line 106 of file AribaBaseMsg.h.

Referenced by getLocalLink().

Definition at line 111 of file AribaBaseMsg.h.

Referenced by getRemoteDescriptor().

Definition at line 107 of file AribaBaseMsg.h.

Referenced by getRemoteLink().

Definition at line 103 of file AribaBaseMsg.h.

Referenced by getType().

Definition at line 64 of file AribaBaseMsg.h.


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

Generated on Fri Aug 14 23:39:20 2009 for Ariba by  doxygen 1.5.8