Response message for CapabilityReq message providing list of Capability of an agent.
Modifiers | Name | Description |
---|---|---|
protected Set<Capability> |
capSet |
Constructor and description |
---|
CapabilityListRsp
(Message msg, Set<Capability> capSet) Constructs the response for CapabilityReq. |
Type Params | Return Type | Name and description |
---|---|---|
|
Set<Capability> |
getCapabilities() Gets capabilities. |
|
boolean |
isCapableOf(Capability cap) Checks if agent is capable of. |
|
String |
toString() |
Methods inherited from class | Name |
---|---|
class Message |
setPerformative, toString, getSender, setMessageID, getSentAt, setRecipient, getInReplyTo, setSentAt, setSender, getPerformative, getRecipient, getMessageID, setInReplyTo, wait, wait, wait, equals, hashCode, getClass, notify, notifyAll |
Constructs the response for CapabilityReq.
msg
- inReply tocapSet
- supported CapabilityGets capabilities.
Checks if agent is capable of.
cap
- capabilityCopyright 2013-21, Acoustic Research Laboratory, National University of Singapore, and Subnero Pte Ltd