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


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 LinkID & | getLocalLink () |
| const LinkID & | getRemoteLink () |
Private Attributes | |
| VSERIALIZEABLE | |
| uint8_t | state |
| LinkID | localLink |
| LinkID | remoteLink |
Definition at line 61 of file AribaBaseMsg.h.
| typedef enum ariba::communication::AribaBaseMsg::_LINK_STATE ariba::communication::AribaBaseMsg::LINK_STATE |
| 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.
| ariba::communication::AribaBaseMsg::AribaBaseMsg | ( | const Address * | address = NULL, |
|
| LINK_STATE | _state = LINK_STATE_DATA, |
|||
| const LinkID & | _localLink = LinkID::UNSPECIFIED, |
|||
| const LinkID & | _remoteLink = LinkID::UNSPECIFIED | |||
| ) |
| ariba::communication::AribaBaseMsg::~AribaBaseMsg | ( | ) | [virtual] |
Definition at line 58 of file AribaBaseMsg.cpp.
| 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 | ( | ) |
Definition at line 73 of file AribaBaseMsg.cpp.
References getType(), LINK_STATE_CLOSE_REQUEST, LINK_STATE_DATA, LINK_STATE_OPEN_REPLY, LINK_STATE_OPEN_REQUEST, and LINK_STATE_UPDATE.
Referenced by ariba::communication::BaseCommunication::receiveMessage().
| 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().
uint8_t ariba::communication::AribaBaseMsg::state [private] |
1.5.6