| ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Thread | +--mam.internetworking.Node
Description of the Class
Field Summary | |
(package private) final static String | CONFIGURATION_LOCAL_ADDRESS_ATTRIBUTE |
(package private) final static String | CONFIGURATION_PORT_ATTRIBUTE |
(package private) final static String | CONFIGURATION_ROUTE_RECALCULATION_INTERVAL_ATTRIBUTE |
(package private) final static String | CONFIGURATION_ROUTE_REFRESH_INTERVAL_ATTRIBUTE |
(package private) final static String | CONFIGURATION_ROUTING_PATH_NEXT_STOP_ATTRIBUTE |
(package private) final static String | CONFIGURATION_ROUTING_PATH_STRENGTH_ATTRIBUTE |
(package private) final static String | CONFIGURATION_ROUTING_PATH_TAG |
(package private) final static String | CONFIGURATION_ROUTING_TAG_ATTRIBUTE |
(package private) final static String | CONFIGURATION_TAGGED_ROUTING_PATHS_TAG |
final static String | DEFAULT_CONFIGURATION_FILENAME Description of the Field |
(package private) final static double | DEFAULT_NEW_ROUTE_STRENGTH |
(package private) final static int | DEFAULT_PORT |
final static String | DEFAULT_TAG_NAME Description of the Field |
(package private) final static RoutingTag | LOCAL_NODE_ROUTING_TAG |
(package private) static Category | Log |
protected Collection | m_agentFacilities Description of the Field |
protected String | m_configurationFilename Description of the Field |
protected boolean | m_debug Description of the Field |
protected String | m_localAddress |
(package private) static Node | m_localNode |
protected URL | m_localUrl Description of the Field |
protected boolean | m_persistLocalAddress |
protected int | m_port Description of the Field |
protected boolean | m_quit Description of the Field |
protected int | m_routedMessageCount Description of the Field |
protected AgedSet | m_routedMessages Description of the Field |
(package private) RouteManager | m_routeManager |
protected int | m_routeRecalculationInterval Description of the Field |
(package private) RouteRefresher | m_routeRefresher |
protected int | m_routeRefreshInterval Description of the Field |
protected RoutingTable | m_routingTable Description of the Field |
protected boolean | m_shutdownComplete Description of the Field |
(package private) SocketDaemon | m_socketDaemon |
(package private) final static int | MAX_GRACE_PERIOD |
protected final static int | RECEIVED_MESSAGES_HALF_LIFE_QUEUE_SIZE Description of the Field |
Fields inherited from class java.lang.Thread |
MIN_PRIORITY, NORM_PRIORITY, MAX_PRIORITY |
Constructor Summary | |
Node() Constructor for the Node object | |
Node(String filename) Constructor for the Node object |
Method Summary | |
synchronized void | addFacility(Facility agentFacility) Adds a feature to the Facility attribute of the Node object |
protected void | forwardAgentMessage(RoutingTag destinationTag, AgentMessage agentMessage) Description of the Method |
protected String | getConfigurationFilename() Gets the ConfigurationFilename attribute of the Node object |
static Node | getLocalNode() Gets the LocalNode attribute of the Node class |
static Node | getLocalNode(String filename) Gets the LocalNode attribute of the Node class |
synchronized AgedSet | getRoutedMessages() Gets the RoutedMessages attribute of the Node object |
protected RoutingTable | getRoutingTable() Gets the RoutingTable attribute of the Node object |
boolean | getShutdownComplete() Gets the ShutdownComplete attribute of the Node object |
protected synchronized void | handleAgentMessageReceived(AgentMessage incomingMessage) Description of the Method |
protected void | load() Description of the Method |
synchronized void | registerTag(RoutingTag routingTag) Description of the Method |
synchronized void | removeFacility(Facility agentFacility) Description of the Method |
void | run() Main processing method for the Node object |
protected void | save() Description of the Method |
synchronized void | sendAgentMessage(RoutingTag destinationTag, AgentMessage agentMessage) Description of the Method |
protected synchronized void | sendMessage(RoutableMessage message) Description of the Method |
protected synchronized void | sendMessage(URL destination, RoutableMessage message) Description of the Method |
protected void | setConfigurationFilename(String configurationFilename) Sets the ConfigurationFilename attribute of the Node object |
protected void | setShutdownComplete() Sets the ShutdownComplete attribute of the Node object |
protected void | shutdown() Description of the Method |
synchronized void | signalQuit() Description of the Method |
protected void | startUp() Description of the Method |
void | strengthenRoutingPath(RoutingTag tag, RemoteableRoutingPath path, double weight) Description of the Method |
void | weakenRoutingPath(RoutingTag tag, RemoteableRoutingPath path, double weight) Description of the Method |
Methods inherited from class java.lang.Thread |
currentThread, yield, sleep, sleep, start, stop, stop, interrupt, interrupted, isInterrupted, destroy, isAlive, suspend, resume, setPriority, getPriority, setName, getName, getThreadGroup, activeCount, enumerate, countStackFrames, join, join, join, dumpStack, setDaemon, isDaemon, checkAccess, toString, getContextClassLoader, setContextClassLoader |
Methods inherited from class java.lang.Object |
getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize |
Field Detail |
final static String CONFIGURATION_LOCAL_ADDRESS_ATTRIBUTE
final static String CONFIGURATION_PORT_ATTRIBUTE
final static String CONFIGURATION_ROUTE_RECALCULATION_INTERVAL_ATTRIBUTE
final static String CONFIGURATION_ROUTE_REFRESH_INTERVAL_ATTRIBUTE
final static String CONFIGURATION_ROUTING_PATH_NEXT_STOP_ATTRIBUTE
final static String CONFIGURATION_ROUTING_PATH_STRENGTH_ATTRIBUTE
final static String CONFIGURATION_ROUTING_PATH_TAG
final static String CONFIGURATION_ROUTING_TAG_ATTRIBUTE
final static String CONFIGURATION_TAGGED_ROUTING_PATHS_TAG
public final static String DEFAULT_CONFIGURATION_FILENAME
final static double DEFAULT_NEW_ROUTE_STRENGTH
final static int DEFAULT_PORT
public final static String DEFAULT_TAG_NAME
final static RoutingTag LOCAL_NODE_ROUTING_TAG
static Category Log
protected Collection m_agentFacilities
protected String m_configurationFilename
protected boolean m_debug
protected String m_localAddress
static Node m_localNode
protected URL m_localUrl
protected boolean m_persistLocalAddress
protected int m_port
protected boolean m_quit
protected int m_routedMessageCount
protected AgedSet m_routedMessages
RouteManager m_routeManager
protected int m_routeRecalculationInterval
RouteRefresher m_routeRefresher
protected int m_routeRefreshInterval
protected RoutingTable m_routingTable
protected boolean m_shutdownComplete
SocketDaemon m_socketDaemon
final static int MAX_GRACE_PERIOD
protected final static int RECEIVED_MESSAGES_HALF_LIFE_QUEUE_SIZE
Constructor Detail |
public Node()
public Node(String filename)
Method Detail |
public synchronized void addFacility(Facility agentFacility)
protected void forwardAgentMessage(RoutingTag destinationTag, AgentMessage agentMessage)
protected String getConfigurationFilename()
public static Node getLocalNode()
public static Node getLocalNode(String filename)
public synchronized AgedSet getRoutedMessages()
protected RoutingTable getRoutingTable()
public boolean getShutdownComplete()
protected synchronized void handleAgentMessageReceived(AgentMessage incomingMessage)
protected void load()
public synchronized void registerTag(RoutingTag routingTag)
public synchronized void removeFacility(Facility agentFacility)
public void run()
protected void save()
public synchronized void sendAgentMessage(RoutingTag destinationTag, AgentMessage agentMessage)
protected synchronized void sendMessage(RoutableMessage message)
protected synchronized void sendMessage(URL destination, RoutableMessage message)
protected void setConfigurationFilename(String configurationFilename)
protected void setShutdownComplete()
protected void shutdown()
public synchronized void signalQuit()
protected void startUp()
public void strengthenRoutingPath(RoutingTag tag, RemoteableRoutingPath path, double weight)
public void weakenRoutingPath(RoutingTag tag, RemoteableRoutingPath path, double weight)
| ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |