|
||||||||
| 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.core.NodeService
public class NodeService
NodeService implements the Node interface, and manages multiple Devices (including Instruments).
| Field Summary | |
|---|---|
protected DevicePacketAggregator |
_aggregator
|
protected AuxComms |
_auxComms
|
protected java.text.SimpleDateFormat |
_dateFormat
|
protected long |
_leaseDuration
|
protected long |
_leaseRenewalInterval
|
protected NetworkManager |
_networkManager
|
protected NodeManager |
_nodeManager
|
protected NodeProperties |
_nodeProperties
|
protected java.net.InetAddress |
_parentAddr
|
protected java.lang.String |
_parentHost
Name of "parent node" - note that primary surface node's parent is the portal. |
protected PortManager |
_portManager
|
protected java.util.Vector |
_ports
|
protected java.util.Properties |
_scratchProperties
|
protected java.net.InetAddress |
_surfaceAddr
|
protected org.mbari.siam.core.NodeService.Turbinator |
_turbinator
|
protected PacketFilter[] |
_typeFilters
|
java.lang.String |
_wdtStatus
|
| Fields inherited from class java.rmi.server.RemoteObject |
|---|
ref |
| Fields inherited from interface org.mbari.siam.distributed.Node |
|---|
SERVER_NAME |
| Constructor Summary | |
|---|---|
NodeService(PortManager portManager,
java.lang.String parentHost)
Create the NodeService. |
|
| Method Summary | |
|---|---|
void |
addEventCallback(NodeEventCallback callback)
Add a RMI node event callback object. |
byte[] |
addSchedule(byte[] port,
byte[] scheduleName,
byte[] schedule,
boolean overwrite)
Add Schedule |
void |
annotate(byte[] annotation)
Append annotation to node data stream. |
void |
cpuLease(int requestorID,
long when,
long howLong)
Request that the CPU come on at a certain time in the future and/or remain on for a certain duration. |
void |
enterSafeMode()
Put node and its devices into "safe" mode. |
void |
enterSafeMode(long timeoutSec)
|
int |
establishLease(long leaseMillisec,
byte[] clientNote)
Request a lease of the primary comms medium. |
int |
establishLease(long leaseMillisec,
byte[] clientNote,
boolean usePrimary)
Request a lease of either the primary or auxillary comms medium |
void |
exitApplication()
Shutdown all services and exits the SIAM application. |
void |
exitApplication(boolean doSafemode,
boolean doHalt,
boolean enableBackups,
boolean doNotify,
boolean recursive,
int quitDelaySec,
int haltDelaySec,
java.lang.String msg)
Shutdown all services and exits the SIAM application. |
void |
failureDetected(PowerEvent e)
Action performed when power failure is detected Satisfies PowerListener interface |
Device |
getDevice(byte[] portName)
Return Device associated with specified comm port. |
Device |
getDevice(long deviceID)
Get specified device service proxy. |
DevicePacketSet |
getDevicePackets(long deviceID,
long startTime,
long endTime)
Get DevicePacket objects, from specified sensor, within specified time window. |
DevicePacketSet |
getDevicePackets(long deviceID,
long startTime,
long endTime,
int typeMask)
Get DevicePacket objects, from specified sensor, within specified time window. |
DevicePacketSet |
getDevicePackets(long sensorId,
long startTime,
long endTime,
int numBytes,
int timeout)
Get DevicePacket objects, from specified sensor, within specified time window. |
DevicePacketSet |
getDevicePackets(long sensorId,
long startTime,
long endTime,
int numBytes,
int typeMask,
int timeout)
Get DevicePacket objects, from specified sensor, within specified time window. |
Device[] |
getDevices()
Get all device service proxies. |
protected DeviceService |
getDeviceService(byte[] portName)
Return DeviceService associated with specified comm port. |
java.lang.String |
getDiagnosticsStatusSummary()
Get the Status Summary from the Diagnostics |
long |
getId()
Unique identifier for Node instance |
LeaseDescription[] |
getLeases(boolean usePrimary)
Get list of all active leases managed by the node |
Location |
getLocation()
Return Location of Node. |
byte[] |
getMetadata()
Get Node metadata. |
byte[] |
getName()
Returns name of Node's class. |
NetworkManager |
getNetworkManager()
Return the NetworkManager |
NodeInfo |
getNodeInfo()
Get basic information about node and its subnodes |
PortConfiguration[] |
getPortConfiguration()
Get configuration of Node ports. |
byte[] |
getPortDiagnostics(boolean logPacket)
Get diagnostics message from device's port and optionally log it. |
Port[] |
getPorts()
Get array of Node's Port objects. |
PowerSwitch[] |
getPowerSwitches()
Get array of Node's power switches. |
java.util.Vector |
getProperties()
Get Vector of node properties; each Vector element consists of byte array with form "key=value". |
RemoteSerialPort |
getRemoteSerialPort(byte[] portName)
Return remote serial port to client. |
RemoteSerialPort |
getRemoteSerialPort(byte[] portName,
int timeout)
Return remote serial port with a timeout milliseconds |
byte[] |
getSchedule()
Get Printable Schedule |
byte[] |
getSchedule(byte[] port,
long lookAheadSeconds)
Get Printable Schedule from one service |
byte[] |
getSchedule(long lookAheadSeconds)
Get Printable Schedule |
protected ScheduleOwner |
getScheduleOwner(byte[] port)
This returns a ScheduleOwner for the schedule methods. |
byte[] |
getStatus(boolean logPackets)
Return byte string with node health/status information. |
Subnode[] |
getSubnodeObjects()
Get list of immediate subnodes. |
java.net.InetAddress[] |
getSubnodes()
Get list of immediate subnodes. |
java.lang.String |
getWdtStatus()
|
java.net.InetAddress |
host()
Return InetAddress of node service host. |
void |
initialize()
Initialize the Node. |
byte[] |
instrumentRegistryStatus()
Get InstrumentRegistry status |
Instrument |
lookupService(java.lang.String registryName)
Find an Instrument in the InstrumentRegistry by registryName |
void |
notifyParent(java.lang.String message)
Notify parent; send message to parent node log |
void |
notifyParentLinkConnected()
Tell the parent that the comms link is up |
void |
notifyParentLinkDisconnecting(long nextConnectTime)
Tell the parent that the comms link is being torn down |
protected boolean |
parentIsPrimary()
Return true if parent is the surface node |
void |
ping()
Just return - indicates service is alive |
protected void |
pingWDT(NodeSessionInfo sessionInfo)
|
void |
powerDownPort(byte[] commPortName)
Power down a port |
int |
powerOff()
Turn device power off to all devices. |
void |
powerUpPort(byte[] commPortName,
int currentLimit)
power up a port and enable the comms if a service is not already using it |
void |
quitApplication(int delaySec)
Exits the SIAM application after specified delay. |
void |
readLog4jConfig()
Reload log4j configuration. |
byte[] |
removeSchedule(byte[] port,
byte[] scheduleName)
Remove Schedule |
void |
removeSubnode(java.net.InetAddress address)
Remove specified subnode from list. |
void |
renewLease(int leaseID,
long leaseMillisec)
Renew a lease with the Node's primary comms medium |
void |
renewLease(int leaseID,
long leaseMillisec,
boolean usePrimary)
Renew a lease with the Node's primary or secondary comms medium |
void |
resetPortDiagnostics()
Reset port diagnostics. |
void |
restartService(byte[] portName)
Restart service (if any) associated with specified port, initialize service and device. |
void |
resumeNormalMode()
Return from "safe" mode; resume normal operations. |
byte[] |
resumeSchedule(byte[] port,
byte[] scheduleName)
Resume Schedule Entry |
void |
resumeService(byte[] portName)
Resume service (if any) associated with specified port. |
byte[] |
runCommand(byte[] cmd,
int timeoutSec)
Tell node to execute a Linux or shell command. |
void |
runDiagnostics(java.lang.String note)
Run diagnostic procedure; called through Parent interface. |
void |
scanPort(byte[] commPortName)
Scan specified port, load service. |
void |
scanPort(byte[] commPortName,
byte[] serviceSource)
Scan specified port, load service. |
void |
scanPorts()
Scan all ports, load services. |
void |
setBackups(int enableBatteries,
int enableCapacitors)
Set battery backups and holdup capacitors in local power system. |
void |
setProperties(byte[] propertyStrings)
Set value of specified node service properties. |
void |
shoreLinkDownCallback(java.lang.String interfaceName,
java.lang.String serialName,
java.net.InetAddress localAddress,
java.net.InetAddress remoteAddress)
Called when IP link to shore is disconnected |
void |
shoreLinkUpCallback(java.lang.String interfaceName,
java.lang.String serialName,
java.net.InetAddress localAddress,
java.net.InetAddress remoteAddress)
Called when IP link to shore is connected |
void |
shutdown(PowerEvent e)
Action performed when system is shutting down Satisfies PowerListener interface |
byte[] |
shutdownDeviceService(byte[] portName)
Shutdown and remove service from specified port - return human-readable message. |
byte[] |
shutdownDeviceService(byte[] portName,
boolean enterSafeMode)
Shutdown and remove service from specified port - return human-readable message; optionally put device into 'safe mode' before shutting down service. |
void |
shutdownServices(java.lang.String[] exclusions)
Shutdown all services except those of classes indicated Exclusions is a array of Strings representing fully qualified class names or interfaces |
void |
startComms()
Start task that periodically schedules comms power |
NodeSessionInfo |
startSession(boolean renewWDT,
byte[] initScript,
int scriptTimeoutSec)
Prepare for telemetry retrieval session. |
boolean |
summarizing(long deviceID)
Return true if specified device can supply Summary packets. |
byte[] |
suspendSchedule(byte[] port,
byte[] scheduleName)
Suspend Schedule Entry |
void |
suspendService(byte[] portName)
Suspend service (if any) associated with specified port. |
byte[] |
syncSchedule(byte[] port,
byte[] scheduleName,
long delayMillis)
Synchronize (default) Schedule |
void |
terminateLease(int leaseID)
Terminate the session with the primary communications link. |
void |
terminateLease(int leaseID,
boolean usePrimary)
Terminate the session with the either the primary or auxillary communications link. |
void |
terminateLease(int leaseID,
long nextConnectTime)
Terminate the session with the communications link. |
int |
terminateLeases(byte[] noteMatch)
Terminate all comms leases with notations that match the specified note. |
int |
test()
Run Node's self-test routine. |
void |
writePostExitScript(boolean doHalt,
boolean doNotify,
java.lang.String msg,
int haltDelaySec)
|
| 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 PortManager _portManager
protected java.lang.String _parentHost
protected java.net.InetAddress _parentAddr
protected java.net.InetAddress _surfaceAddr
protected NodeProperties _nodeProperties
protected java.util.Properties _scratchProperties
protected long _leaseDuration
protected long _leaseRenewalInterval
protected AuxComms _auxComms
protected java.text.SimpleDateFormat _dateFormat
public java.lang.String _wdtStatus
protected java.util.Vector _ports
protected NetworkManager _networkManager
protected NodeManager _nodeManager
protected PacketFilter[] _typeFilters
protected DevicePacketAggregator _aggregator
protected org.mbari.siam.core.NodeService.Turbinator _turbinator
| Constructor Detail |
|---|
public NodeService(PortManager portManager,
java.lang.String parentHost)
throws java.rmi.RemoteException,
MissingPropertyException,
InvalidPropertyException,
java.io.IOException
java.rmi.RemoteException
MissingPropertyException
InvalidPropertyException
java.io.IOException| Method Detail |
|---|
public void startComms()
public java.net.InetAddress host()
throws java.net.UnknownHostException
host in interface Nodejava.net.UnknownHostExceptionpublic final byte[] getName()
getName in interface Nodepublic long getId()
getId in interface Node
public void initialize()
throws InitializeException
initialize in interface NodeInitializeException
public Device getDevice(byte[] portName)
throws PortNotFound,
DeviceNotFound,
java.rmi.RemoteException
getDevice in interface NodePortNotFound
DeviceNotFound
java.rmi.RemoteException
protected DeviceService getDeviceService(byte[] portName)
throws PortNotFound,
DeviceNotFound,
java.rmi.RemoteException
PortNotFound
DeviceNotFound
java.rmi.RemoteException
public byte[] shutdownDeviceService(byte[] portName)
throws PortNotFound,
DeviceNotFound
shutdownDeviceService in interface NodePortNotFound
DeviceNotFound
public byte[] shutdownDeviceService(byte[] portName,
boolean enterSafeMode)
throws PortNotFound,
DeviceNotFound
PortNotFound
DeviceNotFoundpublic Port[] getPorts()
getPorts in interface Node
public void runDiagnostics(java.lang.String note)
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.String getDiagnosticsStatusSummary()
public PowerSwitch[] getPowerSwitches()
getPowerSwitches in interface Node
public void scanPort(byte[] commPortName)
throws DeviceNotFound,
PortOccupiedException,
PortNotFound,
java.io.IOException,
DuplicateIdException
scanPort in interface NodeDeviceNotFound
PortOccupiedException
PortNotFound
java.io.IOException
DuplicateIdException
public void scanPort(byte[] commPortName,
byte[] serviceSource)
throws DeviceNotFound,
PortOccupiedException,
PortNotFound,
java.io.IOException,
DuplicateIdException
scanPort in interface NodeDeviceNotFound
PortOccupiedException
PortNotFound
java.io.IOException
DuplicateIdExceptionpublic void scanPorts()
scanPorts in interface Nodepublic int powerOff()
powerOff in interface Nodepublic int test()
test in interface Node
public Location getLocation()
throws UnknownLocationException
getLocation in interface NodeUnknownLocationExceptionpublic NetworkManager getNetworkManager()
public byte[] getMetadata()
getMetadata in interface Nodepublic PortConfiguration[] getPortConfiguration()
getPortConfiguration in interface Node
public Device getDevice(long deviceID)
throws DeviceNotFound,
java.rmi.RemoteException
getDevice in interface NodeDeviceNotFound
java.rmi.RemoteException
public Device[] getDevices()
throws java.rmi.RemoteException
getDevices in interface Nodejava.rmi.RemoteException
public NodeInfo getNodeInfo()
throws java.lang.Exception,
java.rmi.RemoteException
getNodeInfo in interface Nodejava.lang.Exception
java.rmi.RemoteException
public void ping()
throws java.rmi.RemoteException
ping in interface RemoteServicejava.rmi.RemoteException
public void enterSafeMode()
throws java.rmi.RemoteException,
java.lang.Exception
enterSafeMode in interface Nodejava.rmi.RemoteException
java.lang.Exception
public void enterSafeMode(long timeoutSec)
throws java.rmi.RemoteException,
java.lang.Exception
enterSafeMode in interface Nodejava.rmi.RemoteException
java.lang.Exception
public void resumeNormalMode()
throws java.rmi.RemoteException,
java.lang.Exception
resumeNormalMode in interface Nodejava.rmi.RemoteException
java.lang.Exception
public DevicePacketSet getDevicePackets(long deviceID,
long startTime,
long endTime)
throws java.rmi.RemoteException,
DeviceNotFound,
NoDataException
getDevicePackets in interface Nodejava.rmi.RemoteException
DeviceNotFound
NoDataException
public DevicePacketSet getDevicePackets(long deviceID,
long startTime,
long endTime,
int typeMask)
throws java.rmi.RemoteException,
DeviceNotFound,
NoDataException
getDevicePackets in interface Nodejava.rmi.RemoteException
DeviceNotFound
NoDataException
public DevicePacketSet getDevicePackets(long sensorId,
long startTime,
long endTime,
int numBytes,
int timeout)
throws java.rmi.RemoteException,
TimeoutException,
java.lang.IllegalArgumentException,
DeviceNotFound,
NoDataException
getDevicePackets in interface Nodejava.rmi.RemoteException
TimeoutException
java.lang.IllegalArgumentException
DeviceNotFound
NoDataException
public DevicePacketSet getDevicePackets(long sensorId,
long startTime,
long endTime,
int numBytes,
int typeMask,
int timeout)
throws java.rmi.RemoteException,
TimeoutException,
java.lang.IllegalArgumentException,
DeviceNotFound,
NoDataException
getDevicePackets in interface Nodejava.rmi.RemoteException
TimeoutException
java.lang.IllegalArgumentException
DeviceNotFound
NoDataException
public void suspendService(byte[] portName)
throws java.rmi.RemoteException,
PortNotFound,
DeviceNotFound
suspendService in interface Nodejava.rmi.RemoteException
PortNotFound
DeviceNotFound
public void resumeService(byte[] portName)
throws java.rmi.RemoteException,
PortNotFound,
DeviceNotFound
resumeService in interface Nodejava.rmi.RemoteException
PortNotFound
DeviceNotFound
public void restartService(byte[] portName)
throws java.rmi.RemoteException,
PortNotFound,
DeviceNotFound,
InitializeException,
java.lang.Exception
restartService in interface Nodejava.rmi.RemoteException
PortNotFound
DeviceNotFound
InitializeException
java.lang.Exception
public RemoteSerialPort getRemoteSerialPort(byte[] portName)
throws java.rmi.RemoteException,
java.net.UnknownHostException,
PortNotFound,
PortOccupiedException,
java.io.IOException
getRemoteSerialPort in interface Nodejava.rmi.RemoteException
java.net.UnknownHostException
PortNotFound
PortOccupiedException
java.io.IOException
public RemoteSerialPort getRemoteSerialPort(byte[] portName,
int timeout)
throws java.rmi.RemoteException,
java.net.UnknownHostException,
PortNotFound,
PortOccupiedException,
RangeException,
java.io.IOException
getRemoteSerialPort in interface Nodejava.rmi.RemoteException
java.net.UnknownHostException
PortNotFound
PortOccupiedException
RangeException
java.io.IOException
protected ScheduleOwner getScheduleOwner(byte[] port)
throws java.lang.Exception
java.lang.Exception
public byte[] getSchedule()
throws java.rmi.RemoteException
getSchedule in interface Nodejava.rmi.RemoteException
public byte[] getSchedule(long lookAheadSeconds)
throws java.rmi.RemoteException
getSchedule in interface Nodejava.rmi.RemoteException
public byte[] getSchedule(byte[] port,
long lookAheadSeconds)
throws java.rmi.RemoteException
getSchedule in interface Nodejava.rmi.RemoteException
public byte[] addSchedule(byte[] port,
byte[] scheduleName,
byte[] schedule,
boolean overwrite)
throws java.rmi.RemoteException
addSchedule in interface Nodejava.rmi.RemoteException
public byte[] removeSchedule(byte[] port,
byte[] scheduleName)
throws java.rmi.RemoteException
removeSchedule in interface Nodejava.rmi.RemoteException
public byte[] suspendSchedule(byte[] port,
byte[] scheduleName)
throws java.rmi.RemoteException
suspendSchedule in interface Nodejava.rmi.RemoteException
public byte[] resumeSchedule(byte[] port,
byte[] scheduleName)
throws java.rmi.RemoteException
resumeSchedule in interface Nodejava.rmi.RemoteException
public byte[] syncSchedule(byte[] port,
byte[] scheduleName,
long delayMillis)
throws java.rmi.RemoteException
syncSchedule in interface Nodejava.rmi.RemoteExceptionprotected boolean parentIsPrimary()
public int establishLease(long leaseMillisec,
byte[] clientNote)
throws java.rmi.RemoteException,
LeaseRefused
establishLease in interface NodeleaseMillisec - lease period in millisecondsclientNote - note attached by client
java.rmi.RemoteException
LeaseRefused
public int establishLease(long leaseMillisec,
byte[] clientNote,
boolean usePrimary)
throws java.rmi.RemoteException,
LeaseRefused
establishLease in interface NodeleaseMillisec - lease period in milliseconds
java.rmi.RemoteException
LeaseRefused
public void renewLease(int leaseID,
long leaseMillisec)
throws java.rmi.RemoteException,
LeaseRefused
renewLease in interface NodeleaseID - lease ID returned by establishLease()leaseMillisec - lease period in milliseconds
java.rmi.RemoteException
LeaseRefused
public void renewLease(int leaseID,
long leaseMillisec,
boolean usePrimary)
throws java.rmi.RemoteException,
LeaseRefused
renewLease in interface NodeleaseID - lease ID returned by establishLease()leaseMillisec - lease period in milliseconds
java.rmi.RemoteException
LeaseRefused
public void terminateLease(int leaseID,
long nextConnectTime)
throws java.rmi.RemoteException,
LeaseRefused
leaseID - lease ID returned by establishLease()nextConnectTime - Estimated time of next connection
java.rmi.RemoteException
LeaseRefused
public void terminateLease(int leaseID)
throws java.rmi.RemoteException,
LeaseRefused
terminateLease in interface NodeleaseID - lease ID returned by establishLease()
java.rmi.RemoteException
LeaseRefused
public void terminateLease(int leaseID,
boolean usePrimary)
throws java.rmi.RemoteException,
LeaseRefused
terminateLease in interface NodeleaseID - lease ID returned by establishLease()
java.rmi.RemoteException
LeaseRefused
public int terminateLeases(byte[] noteMatch)
throws java.rmi.RemoteException,
LeaseRefused
terminateLeases in interface Nodejava.rmi.RemoteException
LeaseRefusedpublic void notifyParentLinkConnected()
public void notifyParentLinkDisconnecting(long nextConnectTime)
nextConnectTime - Time we expect to next establish the link (ms since epoch)
public void cpuLease(int requestorID,
long when,
long howLong)
throws java.rmi.RemoteException
cpuLease in interface NoderequestorID - Unique ID (externally assigned) to identify who is requesting
the CPU to remain on. Allows for multiple requestors each
requesting that the CPU be on.when - Milliseconds until the requestor needs the CPU on. Use 0
(zero) to request that the CPU remain on starting now.howLong - Number of milliseconds that the CPU should remain on. Use 0
(zero) to cancel an earlier request.
java.rmi.RemoteException
public void addEventCallback(NodeEventCallback callback)
throws java.rmi.RemoteException
addEventCallback in interface Nodejava.rmi.RemoteExceptionpublic byte[] getStatus(boolean logPackets)
getStatus in interface Node
public void resetPortDiagnostics()
throws java.rmi.RemoteException
java.rmi.RemoteException
public byte[] getPortDiagnostics(boolean logPacket)
throws java.rmi.RemoteException
java.rmi.RemoteException
public void shutdownServices(java.lang.String[] exclusions)
throws java.rmi.RemoteException
java.rmi.RemoteException
public void quitApplication(int delaySec)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic void notifyParent(java.lang.String message)
public void setBackups(int enableBatteries,
int enableCapacitors)
public void writePostExitScript(boolean doHalt,
boolean doNotify,
java.lang.String msg,
int haltDelaySec)
public void exitApplication(boolean doSafemode,
boolean doHalt,
boolean enableBackups,
boolean doNotify,
boolean recursive,
int quitDelaySec,
int haltDelaySec,
java.lang.String msg)
throws java.rmi.RemoteException,
java.lang.Exception
exitApplication in interface Nodejava.rmi.RemoteException
java.lang.Exception
public void exitApplication()
throws java.rmi.RemoteException
exitApplication in interface Nodejava.rmi.RemoteException
public void powerUpPort(byte[] commPortName,
int currentLimit)
throws PortOccupiedException,
PortNotFound,
RangeException,
NotSupportedException
powerUpPort in interface NodePortOccupiedException
PortNotFound
RangeException
NotSupportedException
public void powerDownPort(byte[] commPortName)
throws PortOccupiedException,
PortNotFound
powerDownPort in interface NodePortOccupiedException
PortNotFoundpublic java.net.InetAddress[] getSubnodes()
getSubnodes in interface Nodepublic Subnode[] getSubnodeObjects()
getSubnodeObjects in interface Nodepublic java.lang.String getWdtStatus()
protected void pingWDT(NodeSessionInfo sessionInfo)
public NodeSessionInfo startSession(boolean renewWDT,
byte[] initScript,
int scriptTimeoutSec)
throws java.lang.Exception
startSession in interface Nodejava.lang.Exception
public void removeSubnode(java.net.InetAddress address)
throws java.rmi.RemoteException,
java.lang.Exception
removeSubnode in interface Nodejava.rmi.RemoteException
java.lang.Exceptionpublic LeaseDescription[] getLeases(boolean usePrimary)
getLeases in interface Nodepublic java.util.Vector getProperties()
getProperties in interface Node
public byte[] runCommand(byte[] cmd,
int timeoutSec)
throws java.rmi.RemoteException,
java.io.IOException,
TimeoutException
runCommand in interface Nodejava.rmi.RemoteException
java.io.IOException
TimeoutException
public void annotate(byte[] annotation)
throws java.rmi.RemoteException
annotate in interface Nodejava.rmi.RemoteException
public boolean summarizing(long deviceID)
throws DeviceNotFound,
java.rmi.RemoteException
summarizing in interface NodeDeviceNotFound
java.rmi.RemoteExceptionpublic void shutdown(PowerEvent e)
shutdown in interface PowerListenerpublic void failureDetected(PowerEvent e)
failureDetected in interface PowerListener
public final void setProperties(byte[] propertyStrings)
throws java.rmi.RemoteException,
InvalidPropertyException
setProperties in interface Nodejava.rmi.RemoteException
InvalidPropertyException
public void shoreLinkUpCallback(java.lang.String interfaceName,
java.lang.String serialName,
java.net.InetAddress localAddress,
java.net.InetAddress remoteAddress)
throws java.rmi.RemoteException,
java.lang.Exception
shoreLinkUpCallback in interface Nodejava.rmi.RemoteException
java.lang.Exception
public void shoreLinkDownCallback(java.lang.String interfaceName,
java.lang.String serialName,
java.net.InetAddress localAddress,
java.net.InetAddress remoteAddress)
throws java.rmi.RemoteException,
java.lang.Exception
shoreLinkDownCallback in interface Nodejava.rmi.RemoteException
java.lang.Exception
public Instrument lookupService(java.lang.String registryName)
throws java.rmi.RemoteException
lookupService in interface Nodejava.rmi.RemoteException
public byte[] instrumentRegistryStatus()
throws java.rmi.RemoteException
instrumentRegistryStatus in interface Nodejava.rmi.RemoteException
public void readLog4jConfig()
throws java.rmi.RemoteException
readLog4jConfig in interface Nodejava.rmi.RemoteException
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||