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

Method Index

 o endRemoteNodeOps()
This function requests that a client's RemoteNode discontinue providing remote data.  o getAvailableDataItems()
Return a of descriptions for each published data item.
 o run()
Method which sends data to the its client.
 o setDataVector(Vector)
Accepts a new data vector.
 o startRemoteDataStream()
This function requests that a client's RemoteNode start providing remote data as it is available.
 o stopRemoteDataStream()
This function requests that a client's RemoteNode discontinue providing remote data.

Methods

 o run
 public void run()
Method which sends data to the its client.

 o 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.
 o 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.
 o 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.
 o 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.
 o 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
>