|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jgroups.ReceiverAdapter
org.jgroups.demos.Chat
public class Chat
| Constructor Summary | |
|---|---|
Chat()
|
|
| Method Summary | |
|---|---|
protected static void |
help()
|
static void |
main(java.lang.String[] args)
|
void |
receive(Message msg)
Called when a message is received. |
void |
viewAccepted(View new_view)
Called when a change in membership has occurred. |
| Methods inherited from class org.jgroups.ReceiverAdapter |
|---|
block, getState, setState, suspect, unblock |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Chat()
| Method Detail |
|---|
public void viewAccepted(View new_view)
ReceiverAdapterChannel.connect(String) returns.
viewAccepted in interface MembershipListenerviewAccepted in class ReceiverAdapterpublic void receive(Message msg)
ReceiverAdapter
receive in interface MessageListenerreceive in class ReceiverAdapter
public static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exceptionprotected static void help()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||