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:

TODO:
Author:
Thomas Kriegelstein

Variable Index

 o clientVersion
Client Version

Constructor Index

 o BSXModule()

Method Index

 o addNotify()
Adds two Buttons to the Panel and instanciates a BSXWindow.
 o connect(String, int)
do nothing
 o disconnect()
do nothing
 o handleEvent(Event)
Java 1.0 eventhandling routines.
 o main(String[])
a main for test-purposes
 o receive(String)
This method is called by the telnet, so that we can parse the String.
 o setLoader(Object)
register o as our parent

Variables

 o clientVersion
  protected String clientVersion
Client Version

Constructors

 o BSXModule
  public BSXModule()

Methods

 o setLoader
  public void setLoader(Object o)
register o as our parent
 o connect
  public void connect(String host,
                      int port)
do nothing
 o disconnect
  public void disconnect()
do nothing
 o 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
 o addNotify
  public void addNotify()
Adds two Buttons to the Panel and instanciates a BSXWindow.
Overrides:
addNotify in class Panel
 o 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
 o main
  public static void main(String args[])
a main for test-purposes

All Packages  Class Hierarchy  This Package  Previous  Next  Index