ariba::communication::AribaBaseMsg Class Reference

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

Inheritance diagram for ariba::communication::AribaBaseMsg:

Inheritance graph
[legend]
Collaboration diagram for ariba::communication::AribaBaseMsg:

Collaboration graph
[legend]

List of all members.

Public Types

enum  _LINK_STATE {
  LINK_STATE_DATA = 0, LINK_STATE_OPEN_REQUEST = 1, LINK_STATE_OPEN_REPLY = 2, LINK_STATE_CLOSE_REQUEST = 3,
  LINK_STATE_UPDATE = 4
}
typedef enum
ariba::communication::AribaBaseMsg::_LINK_STATE 
LINK_STATE

Public Member Functions

 AribaBaseMsg (const Address *address=NULL, LINK_STATE _state=LINK_STATE_DATA, const LinkID &_localLink=LinkID::UNSPECIFIED, const LinkID &_remoteLink=LinkID::UNSPECIFIED)
virtual ~AribaBaseMsg ()
const LINK_STATE getType ()
const string getTypeString ()
const LinkIDgetLocalLink ()
const LinkIDgetRemoteLink ()

Private Attributes

 VSERIALIZEABLE
uint8_t state
LinkID localLink
LinkID remoteLink


Detailed Description

Definition at line 61 of file AribaBaseMsg.h.


Member Typedef Documentation


Member Enumeration Documentation

Enumerator:
LINK_STATE_DATA 
LINK_STATE_OPEN_REQUEST 
LINK_STATE_OPEN_REPLY 
LINK_STATE_CLOSE_REQUEST 
LINK_STATE_UPDATE 

Definition at line 65 of file AribaBaseMsg.h.


Constructor & Destructor Documentation

ariba::communication::AribaBaseMsg::AribaBaseMsg ( const Address address = NULL,
LINK_STATE  _state = LINK_STATE_DATA,
const LinkID _localLink = LinkID::UNSPECIFIED,
const LinkID _remoteLink = LinkID::UNSPECIFIED 
)

Definition at line 46 of file AribaBaseMsg.cpp.

References Message::setDestinationAddress().

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

Definition at line 58 of file AribaBaseMsg.cpp.


Member Function Documentation

const AribaBaseMsg::LINK_STATE ariba::communication::AribaBaseMsg::getType (  ) 

Definition at line 61 of file AribaBaseMsg.cpp.

References state.

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

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

const LinkID & ariba::communication::AribaBaseMsg::getLocalLink (  ) 

Definition at line 65 of file AribaBaseMsg.cpp.

References localLink.

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

const LinkID & ariba::communication::AribaBaseMsg::getRemoteLink (  ) 

Definition at line 69 of file AribaBaseMsg.cpp.

References remoteLink.

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


Member Data Documentation

Reimplemented from Message.

Definition at line 62 of file AribaBaseMsg.h.

Definition at line 86 of file AribaBaseMsg.h.

Referenced by getType().

Definition at line 87 of file AribaBaseMsg.h.

Referenced by getLocalLink().

Definition at line 88 of file AribaBaseMsg.h.

Referenced by getRemoteLink().


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

Generated on Wed May 27 18:24:00 2009 for Ariba by  doxygen 1.5.6