|
fipa_acl
1.4
|
The ACLBaseEnvelope defines the layout for an envelope with which ACLMessage data can be wrapped. Multiple ACLBaseEnvelopes are part of the ACLEnvelope in order to implement the basic functionality of the Agent Communication Channel (ACC) More...
#include <acl_envelope.h>
The ACLBaseEnvelope defines the layout for an envelope with which ACLMessage data can be wrapped. Multiple ACLBaseEnvelopes are part of the ACLEnvelope in order to implement the basic functionality of the Agent Communication Channel (ACC)
Definition at line 36 of file acl_envelope.h.
| fipa::acl::ACLBaseEnvelope::ACLBaseEnvelope | ( | ) |
DefaultConstructor
Definition at line 22 of file acl_envelope.cpp.
| void fipa::acl::ACLBaseEnvelope::addIntendedReceiver | ( | const AgentID & | agent | ) |
Add intended receiver to the list of intended receivers
Definition at line 115 of file acl_envelope.cpp.
| void fipa::acl::ACLBaseEnvelope::addTo | ( | const AgentID & | agent | ) |
Add an agent identifier to the destination list
Definition at line 28 of file acl_envelope.cpp.
|
inline |
Clear list of intended receivers
Definition at line 276 of file acl_envelope.h.
|
inline |
|
inline |
Definition at line 144 of file acl_envelope.h.
| ACLBaseEnvelope fipa::acl::ACLBaseEnvelope::flatten | ( | const ACLBaseEnvelopeList & | extraEnvelopes | ) | const |
Flatten the current envelope plus the extra envelopes (the most current/latest has to be at the end of the list
| extraEnvelopes | list of overlay envelopes |
Definition at line 224 of file acl_envelope.cpp.
|
inline |
Get the ACLRepresentation in use
Definition at line 203 of file acl_envelope.h.
|
inline |
Get the ACLRepresentation in use
Definition at line 209 of file acl_envelope.h.
|
inline |
|
inline |
Retrieve creation date and time of the message envelope
Definition at line 246 of file acl_envelope.h.
|
inline |
|
inline |
Get intended receivers
Definition at line 256 of file acl_envelope.h.
|
inline |
Get the payload encoding (default is US-ASCII)
Definition at line 236 of file acl_envelope.h.
|
inline |
Get the length of the payload
Definition at line 226 of file acl_envelope.h.
|
inline |
Get the associated received object
Definition at line 281 of file acl_envelope.h.
|
inline |
Get destination
Definition at line 150 of file acl_envelope.h.
|
inline |
Get the transport behaviour
Definition at line 297 of file acl_envelope.h.
|
inline |
Get userdefined parameter list
Definition at line 307 of file acl_envelope.h.
| bool fipa::acl::ACLBaseEnvelope::hasReceivedObject | ( | const ReceivedObject & | receivedObject | ) | const |
Test whether the received object has the same sender
Definition at line 141 of file acl_envelope.cpp.
|
inline |
Test whether this envelope has been stamped. This is an alias for hasReceivedObject
Definition at line 336 of file acl_envelope.h.
| ACLBaseEnvelope fipa::acl::ACLBaseEnvelope::merge | ( | const ACLBaseEnvelope & | other | ) | const |
Merges the information of two envelopes – only empty field in this will be overwritten by other
Definition at line 163 of file acl_envelope.cpp.
| bool fipa::acl::ACLBaseEnvelope::removeIntendedReceiver | ( | const AgentID & | agent | ) |
Remove an intended receiver from this list of intended receivers
Definition at line 124 of file acl_envelope.cpp.
| bool fipa::acl::ACLBaseEnvelope::removeTo | ( | const AgentID & | agentId | ) |
Remove an agents from the 'to' list
Definition at line 44 of file acl_envelope.cpp.
| void fipa::acl::ACLBaseEnvelope::setACLRepresentation | ( | representation::Type | representation | ) |
Set the acl representation in use "This is the name of the syntax representation of the message payload." [http://www.fipa.org/specs/fipa00067/SC00067F.html#_Toc26669814]
Definition at line 69 of file acl_envelope.cpp.
| void fipa::acl::ACLBaseEnvelope::setACLRepresentation | ( | const std::string & | represention | ) |
Set ACLRepresentation from string as defined in standard specification
| if | the ACLRepresentation in unknown to the system |
Definition at line 76 of file acl_envelope.cpp.
| void fipa::acl::ACLBaseEnvelope::setComments | ( | const Comments & | comments | ) |
Set comments
| comments | Comments to be set |
Definition at line 63 of file acl_envelope.cpp.
| void fipa::acl::ACLBaseEnvelope::setDate | ( | const base::Time & | date | ) |
Set creation date and time of the message envelope
Definition at line 103 of file acl_envelope.cpp.
| void fipa::acl::ACLBaseEnvelope::setFrom | ( | const AgentID & | from | ) |
Set sender id
| from |
Definition at line 56 of file acl_envelope.cpp.
| void fipa::acl::ACLBaseEnvelope::setIntendedReceivers | ( | const AgentIDList & | receivers | ) |
| void fipa::acl::ACLBaseEnvelope::setPayloadEncoding | ( | const PayloadEncoding & | encoding | ) |
| void fipa::acl::ACLBaseEnvelope::setPayloadLength | ( | const PayloadLength & | length | ) |
| void fipa::acl::ACLBaseEnvelope::setReceivedObject | ( | const ReceivedObject & | receivedObject | ) |
| void fipa::acl::ACLBaseEnvelope::setTo | ( | const AgentIDList & | receivers | ) |
Set destination
| receivers | receiver list |
Definition at line 38 of file acl_envelope.cpp.
| void fipa::acl::ACLBaseEnvelope::setTransportBehaviour | ( | const TransportBehaviour & | transportBehaviour | ) |
| void fipa::acl::ACLBaseEnvelope::setUserdefinedParameters | ( | const UserdefinedParameterList & | parameters | ) |
|
inline |
Add a receipt for this message, i.e. add a received object to the envelope. This function is an alias for setReceivedObject
Definition at line 330 of file acl_envelope.h.
1.8.13