All Packages Class Hierarchy This Package Previous Next Index
Class JavaGroups.Ensemble.Hot_Ensemble
java.lang.Object
|
+----JavaGroups.Ensemble.Hot_Ensemble
- public class Hot_Ensemble
- extends Object
- implements Runnable
-
HOT_ENS_MSG_SEND_CURRENT_VIEW
-
-
HOT_ENS_MSG_SEND_NEXT_VIEW
-
-
HOT_ENS_MSG_SEND_UNSPECIFIED_VIEW
-
-
Hot_Ensemble()
- Constructs a Hot_Ensemble object starting the Ensemble Outboard process
on a random port between 5000 and 8000
-
Hot_Ensemble(int)
- Constructs a Hot_Ensemble object starting the Ensemble Outboard
process on the specified port.
-
Cast(Hot_GroupContext, Hot_Message, int[])
- Broadcast a Hot_Message to the group specified in the Hot_GroupContext
-
ChangeProperties(Hot_GroupContext, String)
- Change the properties of the group specified by the Hot_GroupContext
to the properties specified by the String
-
ChangeProtocol(Hot_GroupContext, String)
- Change the protocol used by the group specified by the Hot_GroupContext
to the protocol specified by the String
-
destroyOutboard()
- Destroys the associated outboard process.
-
Join(Hot_JoinOps, Hot_GroupContext[])
- Join the Ensemble group specified in the Hot_JoinOps structure
-
Leave(Hot_GroupContext)
- Leave the Ensemble group specified in the Hot_GroupContext
-
Panic(String)
- Halts the application with the error specified by the String
-
RequestNewView(Hot_GroupContext)
- Request a new view in the group specified by the Hot_GroupContext
-
run()
- Mainloop of the process
-
Send(Hot_GroupContext, Hot_Endpoint, Hot_Message, int[])
- Send a Hot_Message to member specified by the Hot_Endpoint in the group
specified by the Hot_GroupContext
-
setDebug(boolean)
- Set whether or not to display lots of debug information.
-
Suspect(Hot_GroupContext, Hot_Endpoint[])
- NOT SUPPORTED CURRENTLY IN THE ML
-
trace(String)
- Prints (or does not print) the specified string to standard error
based upon the debug flag
HOT_ENS_MSG_SEND_UNSPECIFIED_VIEW
public final int HOT_ENS_MSG_SEND_UNSPECIFIED_VIEW
HOT_ENS_MSG_SEND_NEXT_VIEW
public final int HOT_ENS_MSG_SEND_NEXT_VIEW
HOT_ENS_MSG_SEND_CURRENT_VIEW
public final int HOT_ENS_MSG_SEND_CURRENT_VIEW
Hot_Ensemble
public Hot_Ensemble()
- Constructs a Hot_Ensemble object starting the Ensemble Outboard process
on a random port between 5000 and 8000
Hot_Ensemble
public Hot_Ensemble(int port)
- Constructs a Hot_Ensemble object starting the Ensemble Outboard
process on the specified port. If you use this version of the
constructor, you are expected to make sure the port is not already in
use. You can check for successful startup by invoking isOutboardStarted();
destroyOutboard
public void destroyOutboard()
- Destroys the associated outboard process. All instances of Hot_Ensemble
(in an instance of the VM) use the same outboard process (currently).
So, if you destroy the outboard process for one instance, it gets
destroyed for all instances. A future version of Ensemble/Java will
change this restriction.
setDebug
public void setDebug(boolean b)
- Set whether or not to display lots of debug information. Default: false
Join
public Hot_Error Join(Hot_JoinOps jops,
Hot_GroupContext gctx[])
- Join the Ensemble group specified in the Hot_JoinOps structure
Leave
public Hot_Error Leave(Hot_GroupContext gc)
- Leave the Ensemble group specified in the Hot_GroupContext
Cast
public Hot_Error Cast(Hot_GroupContext gc,
Hot_Message orig_msg,
int send_view[])
- Broadcast a Hot_Message to the group specified in the Hot_GroupContext
Send
public Hot_Error Send(Hot_GroupContext gc,
Hot_Endpoint dest,
Hot_Message orig_msg,
int send_view[])
- Send a Hot_Message to member specified by the Hot_Endpoint in the group
specified by the Hot_GroupContext
Suspect
public Hot_Error Suspect(Hot_GroupContext gc,
Hot_Endpoint suspects[])
- NOT SUPPORTED CURRENTLY IN THE ML
ChangeProtocol
public Hot_Error ChangeProtocol(Hot_GroupContext gc,
String protocol)
- Change the protocol used by the group specified by the Hot_GroupContext
to the protocol specified by the String
ChangeProperties
public Hot_Error ChangeProperties(Hot_GroupContext gc,
String properties)
- Change the properties of the group specified by the Hot_GroupContext
to the properties specified by the String
RequestNewView
public Hot_Error RequestNewView(Hot_GroupContext gc)
- Request a new view in the group specified by the Hot_GroupContext
run
public void run()
- Mainloop of the process
Panic
public static void Panic(String s)
- Halts the application with the error specified by the String
trace
public static void trace(String s)
- Prints (or does not print) the specified string to standard error
based upon the debug flag
All Packages Class Hierarchy This Package Previous Next Index