public class TelnetServer extends Object implements SampleSocketThread.SocketHandler
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| Constructor and Description |
|---|
TelnetServer(int port)
Creates a new
TelnetServer instance. |
| Modifier and Type | Method and Description |
|---|---|
void |
handleIOInterface(IOInterface ioifc)
Method description
|
void |
handleSocketAccept(SocketChannel sc)
Method description
|
static String |
help()
Method description
|
static void |
main(String[] args)
Describe
main method here. |
static void |
parseParams(String[] args)
Method description
|
void |
run()
Method description
|
static void |
turnDebugOn()
Method description
|
static String |
version()
Method description
|
public TelnetServer(int port)
throws IOException
TelnetServer instance.port - IOExceptionpublic static String help()
public static void main(String[] args) throws Exception
main method here.args - a String[] valueExceptionpublic static void parseParams(String[] args) throws Exception
args - Exceptionpublic static void turnDebugOn()
public static String version()
public void handleIOInterface(IOInterface ioifc) throws IOException
handleIOInterface in interface SampleSocketThread.SocketHandlerioifc - IOExceptionpublic void handleSocketAccept(SocketChannel sc) throws IOException
handleSocketAccept in interface SampleSocketThread.SocketHandlersc - IOExceptionpublic void run()
throws IOException
IOExceptionCopyright © 2013 Tigase. All rights reserved.