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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
handleIOInterface
(IOInterface ioifc) void
static String
help()
static void
static void
parseParams
(String[] args) void
run()
static void
static String
version()
-
Constructor Details
-
TelnetServer
Creates a newTelnetServer
instance.- Throws:
IOException
-
-
Method Details
-
help
-
main
- Throws:
Exception
-
parseParams
- Throws:
Exception
-
turnDebugOn
public static void turnDebugOn() -
version
-
handleIOInterface
- Specified by:
handleIOInterface
in interfaceSampleSocketThread.SocketHandler
- Throws:
IOException
-
handleSocketAccept
- Specified by:
handleSocketAccept
in interfaceSampleSocketThread.SocketHandler
- Throws:
IOException
-
run
- Throws:
IOException
-