public class RelayDemoRpc extends ReceiverAdapter
Modifier and Type | Field and Description |
---|---|
protected JChannel |
ch |
protected RpcDispatcher |
disp |
protected String |
local_addr |
protected static long |
RPC_TIMEOUT |
protected View |
view |
Constructor and Description |
---|
RelayDemoRpc() |
Modifier and Type | Method and Description |
---|---|
static String |
handleMessage(String msg,
String sender) |
static void |
main(String[] args) |
protected static Collection<String> |
parseSiteMasters(String line) |
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 String local_addr
protected View view
protected static final long RPC_TIMEOUT
protected static Collection<String> parseSiteMasters(String line)
public void viewAccepted(View new_view)
ReceiverAdapter
Channel.connect(String)
returns.viewAccepted
in interface MembershipListener
viewAccepted
in class ReceiverAdapter
Copyright © 2017 JBoss, a division of Red Hat. All rights reserved.