public class StompDraw extends java.lang.Object implements StompConnection.Listener, java.awt.event.ActionListener
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
clients_dest |
protected static java.lang.String |
draw_dest |
protected StompConnection |
stomp_client |
Constructor and Description |
---|
StompDraw(java.lang.String host,
java.lang.String port) |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e) |
void |
clearPanel() |
void |
go() |
static void |
main(java.lang.String[] args) |
void |
onInfo(java.util.Map<java.lang.String,java.lang.String> information) |
void |
onMessage(java.util.Map<java.lang.String,java.lang.String> headers,
byte[] buf,
int offset,
int length) |
void |
sendClearPanelMsg() |
void |
stop() |
protected StompConnection stomp_client
protected static final java.lang.String draw_dest
protected static final java.lang.String clients_dest
public StompDraw(java.lang.String host, java.lang.String port) throws java.lang.Exception
java.lang.Exception
public static void main(java.lang.String[] args)
public void go() throws java.lang.Exception
java.lang.Exception
public void onInfo(java.util.Map<java.lang.String,java.lang.String> information)
onInfo
in interface StompConnection.Listener
public void onMessage(java.util.Map<java.lang.String,java.lang.String> headers, byte[] buf, int offset, int length)
onMessage
in interface StompConnection.Listener
public void clearPanel()
public void sendClearPanelMsg()
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
public void stop()
Copyright © 1998-2020 Red Hat. All Rights Reserved.