org.mbari.siam.devices.nalModem
Class NAL9601MessagingService

java.lang.Object
  extended by java.rmi.server.RemoteObject
      extended by java.rmi.server.RemoteServer
          extended by java.rmi.server.UnicastRemoteObject
              extended by org.mbari.siam.utils.ShoreMessagingService
                  extended by org.mbari.siam.devices.nalModem.NALMessagingService
                      extended by org.mbari.siam.devices.nalModem.NAL9601MessagingService
All Implemented Interfaces:
java.io.Serializable, java.rmi.Remote, RemoteService, ShoreMessaging

public class NAL9601MessagingService
extends NALMessagingService
implements ShoreMessaging

Simulated implementation of ShoreMessaging

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.mbari.siam.devices.nalModem.NALMessagingService
NALMessagingService.ConnectionTimer
 
Nested classes/interfaces inherited from class org.mbari.siam.utils.ShoreMessagingService
ShoreMessagingService.ShutdownTask
 
Field Summary
protected static int MAX_DOWNLINK_MSG_BYTES
           
protected static int MAX_UPLINK_MSG_BYTES
           
 
Fields inherited from class org.mbari.siam.devices.nalModem.NALMessagingService
_aggregateMsg, _checkForUplinks, _connectionTimer, _log4j, _nPendingUplinks, _serialPortName, _uplinkMsg, MAX_CONSEC_DOWNLINK_FAILED, MAX_CONSEC_UPLINK_FAILED, MAX_UPLINKS_PER_SESSION, PROFILE_NUMBER, READ_TIMEOUT_MSEC
 
Fields inherited from class org.mbari.siam.utils.ShoreMessagingService
_downlinkMsgQ
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Constructor Summary
NAL9601MessagingService(java.lang.String serialPortName)
           
 
Method Summary
static void main(java.lang.String[] args)
           
 int maxDownlinkMsgBytes()
          Return maximum bytes in downlinked message
 
Methods inherited from class org.mbari.siam.devices.nalModem.NALMessagingService
configureModem, connect, downlinkMsg, getUplinkMsgs, nPendingUplinks, openSerialPort, receivedSignalStrength, restoreModem, retrieveAndQueueUplink, sleep
 
Methods inherited from class org.mbari.siam.utils.ShoreMessagingService
nQueuedDownlinkMsgs, ping, queueDownlinkMessage, shutdown
 
Methods inherited from class java.rmi.server.UnicastRemoteObject
clone, exportObject, exportObject, exportObject, unexportObject
 
Methods inherited from class java.rmi.server.RemoteServer
getClientHost, getLog, setLog
 
Methods inherited from class java.rmi.server.RemoteObject
equals, getRef, hashCode, toString, toStub
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.mbari.siam.distributed.ShoreMessaging
connect, nQueuedDownlinkMsgs, queueDownlinkMessage, shutdown
 
Methods inherited from interface org.mbari.siam.distributed.RemoteService
ping
 

Field Detail

MAX_DOWNLINK_MSG_BYTES

protected static final int MAX_DOWNLINK_MSG_BYTES
See Also:
Constant Field Values

MAX_UPLINK_MSG_BYTES

protected static final int MAX_UPLINK_MSG_BYTES
See Also:
Constant Field Values
Constructor Detail

NAL9601MessagingService

public NAL9601MessagingService(java.lang.String serialPortName)
                        throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

maxDownlinkMsgBytes

public int maxDownlinkMsgBytes()
Return maximum bytes in downlinked message

Specified by:
maxDownlinkMsgBytes in interface ShoreMessaging

main

public static void main(java.lang.String[] args)


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.