maslab.telemetry.botclient
Interface Plugin
- All Superinterfaces:
- JugMessageListener
- All Known Implementing Classes:
- ImagePlugin, ScopePlugin, TextPlugin, VectorPlugin
public interface Plugin
- extends JugMessageListener
To write a plugin, implement this interface. Your constructor
must be of the form:
public MyPlugin(javax.swing.JInternalFrame frame)
This give you a JInternalFrame to draw on. At present, your plugin
must be in the default namespace, or within
maslab.telemetry.botclient.
You can also optionally implement maslab.util.StatusListener, in
which case you will receive connection/disconnection events from the
relevant JugClient.
Field Summary |
static java.lang.String |
types
|
types
static final java.lang.String types
- See Also:
- Constant Field Values
addChannel
boolean addChannel(java.lang.String name,
java.lang.String type)
removeChannel
void removeChannel(java.lang.String name)
messageReceived
void messageReceived(java.lang.String channel,
byte[] data)
- Specified by:
messageReceived
in interface JugMessageListener