public class RelayDemoRpc extends ReceiverAdapter
Modifier and Type | Field and Description |
---|---|
protected JChannel |
ch |
protected RpcDispatcher |
disp |
protected Address |
local_addr |
protected View |
view |
Constructor and Description |
---|
RelayDemoRpc() |
Modifier and Type | Method and Description |
---|---|
static String |
handleMessage(String msg,
Address sender) |
static void |
main(String[] args) |
void |
start(String props,
String name) |
void |
viewAccepted(View new_view)
Called when a change in membership has occurred.
|
protected JChannel ch
protected RpcDispatcher disp
protected Address local_addr
protected View view
public void viewAccepted(View new_view)
ReceiverAdapter
Channel.connect(String)
returns.viewAccepted
in interface MembershipListener
viewAccepted
in class ReceiverAdapter
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.