|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectjava.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
org.mbari.siam.moos.utils.nodeview.monitor.NodeProxyImpl
public class NodeProxyImpl
| Field Summary | |
|---|---|
protected static org.apache.log4j.Logger |
_log4j
log4j logger |
protected ParserFactory |
_parserFactory
for now, we use a factory method to retrieve custom made parsers; later, we'll use XML or SSDS interface |
| Fields inherited from class java.rmi.server.RemoteObject |
|---|
ref |
| Constructor Summary | |
|---|---|
NodeProxyImpl()
Default Constructor |
|
| Method Summary | |
|---|---|
void |
doPortOperation(java.awt.event.ActionEvent e,
java.lang.String nodeURL,
java.lang.String[] selectedPorts)
Do a specified operation (event Action command) on a node for a given set of ports |
Device |
getDevice(Node node,
long id)
Return a device service with the specified id from the specified node |
double |
getNodeSample(java.lang.String nodeURL,
long isiID,
java.lang.String dataItem)
Get and parse a sample from device with isiID on a specified node; Parser is expected to recognize dataItem mnemonic to identify the particular data item to be returned. |
Node |
getNodeService(java.lang.String nodeURL)
Return the specified node service |
SensorDataPacket |
getPacketFromNode(java.lang.String nodeURL,
long isiID)
Request a data packet w/o logging from the specified node |
SensorDataPacket |
getPacketFromStream(java.lang.String portalURL,
long isiID)
Get a packet from a portal data stream |
DevicePacketStream |
getPacketStream(java.lang.String portalURL)
Return a device packet stream from the specified portal |
java.util.Vector |
getParsedPacket(java.lang.String portalURL,
long isiID)
Get a vector of all data contained in a specified packet from a portal packet stream |
double |
getPortalSample(java.lang.String portalURL,
long isiID,
java.lang.String dataItem)
Get and parse a sample from device with isiID from a portal packet stream; Parser is expected to recognize dataItem mnemonic to identify the particular data item to be returned. |
Port[] |
getPorts(Node nodeService)
Return an array of all available ports on the specified node |
Port[] |
getPorts(java.lang.String nodeURL)
Return an array of all available ports on the specified node |
java.lang.String[][] |
getPortStatusStrings(java.lang.String nodeURL)
Get an array of strings indicating the status of all ports on a given node |
double |
pickANumber()
Test code generates a random number |
void |
setSecurityManager()
Set security manager is it has not been set |
| 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 |
| Field Detail |
|---|
protected static org.apache.log4j.Logger _log4j
protected ParserFactory _parserFactory
| Constructor Detail |
|---|
public NodeProxyImpl()
throws java.rmi.RemoteException
java.rmi.RemoteException| Method Detail |
|---|
public double pickANumber()
throws java.rmi.RemoteException
pickANumber in interface NodeProxyjava.rmi.RemoteException
public double getNodeSample(java.lang.String nodeURL,
long isiID,
java.lang.String dataItem)
throws java.rmi.RemoteException
getNodeSample in interface NodeProxyjava.rmi.RemoteException
public double getPortalSample(java.lang.String portalURL,
long isiID,
java.lang.String dataItem)
throws java.rmi.RemoteException
getPortalSample in interface NodeProxyjava.rmi.RemoteException
public java.util.Vector getParsedPacket(java.lang.String portalURL,
long isiID)
throws java.rmi.RemoteException
getParsedPacket in interface NodeProxyjava.rmi.RemoteExceptionpublic DevicePacketStream getPacketStream(java.lang.String portalURL)
public SensorDataPacket getPacketFromStream(java.lang.String portalURL,
long isiID)
public void setSecurityManager()
public Node getNodeService(java.lang.String nodeURL)
getNodeService in interface NodeProxy
public Device getDevice(Node node,
long id)
public SensorDataPacket getPacketFromNode(java.lang.String nodeURL,
long isiID)
public Port[] getPorts(java.lang.String nodeURL)
throws java.rmi.RemoteException
getPorts in interface NodeProxyjava.rmi.RemoteException
public Port[] getPorts(Node nodeService)
throws java.rmi.RemoteException
java.rmi.RemoteException
public java.lang.String[][] getPortStatusStrings(java.lang.String nodeURL)
throws java.rmi.RemoteException
getPortStatusStrings in interface NodeProxyjava.rmi.RemoteException
public void doPortOperation(java.awt.event.ActionEvent e,
java.lang.String nodeURL,
java.lang.String[] selectedPorts)
throws java.rmi.RemoteException
doPortOperation in interface NodeProxyjava.rmi.RemoteException
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||