Request message to query what agent is capable of.
| Modifiers | Name | Description |
|---|---|---|
protected Capability |
cap |
| Constructor and description |
|---|
CapabilityReq
() |
CapabilityReq
(AgentID recipient)Constructs capability request message for given agent id. |
CapabilityReq
(Capability cap)Constructs query message for given capability. |
CapabilityReq
(AgentID recipient, Capability cap)Constructs query message for given capability to recipient agent ID. |
| Type Params | Return Type | Name and description |
|---|---|---|
|
Capability |
getCapability()Gets the capability to be queried. |
|
String |
toString() |
| Methods inherited from class | Name |
|---|---|
class Message |
toString, setRecipient, setPerformative, getPerformative, getRecipient, setSender, getSender, setMessageID, getMessageID, setInReplyTo, getInReplyTo, setSentAt, getSentAt, wait, wait, wait, equals, hashCode, getClass, notify, notifyAll |
Constructs capability request message for given agent id.
recipient - agent idConstructs query message for given capability.
cap - CapabilityConstructs query message for given capability to recipient agent ID.
recipient - agent idcap - CapabilityGets the capability to be queried.
Copyright 2013-19, Acoustic Research Laboratory, National University of Singapore, and Subnero Pte Ltd