public class Chat extends ReceiverAdapter
Constructor and Description |
---|
Chat() |
Modifier and Type | Method and Description |
---|---|
protected static void |
help() |
static void |
main(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.
|
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
protected static void help()
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.