|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--JavaGroups.Ensemble.Hot_Ensemble
| Field Summary | |
int |
HOT_ENS_MSG_SEND_CURRENT_VIEW
|
int |
HOT_ENS_MSG_SEND_NEXT_VIEW
|
int |
HOT_ENS_MSG_SEND_UNSPECIFIED_VIEW
|
| Constructor Summary | |
Hot_Ensemble()
Constructs a Hot_Ensemble object starting the Ensemble Outboard process on a random port between 5000 and 8000 |
|
Hot_Ensemble(int port)
Constructs a Hot_Ensemble object starting the Ensemble Outboard process on the specified port. |
|
| Method Summary | |
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 |
Hot_Error |
ChangeProperties(Hot_GroupContext gc,
java.lang.String properties)
Change the properties of the group specified by the Hot_GroupContext to the properties specified by the String |
Hot_Error |
ChangeProtocol(Hot_GroupContext gc,
java.lang.String protocol)
Change the protocol used by the group specified by the Hot_GroupContext to the protocol specified by the String |
void |
destroyOutboard()
Destroys the associated outboard process. |
Hot_Error |
Join(Hot_JoinOps jops,
Hot_GroupContext[] gctx)
Join the Ensemble group specified in the Hot_JoinOps structure |
Hot_Error |
Leave(Hot_GroupContext gc)
Leave the Ensemble group specified in the Hot_GroupContext |
static void |
Panic(java.lang.String s)
Halts the application with the error specified by the String |
Hot_Error |
RequestNewView(Hot_GroupContext gc)
Request a new view in the group specified by the Hot_GroupContext |
void |
run()
Mainloop of the process |
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 |
void |
setDebug(boolean b)
Set whether or not to display lots of debug information. |
Hot_Error |
Suspect(Hot_GroupContext gc,
Hot_Endpoint[] suspects)
NOT SUPPORTED CURRENTLY IN THE ML |
static void |
trace(java.lang.String s)
Prints (or does not print) the specified string to standard error based upon the debug flag |
| Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Field Detail |
public final int HOT_ENS_MSG_SEND_UNSPECIFIED_VIEW
public final int HOT_ENS_MSG_SEND_NEXT_VIEW
public final int HOT_ENS_MSG_SEND_CURRENT_VIEW
| Constructor Detail |
public Hot_Ensemble()
public Hot_Ensemble(int port)
| Method Detail |
public void destroyOutboard()
public void setDebug(boolean b)
public Hot_Error Join(Hot_JoinOps jops,
Hot_GroupContext[] gctx)
public Hot_Error Leave(Hot_GroupContext gc)
public Hot_Error Cast(Hot_GroupContext gc,
Hot_Message orig_msg,
int[] send_view)
public Hot_Error Send(Hot_GroupContext gc,
Hot_Endpoint dest,
Hot_Message orig_msg,
int[] send_view)
public Hot_Error Suspect(Hot_GroupContext gc,
Hot_Endpoint[] suspects)
public Hot_Error ChangeProtocol(Hot_GroupContext gc,
java.lang.String protocol)
public Hot_Error ChangeProperties(Hot_GroupContext gc,
java.lang.String properties)
public Hot_Error RequestNewView(Hot_GroupContext gc)
public void run()
public static void Panic(java.lang.String s)
public static void trace(java.lang.String s)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||