|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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)
ReceiverAdapter
Channel.connect(String)
returns.
viewAccepted
in interface MembershipListener
viewAccepted
in class ReceiverAdapter
public void receive(Message msg)
ReceiverAdapter
receive
in interface MessageListener
receive
in class ReceiverAdapter
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
protected static void help()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |