public enum DatagramCapability extends Enum
Capabilities of datagram service providers.
Agents providing a datagram service can be queried for these capabilities.
Code example:
CapabilityReq capreq = new CapabilityReq(agent.agentForService(Services.LINK), DatagramCapability.FRAGMENTATION);
Message rspcap = agent.request(capreq, 1000);
if (rspcap.getPerformative() == Performative.CONFIRM){
// agent is capable of the requested capability
}
Enum constant | Description |
---|---|
CANCELLATION |
|
FRAGMENTATION |
|
PRIORITY |
|
PROGRESS |
|
RELIABILITY |
|
TTL |
Copyright 2013-19, Acoustic Research Laboratory, National University of Singapore, and Subnero Pte Ltd