Agent implements an carrier-sensing protocol to provide medium access control (MAC). The implementation is similar to a non-persistent CSMA with truncated exponential backoff.
Modifiers | Name | Description |
---|---|---|
static String |
description |
|
static String |
title |
Type | Name and description |
---|---|
float |
maxBackoff |
float |
maxReservationDuration |
float |
minBackoff |
AgentID |
phy |
AgentID |
phy |
float |
recommendedReservationDuration |
Type Params | Return Type | Name and description |
---|---|---|
|
int |
getAckPayloadSize() |
|
boolean |
getChannelBusy() |
|
float |
getMaxBackoff() |
|
float |
getMaxReservationDuration() |
|
float |
getMinBackoff() |
|
protected List<Parameter> |
getParameterList() |
|
AgentID |
getPhy() |
|
float |
getRecommendedReservationDuration() |
|
int |
getReservationPayloadSize() |
|
int |
getReservationsPending() |
|
protected void |
processMessage(Message msg) |
|
protected Message |
processRequest(Message msg) |
|
void |
setMaxBackoff(float max) |
|
void |
setMaxReservationDuration(float x) |
|
void |
setMinBackoff(float min) |
|
AgentID |
setPhy(AgentID phy) |
|
String |
setPhy(String phy) |
|
void |
setRecommendedReservationDuration(float x) |
|
protected void |
setup() |
|
protected void |
startup() |
Methods inherited from class | Name |
---|---|
class UnetAgent |
addCapability, allOf, deregister, deregister, die, get, get, getBuildInfo, getLogLevel, getParam, getParameterClasses, getParameterClasses, getParameterList, getParameterList, getServices, getTitle, getVersion, init, isReadOnly, longValue, processMessage, processQuery, processRequest, register, register, set, set, setLogLevel, setParam, setup, shutdown, startup, subscribeForService, subscribeForService, trace, trace, trace, unsubscribeForService, unsubscribeForService |