Class modules.BSXModule
All Packages Class Hierarchy This Package Previous Next Index
Class modules.BSXModule
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Panel
|
+----modules.BSXModule
- public class BSXModule
- extends Panel
- implements Module
The ultimate BSX module implements most of the common used
BSX controll sequences.
Features:
- a Statemachine to parse the Strings passed by the telnet
- a own package named bsx, for Window and Polygon handling
terrible english because my native language is german
TODO:
- more BSX Sequences
- Documentaion
- Author:
- Thomas Kriegelstein
-
clientVersion
- Client Version
-
BSXModule()
-
-
addNotify()
- Adds two Buttons to the Panel and instanciates a BSXWindow.
-
connect(String, int)
- do nothing
-
disconnect()
- do nothing
-
handleEvent(Event)
- Java 1.0 eventhandling routines.
-
main(String[])
- a main for test-purposes
-
receive(String)
- This method is called by the telnet, so that we can parse the String.
-
setLoader(Object)
- register o as our parent
clientVersion
protected String clientVersion
- Client Version
BSXModule
public BSXModule()
setLoader
public void setLoader(Object o)
- register o as our parent
connect
public void connect(String host,
int port)
- do nothing
disconnect
public void disconnect()
- do nothing
receive
public String receive(String s)
- This method is called by the telnet, so that we can parse the String.
Prints out the filtered String if logging s enabled.
- Parameters:
- String - s the String to be parsed
- Returns:
- a filtered String with no BSX sequences in it
addNotify
public void addNotify()
- Adds two Buttons to the Panel and instanciates a BSXWindow.
- Overrides:
- addNotify in class Panel
handleEvent
public boolean handleEvent(Event e)
- Java 1.0 eventhandling routines.
- Parameters:
- Event - e
- Returns:
- true if Event has been recognized and fullfilled.
- Overrides:
- handleEvent in class Component
main
public static void main(String args[])
- a main for test-purposes
All Packages Class Hierarchy This Package Previous Next Index