Package tigase.io
Class TelnetServer
java.lang.Object
tigase.io.TelnetServer
- All Implemented Interfaces:
SampleSocketThread.SocketHandler
This is sample class demonstrating how to use
Created: Sun Aug 6 22:27:13 2006
tigase.io library for TLS/SSL server connection. This is
simple telnet server class which can be run to receive plain connections or SSL connections.
Created: Sun Aug 6 22:27:13 2006
- Author:
- Artur Hefczyc
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleIOInterface(IOInterface ioifc) voidstatic Stringhelp()static voidstatic voidparseParams(String[] args) voidrun()static voidstatic Stringversion()
-
Constructor Details
-
TelnetServer
Creates a newTelnetServerinstance.- Throws:
IOException
-
-
Method Details
-
help
-
main
- Throws:
Exception
-
parseParams
- Throws:
Exception
-
turnDebugOn
public static void turnDebugOn() -
version
-
handleIOInterface
- Specified by:
handleIOInterfacein interfaceSampleSocketThread.SocketHandler- Throws:
IOException
-
handleSocketAccept
- Specified by:
handleSocketAcceptin interfaceSampleSocketThread.SocketHandler- Throws:
IOException
-
run
- Throws:
IOException
-