visad.cluster
Class RemoteClientAgentImpl
- java.lang.Object
-
- java.rmi.server.RemoteObject
-
- java.rmi.server.RemoteServer
-
- java.rmi.server.UnicastRemoteObject
-
- visad.cluster.RemoteClientAgentImpl
-
- All Implemented Interfaces:
- java.io.Serializable, java.rmi.Remote, RemoteClientAgent
public class RemoteClientAgentImpl extends java.rmi.server.UnicastRemoteObject implements RemoteClientAgent
RemoteClientAgentImpl is the class for agents on the client, which typically send NodeAgents to each node.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description RemoteClientAgentImpl(RemoteClientAgentImpl fa, int ind)RemoteClientAgentImpl(RemoteClientAgentImpl fa, int ind, long to)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.io.Serializable[]broadcastWithResponses(java.io.Serializable[] messages, RemoteAgentContact[] contacts)java.io.Serializable[]broadcastWithResponses(java.io.Serializable message, RemoteAgentContact[] contacts)voidsendToClient(int ind, java.io.Serializable message)voidsendToClient(java.io.Serializable message)-
Methods inherited from class java.rmi.server.UnicastRemoteObject
clone, exportObject, exportObject, exportObject, unexportObject
-
-
-
-
Constructor Detail
-
RemoteClientAgentImpl
public RemoteClientAgentImpl(RemoteClientAgentImpl fa, int ind) throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
-
RemoteClientAgentImpl
public RemoteClientAgentImpl(RemoteClientAgentImpl fa, int ind, long to) throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
-
-
Method Detail
-
sendToClient
public void sendToClient(java.io.Serializable message) throws java.rmi.RemoteException- Specified by:
sendToClientin interfaceRemoteClientAgent- Throws:
java.rmi.RemoteException
-
sendToClient
public void sendToClient(int ind, java.io.Serializable message) throws java.rmi.RemoteException- Throws:
java.rmi.RemoteException
-
broadcastWithResponses
public java.io.Serializable[] broadcastWithResponses(java.io.Serializable message, RemoteAgentContact[] contacts) throws VisADException, java.rmi.RemoteException- Throws:
VisADExceptionjava.rmi.RemoteException
-
broadcastWithResponses
public java.io.Serializable[] broadcastWithResponses(java.io.Serializable[] messages, RemoteAgentContact[] contacts) throws VisADException, java.rmi.RemoteException- Throws:
VisADExceptionjava.rmi.RemoteException
-
-
DMelt 3.0 © DataMelt by jWork.ORG