Methods Summary |
---|
public synchronized void | add(org.apache.catalina.tribes.Member member)add new cluster member and create sender ( s. replicationMode) transfer
current properties to sender
getTransport().add(member);
|
public java.lang.String | getInfo()Return descriptive information about this implementation and the
corresponding version number, in the format
<description>/<version> .
return (info);
|
public MultiPointSender | getTransport()
return transport;
|
public void | heartbeat()Call transmitter to check for sender socket status
if (getTransport()!=null) getTransport().keepalive();
|
public synchronized void | remove(org.apache.catalina.tribes.Member member)remove sender from transmitter. ( deregister mbean and disconnect sender )
getTransport().remove(member);
|
public void | sendMessage(org.apache.catalina.tribes.ChannelMessage message, org.apache.catalina.tribes.Member[] destination)Send data to one member
MultiPointSender sender = getTransport();
sender.sendMessage(destination,message);
|
public void | setTransport(MultiPointSender transport)
this.transport = transport;
|
public void | start()start the sender and register transmitter mbean
getTransport().connect();
|
public synchronized void | stop()
getTransport().disconnect();
|