|
WSF
|
#include <WsfCommMessage.hpp>
Public Member Functions | |
| Identifier ()=default | |
| Identifier (const Message &aMessage) | |
| Identifier (const WsfMessage &aMessage) | |
| virtual | ~Identifier ()=default |
| void | SetSerialNumber (unsigned int aSerialNumber) |
| void | SetSource (const Address &aAddress) |
| void | SetDestination (const Address &aAddress) |
| unsigned int | GetSerialNumber () const |
| const Address & | GetSource () const |
| const Address & | GetDestination () const |
| bool | operator== (const Identifier &aRhs) const |
| bool | operator!= (const Identifier &aRhs) const |
The Identifier class provides an object that can be constructed via messages and used as a unique handle for specifying a message without requiring the use of an entire message object. Serial numbers are not solely sufficient to identify a message in core due to widespread variances in how they have generated. Equivalent messages are determined based on a combination of the serial number, source, and destination.
|
default |
References Identifier(), and wsf::comm::Message::Message().
Referenced by Identifier(), operator!=(), and operator==().
| wsf::comm::Message::Identifier::Identifier | ( | const Message & | aMessage | ) |
| wsf::comm::Message::Identifier::Identifier | ( | const WsfMessage & | aMessage | ) |
References GetSerialNumber().
|
virtualdefault |
|
inline |
Referenced by std::hash< wsf::comm::Message::Identifier >::operator()().
|
inline |
|
inline |
| bool wsf::comm::Message::Identifier::operator!= | ( | const Identifier & | aRhs | ) | const |
References Identifier().
| bool wsf::comm::Message::Identifier::operator== | ( | const Identifier & | aRhs | ) | const |
References Identifier().
|
inline |
Referenced by wsf::comm::medium::UT_DEFINE_SCRIPT_METHOD().
|
inline |
Referenced by wsf::comm::medium::UT_DEFINE_SCRIPT_METHOD().
|
inline |
Referenced by wsf::comm::medium::UT_DEFINE_SCRIPT_METHOD().