org.mbari.siam.utils
Class NullNetworkManager

java.lang.Object
  extended by org.mbari.siam.utils.NullNetworkManager
All Implemented Interfaces:
NetworkManager

public class NullNetworkManager
extends java.lang.Object
implements NetworkManager

NullNetworkManager is a null implementation of org.mbari.isi.interfaces.NetworkManager


Constructor Summary
NullNetworkManager(java.lang.String localInterfaceName)
          Create the NullNetworkManager.
 
Method Summary
 void keepNodeAwake(java.net.InetAddress node, int msec)
          Keep specified node awake for specified duration.
 void wakeupAllNodes()
          Send wakeup signals to all nodes.
 void wakeupNode(java.net.InetAddress node)
          Send wakeup signal to specified node.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullNetworkManager

public NullNetworkManager(java.lang.String localInterfaceName)
Create the NullNetworkManager. Specify name of local interface to MOOS network (e.g. "mooring", "shore", etc).

Method Detail

wakeupNode

public void wakeupNode(java.net.InetAddress node)
                throws java.io.IOException
Send wakeup signal to specified node.

Specified by:
wakeupNode in interface NetworkManager
Throws:
java.io.IOException

wakeupAllNodes

public void wakeupAllNodes()
                    throws java.io.IOException
Send wakeup signals to all nodes.

Specified by:
wakeupAllNodes in interface NetworkManager
Throws:
java.io.IOException

keepNodeAwake

public void keepNodeAwake(java.net.InetAddress node,
                          int msec)
                   throws java.io.IOException
Keep specified node awake for specified duration.

Specified by:
keepNodeAwake in interface NetworkManager
Throws:
java.io.IOException


Copyright © 2003 MBARI.

The Monterey Bay Aquarium Research Institute (MBARI) provides this documentation and code "as is", with no warranty, express or implied, of its quality or consistency. It is provided without support and without obligation on the part of MBARI to assist in its use, correction, modification, or enhancement.