|
TelnetD at SF | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.wimpi.telnetd.shell.DummyShell
This class is an example implmentation of a Shell.
* It is used for testing the system.
* At the moment you can see all io toolkit classes in action,
* pressing "t" at its prompt (instead of the enter, which is
* requested for logging out again).
*
* @author Dieter Wimberger
* @version 2.0 (13/03/2005)
Constructor Summary | |
DummyShell()
|
Method Summary | |
void |
connectionIdle(ConnectionEvent ce)
Called when a CONNECTION_IDLE event occured. |
void |
connectionLogoutRequest(ConnectionEvent ce)
Called when a CONNECTION_LOGOUTREQUEST occured. |
void |
connectionSentBreak(ConnectionEvent ce)
Called when a CONNECTION_BREAK event occured. |
void |
connectionTimedOut(ConnectionEvent ce)
Called when a CONNECTION_TIMEDOUT event occured. |
static Shell |
createShell()
|
void |
run(Connection con)
Method that runs a shell * * @param con Connection that runs the shell. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DummyShell()
Method Detail |
public void run(Connection con)
run
in interface Shell
con
- Connection the shell is associated withpublic void connectionTimedOut(ConnectionEvent ce)
ConnectionListener
connectionTimedOut
in interface ConnectionListener
ce
- ConnectionEvent instance.ConnectionEvent.CONNECTION_TIMEDOUT
public void connectionIdle(ConnectionEvent ce)
ConnectionListener
connectionIdle
in interface ConnectionListener
ce
- ConnectionEvent instance.ConnectionEvent.CONNECTION_IDLE
public void connectionLogoutRequest(ConnectionEvent ce)
ConnectionListener
connectionLogoutRequest
in interface ConnectionListener
ce
- ConnectionEvent instance.ConnectionEvent.CONNECTION_LOGOUTREQUEST
public void connectionSentBreak(ConnectionEvent ce)
ConnectionListener
connectionSentBreak
in interface ConnectionListener
ce
- ConnectionEvent instance.ConnectionEvent.CONNECTION_BREAK
public static Shell createShell()
|
TelnetD at SF | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |