org.mbari.siam.utils
Class SimulatedShoreMessagingService
java.lang.Object
java.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
org.mbari.siam.utils.ShoreMessagingService
org.mbari.siam.utils.SimulatedShoreMessagingService
- All Implemented Interfaces:
- java.io.Serializable, java.rmi.Remote, RemoteService, ShoreMessaging
public class SimulatedShoreMessagingService
- extends ShoreMessagingService
- implements ShoreMessaging
Simulated implementation of ShoreMessaging
- See Also:
- Serialized Form
| Fields inherited from class java.rmi.server.RemoteObject |
ref |
|
Method Summary |
void |
connect(int timeoutSec)
Connect modem to shore, attempt to downlink queued messages |
static void |
main(java.lang.String[] args)
|
int |
maxDownlinkMsgBytes()
Return maximum bytes allowed in a downlink message |
| 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 |
MAX_DOWNLINK_MSG_BYTES
protected static final int MAX_DOWNLINK_MSG_BYTES
- See Also:
- Constant Field Values
SimulatedShoreMessagingService
public SimulatedShoreMessagingService()
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
connect
public void connect(int timeoutSec)
throws ShoreMessagingHelper.ModemInUse
- Description copied from interface:
ShoreMessaging
- Connect modem to shore, attempt to downlink queued messages
- Specified by:
connect in interface ShoreMessaging
- Throws:
ShoreMessagingHelper.ModemInUse
maxDownlinkMsgBytes
public int maxDownlinkMsgBytes()
- Description copied from interface:
ShoreMessaging
- Return maximum bytes allowed in a downlink 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.