|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface PortalProxy
Proxy for PortalServer, which is a "gateway" between a low-bandwidth/intermittent node, and off-platform clients.
| Field Summary | |
|---|---|
static long |
ASAP
Indicates "send command as soon as possible". |
static long |
WHENEVER
Indicates "send command, no matter how late. |
| 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 service |
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. |
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. |
| Field Detail |
|---|
static final long ASAP
static final long WHENEVER
| Method Detail |
|---|
java.lang.String getName()
throws java.rmi.RemoteException
java.rmi.RemoteException
java.lang.String getPortalHostName()
throws java.rmi.RemoteException
java.rmi.RemoteException
long getId()
throws java.rmi.RemoteException
java.rmi.RemoteException
boolean connected()
throws java.rmi.RemoteException
java.rmi.RemoteException
int getStatus()
throws java.rmi.RemoteException
java.rmi.RemoteException
long nextConnectTime()
throws java.rmi.RemoteException
java.rmi.RemoteException
DevicePacketStream getDevicePacketStream(Authentication auth)
throws java.rmi.RemoteException,
AuthenticationException
java.rmi.RemoteException
AuthenticationException
DevicePacketStream getDevicePacketStream(long sensorID,
Authentication auth)
throws java.rmi.RemoteException,
DeviceNotFound,
AuthenticationException
java.rmi.RemoteException
DeviceNotFound
AuthenticationException
Port[] getPortConfiguration()
throws java.rmi.RemoteException,
UnknownConfiguration
java.rmi.RemoteException
UnknownConfiguration
java.util.Vector getQueuedCommands()
throws java.rmi.RemoteException
java.rmi.RemoteException
java.util.Vector getSentCommands()
throws java.rmi.RemoteException
java.rmi.RemoteException
void nodeLinkConnected()
throws java.rmi.RemoteException
java.rmi.RemoteException
void nodeLinkDisconnecting(long nextConnectTime)
throws java.rmi.RemoteException
java.rmi.RemoteException
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||