All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class RouterLayer.Router.OffLineAgentTable

RouterLayer.Router.OffLineAgentTable

public class OffLineAgentTable
Table which contains the off line agent list. 'Off-line' agent is the agent, which does not send 'disconnect-agent' message to the router, but to which the router can not send message.(normally accidental disconnection from the router client side). If the agent is an applet, it will not be added to the off line agent list, since the router can not initiate the connection to the applet.


Constructor Index

 o OffLineAgentTable(int, int)
Constructor

Method Index

 o addAgent(Address)
Agent off line is only applied to the stand alone agent.

Constructors

 o OffLineAgentTable
 public OffLineAgentTable(int maxtrial,
                          int checkperiod)
Constructor

Parameters:
maxtrial - Maximum trial times to send message
checkperiod - Check period in minutes

Methods

 o addAgent
 public void addAgent(Address address)
Agent off line is only applied to the stand alone agent. If the agent is an applet, the agent will not be added to the off line list

Parameters:
address - Add off-line agent to the table

All Packages  Class Hierarchy  This Package  Previous  Next  Index