#include <received_object.h>
Received object is attached to the message envelope by each Message Transport Service
Definition at line 19 of file received_object.h.
| const URL& fipa::acl::ReceivedObject::getBy |
( |
| ) |
const |
|
inline |
Get URL representing the transport address of the receiving ACC
Definition at line 62 of file received_object.h.
| const base::Time& fipa::acl::ReceivedObject::getDate |
( |
| ) |
const |
|
inline |
| const URL& fipa::acl::ReceivedObject::getFrom |
( |
| ) |
const |
|
inline |
Get URL representing the transport address of the sending ACC
Definition at line 72 of file received_object.h.
| const ID& fipa::acl::ReceivedObject::getId |
( |
| ) |
const |
|
inline |
Get the unique id of the message - unique within the scope of the sending ACC
Definition at line 92 of file received_object.h.
Get userdefined parameters
Definition at line 117 of file received_object.h.
117 {
return mUserdefinedParameters; }
| const Via& fipa::acl::ReceivedObject::getVia |
( |
| ) |
const |
|
inline |
Get the via - the MTP the message was delivered over
Definition at line 102 of file received_object.h.
| bool fipa::acl::ReceivedObject::operator== |
( |
const ReceivedObject & |
receivedObject | ) |
const |
|
inline |
| void fipa::acl::ReceivedObject::setBy |
( |
const URL & |
by | ) |
|
|
inline |
Set URL representing the transport address of the receiving ACC
Definition at line 67 of file received_object.h.
| void fipa::acl::ReceivedObject::setDate |
( |
const base::Time & |
date | ) |
|
|
inline |
| void fipa::acl::ReceivedObject::setFrom |
( |
const URL & |
from | ) |
|
|
inline |
Set URL representing the transport address of the sending ACC
Definition at line 77 of file received_object.h.
| void fipa::acl::ReceivedObject::setId |
( |
const ID & |
id | ) |
|
|
inline |
Set the unique id of the message - unique within the scope of the sending ACC
Definition at line 97 of file received_object.h.
Set userdefined parameters
Definition at line 122 of file received_object.h.
122 { mUserdefinedParameters = paramList; }
| void fipa::acl::ReceivedObject::setVia |
( |
const Via & |
via | ) |
|
|
inline |
| std::string fipa::acl::ReceivedObject::toString |
( |
size_t |
indent = 0 | ) |
const |
Create to string methods
Definition at line 7 of file received_object.cpp.
9 std::string hspace(indent,
' ');
11 ss << hspace <<
"ReceivedObject:" << std::endl;
12 ss << hspace <<
" by: " << mBy << std::endl;
13 ss << hspace <<
" from: " << mFrom << std::endl;
14 ss << hspace <<
" date: " << mDate.toString() << std::endl;
15 ss << hspace <<
" id: " << mId << std::endl;
16 ss << hspace <<
" via: " << mVia << std::endl;
17 ss << hspace <<
" user-defined-parameters:" << std::endl;
18 std::vector<UserdefParam>::const_iterator cit = mUserdefinedParameters.begin();
19 for(; cit != mUserdefinedParameters.end(); ++cit)
21 ss << hspace <<
" " << cit->toString() << std::endl;
The documentation for this class was generated from the following files:
- /build/rock-master-18.09-multiagent-fipa-acl-0.20180914/src/message_generator/received_object.h
- /build/rock-master-18.09-multiagent-fipa-acl-0.20180914/src/message_generator/received_object.cpp