All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class JavaGroups.RepeatedUnicast

java.lang.Object
   |
   +----JavaGroups.RepeatedUnicast

public class RepeatedUnicast
extends Object
Sends a synchronous message call to a remote process and returns the response message. If the remote process cannot be reached, one or more fallback objects will be tried in succession until there is a response.


Constructor Index

 o RepeatedUnicast(Transport, Vector)

Method Index

 o Send(Message, long)
Send a message to the first member of targets.
 o SendMethod(RemoteMethodCall, long)
Send a methos call to the first member of targets.

Constructors

 o RepeatedUnicast
 public RepeatedUnicast(Transport transport,
                        Vector targs)

Methods

 o Send
 public Message Send(Message msg,
                     long timeout) throws RepeatedUnicast. NoMembersLeft
Send a message to the first member of targets. If there is no response within timeout milliseconds, remove the first member and try the next member and so on. Throw an exception if no more members are left.

 o SendMethod
 public Object SendMethod(RemoteMethodCall method,
                          long timeout) throws RepeatedUnicast. NoMembersLeft
Send a methos call to the first member of targets. If there is no response within timeout milliseconds, remove the first member and try the next member and so on. Throw an exception if no more members are left.


All Packages  Class Hierarchy  This Package  Previous  Next  Index