|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectjavax.rmi.PortableRemoteObject
org.mbari.siam.operations.portal.PortalTest
public class PortalTest
| Field Summary |
|---|
| Fields inherited from interface org.mbari.siam.distributed.portal.PortalProxy |
|---|
ASAP, WHENEVER |
| Constructor Summary | |
|---|---|
PortalTest(java.lang.String publicPortalAddress,
java.lang.String privatePortalAddress,
java.lang.String remoteNodeAddress)
|
|
| Method Summary | |
|---|---|
boolean |
connected()
Returns true if communication link is up. |
DevicePacketStream |
getDevicePacketStream(Authentication auth)
Get DevicePacketStream for all sensors. |
DevicePacketStream |
getDevicePacketStream(long sensorID,
Authentication auth)
Get DevicePacketStream for specified sensor. |
long |
getId()
Unique identifier of platform |
java.lang.String |
getName()
Name of portal host |
java.lang.String |
getPortalHostName()
Name of portal host |
Port[] |
getPortConfiguration()
Return port information for node |
java.util.Vector |
getQueuedCommands()
Return QueuedCommands which haven't been sent to platform yet. |
java.util.Vector |
getSentCommands()
Return QueuedCommands which have already been sent to platform. |
int |
getStatus()
Status of platform. |
static void |
main(java.lang.String[] args)
|
long |
nextConnectTime()
Returns true of next communication link. |
void |
nodeLinkConnected()
Notify portal that link to remote node is "up". |
void |
nodeLinkDisconnecting(long nextConnectTime)
Notify portal that link to remote node is about to be disconnected. |
| Methods inherited from class javax.rmi.PortableRemoteObject |
|---|
connect, exportObject, narrow, toStub, unexportObject |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PortalTest(java.lang.String publicPortalAddress,
java.lang.String privatePortalAddress,
java.lang.String remoteNodeAddress)
throws java.rmi.RemoteException
java.rmi.RemoteException| Method Detail |
|---|
public java.lang.String getName()
getName in interface PortalProxypublic java.lang.String getPortalHostName()
getPortalHostName in interface PortalProxypublic long getId()
getId in interface PortalProxypublic boolean connected()
connected in interface PortalProxypublic int getStatus()
getStatus in interface PortalProxypublic long nextConnectTime()
nextConnectTime in interface PortalProxy
public DevicePacketStream getDevicePacketStream(Authentication auth)
throws AuthenticationException
getDevicePacketStream in interface PortalProxyAuthenticationException
public DevicePacketStream getDevicePacketStream(long sensorID,
Authentication auth)
throws DeviceNotFound,
AuthenticationException
getDevicePacketStream in interface PortalProxyDeviceNotFound
AuthenticationException
public Port[] getPortConfiguration()
throws java.rmi.RemoteException,
UnknownConfiguration
getPortConfiguration in interface PortalProxyjava.rmi.RemoteException
UnknownConfigurationpublic java.util.Vector getQueuedCommands()
getQueuedCommands in interface PortalProxypublic java.util.Vector getSentCommands()
getSentCommands in interface PortalProxypublic void nodeLinkConnected()
nodeLinkConnected in interface PortalProxypublic void nodeLinkDisconnecting(long nextConnectTime)
nodeLinkDisconnecting in interface PortalProxypublic static void main(java.lang.String[] args)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||