All Packages Class Hierarchy This Package Previous Next Index
Class com.arcsinc.remotenode.RemoteNodeImpl
java.lang.Object
|
+----java.rmi.server.RemoteObject
|
+----java.rmi.server.RemoteServer
|
+----java.rmi.server.UnicastRemoteObject
|
+----com.arcsinc.remotenode.RemoteNodeImpl
- public class RemoteNodeImpl
- extends UnicastRemoteObject
- implements RemoteNode, Runnable
The RemoteNodeImpl class implements the
RemoteNode interface. This class is instantiated by
AbsRemoteNodeServer, exactly one instance for each
client which requests the server's remote data. Typically, users
do NOT require direct access to this clasrequire direct access to this class.
- See Also:
- RemoteNode, AbsRemoteNodeServer
-
endRemoteNodeOps()
- This function requests that a client's
RemoteNode
discontinue providing remote data.
getAvailableDataItems()
- Return a of descriptions for each published data item.
-
run()
- Method which sends data to the its client.
-
setDataVector(Vector)
- Accepts a new data vector.
-
startRemoteDataStream()
- This function requests that a client's
RemoteNode
start providing remote data as it is available.
-
stopRemoteDataStream()
- This function requests that a client's
RemoteNode
discontinue providing remote data.
run
public void run()
- Method which sends data to the its client.
)
setDataVector
public void setDataVector(Vector dataVector)
- Accepts a new data vector. This vector contain the most current
information and is sent to the client.
- Parameters:
- dataVector - a
Vector containing the latest data.
getAvailableDataItems
public Vector getAvailableDataItems() throws RemoteException
- Return a of descriptions for each published data item.
The standard definition for this description is
ExtVariableSpec.
- Returns:
- vector of descriptions
- Throws: RemoteException
- if there is a network failure.
startRemoteDataStream
public boolean startRemoteDataStream() throws RemoteException
- This function requests that a client's
RemoteNode
start providing remote data as it is available.
- Returns:
- boolean for sucess (true) or
- boolean for sucess (true) or failure
- Throws: RemoteException
- if there is a network failure.
stopRemoteDataStream
public boolean stopRemoteDataStream() throws RemoteException
- This function requests that a client's
RemoteNode
discontinue providing remote data. This action can be
restarted in the future.
- Returns:
- boolean for sucess (true) or failure
- Throws: RemoteException
- if there is a network failure.
endRemoteNodeOps
public boolean endRemoteNodeOps() throws RemoteException
- This function requests that a client's
RemoteNode
discontinue providing remote data. The corresponding
RemoteNode mechanisms will be deleted. A brand new
connection will be required in the future if remote data is,
again desired.
- Returns:
- boolean for sucess (true) or failure
- Throws: RemoteException
- if there is a network failure.
All Packages All Packages Class Hierarchy This Package Previous Next Index