public class Draw extends ExtendedReceiverAdapter implements java.awt.event.ActionListener, ChannelListener
Constructor and Description |
---|
Draw(Channel channel) |
Draw(java.lang.String props,
boolean debug,
boolean cummulative,
boolean no_channel,
boolean jmx) |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e) |
void |
block()
Called (usually by the FLUSH protocol), as an indication that the member should stop sending messages.
|
void |
channelClosed(Channel channel) |
void |
channelConnected(Channel channel) |
void |
channelDisconnected(Channel channel) |
void |
channelReconnected(Address addr) |
void |
channelShunned() |
void |
clearPanel() |
java.lang.String |
getGroupName() |
void |
go() |
static void |
main(java.lang.String[] args) |
void |
receive(Message msg)
Called when a message is received.
|
void |
sendClearPanelMsg() |
void |
setGroupName(java.lang.String groupname) |
void |
stop() |
void |
unblock()
Called after the FLUSH protocol has unblocked previously blocked senders, and messages can be sent again.
|
void |
viewAccepted(View v)
Called when a change in membership has occurred.
|
public Draw(java.lang.String props, boolean debug, boolean cummulative, boolean no_channel, boolean jmx) throws java.lang.Exception
java.lang.Exception
public Draw(Channel channel) throws java.lang.Exception
java.lang.Exception
public java.lang.String getGroupName()
public void setGroupName(java.lang.String groupname)
public static void main(java.lang.String[] args)
public void go() throws java.lang.Exception
java.lang.Exception
public void receive(Message msg)
MessageListener
receive
in interface MessageListener
receive
in class ExtendedReceiverAdapter
public void viewAccepted(View v)
MembershipListener
viewAccepted
in interface MembershipListener
viewAccepted
in class ExtendedReceiverAdapter
public void block()
MembershipListener
ExtendedMembershipListener.unblock()
.
Note that block() is the equivalent of reception of a BlockEvent in the pull mode.block
in interface MembershipListener
block
in class ExtendedReceiverAdapter
public void unblock()
ExtendedMembershipListener
unblock
in interface ExtendedMembershipListener
unblock
in class ExtendedReceiverAdapter
public void clearPanel()
public void sendClearPanelMsg()
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
public void stop()
public void channelConnected(Channel channel)
channelConnected
in interface ChannelListener
public void channelDisconnected(Channel channel)
channelDisconnected
in interface ChannelListener
public void channelClosed(Channel channel)
channelClosed
in interface ChannelListener
public void channelShunned()
channelShunned
in interface ChannelListener
public void channelReconnected(Address addr)
channelReconnected
in interface ChannelListener
Copyright ? 1998-2006 Bela Ban. All Rights Reserved.