TelnetD at SF

net.wimpi.telnetd.shell
Interface Shell

All Superinterfaces:
ConnectionListener
All Known Implementing Classes:
DummyShell

public interface Shell
extends ConnectionListener

Interface that defines a shell used with this telnetd.
Note that any class that implements a Shell, has to have a class operation with following fingerprint:
public static Shell createShell(); This method can either create a new instance of the class, or it can return a recyled instance thats coming from a cache (which is propably a good idea for using resources better and increasing the performance).

Version:
2.0 (13/03/2005)
Author:
Dieter Wimberger

Method Summary
 void run(Connection con)
          Method that runs the shell.
 
Methods inherited from interface net.wimpi.telnetd.net.ConnectionListener
connectionIdle, connectionLogoutRequest, connectionSentBreak, connectionTimedOut
 

Method Detail

run

public void run(Connection con)
Method that runs the shell.

Parameters:
con - Connection the shell is associated with

TelnetD at SF

Copyright © 2000-2005 Dieter Wimberger.