|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.wimpi.telnetd.shell.DummyShell
public class 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).
| 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 |
| 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 Shellcon - Connection that runs the shell.public void connectionTimedOut(ConnectionEvent ce)
ConnectionListener
connectionTimedOut in interface ConnectionListenerce - ConnectionEvent instance.ConnectionEvent.CONNECTION_TIMEDOUTpublic void connectionIdle(ConnectionEvent ce)
ConnectionListener
connectionIdle in interface ConnectionListenerce - ConnectionEvent instance.ConnectionEvent.CONNECTION_IDLEpublic void connectionLogoutRequest(ConnectionEvent ce)
ConnectionListener
connectionLogoutRequest in interface ConnectionListenerce - ConnectionEvent instance.ConnectionEvent.CONNECTION_LOGOUTREQUESTpublic void connectionSentBreak(ConnectionEvent ce)
ConnectionListener
connectionSentBreak in interface ConnectionListenerce - ConnectionEvent instance.ConnectionEvent.CONNECTION_BREAKpublic static Shell createShell()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||