public class Chat extends ReceiverAdapter
| Constructor and Description |
|---|
Chat() |
| Modifier and Type | Method and Description |
|---|---|
protected static void |
help() |
static void |
main(java.lang.String[] args) |
void |
receive(Message msg)
Called when a message is received.
|
void |
start(JChannel ch)
Method called from other app, injecting channel
|
void |
viewAccepted(View new_view)
Called when a change in membership has occurred.
|
public void viewAccepted(View new_view)
ReceiverAdapterChannel.connect(String) returns.viewAccepted in interface MembershipListenerviewAccepted in class ReceiverAdapterpublic void receive(Message msg)
ReceiverAdapterreceive in interface MessageListenerreceive in class ReceiverAdapterpublic void start(JChannel ch) throws java.lang.Exception
java.lang.Exceptionpublic static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exceptionprotected static void help()
Copyright © 1998-2020 Red Hat. All Rights Reserved.