#include <source/ariba/communication/messages/AribaBaseMsg.h>
Inherits ariba::utility::Message.
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 LinkID & | getLocalLink () const |
const LinkID & | getRemoteLink () const |
EndpointDescriptor & | getLocalDescriptor () |
EndpointDescriptor & | getRemoteDescriptor () |
Private Attributes | |
VSERIALIZEABLE | |
uint8_t | type |
LinkID | localLink |
LinkID | remoteLink |
EndpointDescriptor | localDescriptor |
EndpointDescriptor | remoteDescriptor |
Definition at line 63 of file AribaBaseMsg.h.
Definition at line 66 of file AribaBaseMsg.h.
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.
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 |
Definition at line 55 of file AribaBaseMsg.cpp.
References getType(), typeData, typeLinkClose, typeLinkReply, typeLinkRequest, and typeLinkUpdate.
Referenced by ariba::communication::BaseCommunication::receiveMessage().
uint8_t ariba::communication::AribaBaseMsg::type [private] |
Definition at line 64 of file AribaBaseMsg.h.