visad.cluster
Class RemoteClientAgentImpl

java.lang.Object
  extended by java.rmi.server.RemoteObject
      extended by java.rmi.server.RemoteServer
          extended by java.rmi.server.UnicastRemoteObject
              extended by visad.cluster.RemoteClientAgentImpl
All Implemented Interfaces:
Serializable, Remote, RemoteClientAgent

public class RemoteClientAgentImpl
extends UnicastRemoteObject
implements RemoteClientAgent

RemoteClientAgentImpl is the class for agents on the client, which typically send NodeAgents to each node.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Constructor Summary
RemoteClientAgentImpl(RemoteClientAgentImpl fa, int ind)
           
RemoteClientAgentImpl(RemoteClientAgentImpl fa, int ind, long to)
           
 
Method Summary
 Serializable[] broadcastWithResponses(Serializable[] messages, RemoteAgentContact[] contacts)
           
 Serializable[] broadcastWithResponses(Serializable message, RemoteAgentContact[] contacts)
           
 void sendToClient(int ind, Serializable message)
           
 void sendToClient(Serializable message)
           
 
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
 

Constructor Detail

RemoteClientAgentImpl

public RemoteClientAgentImpl(RemoteClientAgentImpl fa,
                             int ind)
                      throws RemoteException
Throws:
RemoteException

RemoteClientAgentImpl

public RemoteClientAgentImpl(RemoteClientAgentImpl fa,
                             int ind,
                             long to)
                      throws RemoteException
Throws:
RemoteException
Method Detail

sendToClient

public void sendToClient(Serializable message)
                  throws RemoteException
Specified by:
sendToClient in interface RemoteClientAgent
Throws:
RemoteException

sendToClient

public void sendToClient(int ind,
                         Serializable message)
                  throws RemoteException
Throws:
RemoteException

broadcastWithResponses

public Serializable[] broadcastWithResponses(Serializable message,
                                             RemoteAgentContact[] contacts)
                                      throws VisADException,
                                             RemoteException
Throws:
VisADException
RemoteException

broadcastWithResponses

public Serializable[] broadcastWithResponses(Serializable[] messages,
                                             RemoteAgentContact[] contacts)
                                      throws VisADException,
                                             RemoteException
Throws:
VisADException
RemoteException