public interface RouterThrottle| Modifier and Type | Method and Description |
|---|---|
boolean | acceptNetworkMessage()Should we accept any more data from the network for any sort of message,
taking into account our current load, or should we simply slow down? |
int | acceptTunnelRequest()Should we accept the request to participate in the given tunnel,
taking into account our current load and bandwidth usage commitments? |
void | cancelShutdownStatus() |
String | getLocalizedTunnelStatus() |
long | getMessageDelay()How backed up we are at the moment processing messages (in milliseconds) |
long | getTunnelLag()How backed up our tunnels are at the moment (in milliseconds) |
String | getTunnelStatus()Message on the state of participating tunnel acceptance |
void | setShutdownStatus() |
void | setTunnelStatus(String msg)Update the tunnel acceptance status message. |
boolean acceptNetworkMessage()
int acceptTunnelRequest()
void cancelShutdownStatus()
String getLocalizedTunnelStatus()
long getMessageDelay()
long getTunnelLag()
String getTunnelStatus()
void setShutdownStatus()
void setTunnelStatus(String msg)