Package org.jgroups.demos
Class StompDraw
java.lang.Object
org.jgroups.demos.StompDraw
- All Implemented Interfaces:
ActionListener,EventListener,StompConnection.Listener
Simple STOMP demo client. Use -h and -p to connect to *any* JGroups server (has to have STOMP in the config)
- Author:
- Bela Ban, Oct 17 2001
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Stringprotected static final Stringprotected StompConnection -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
stomp_client
-
draw_dest
- See Also:
-
clients_dest
- See Also:
-
-
Constructor Details
-
StompDraw
- Throws:
Exception
-
-
Method Details
-
main
-
go
- Throws:
Exception
-
onInfo
- Specified by:
onInfoin interfaceStompConnection.Listener
-
onMessage
- Specified by:
onMessagein interfaceStompConnection.Listener
-
clearPanel
public void clearPanel() -
sendClearPanelMsg
public void sendClearPanelMsg() -
actionPerformed
- Specified by:
actionPerformedin interfaceActionListener
-
stop
public void stop()
-