net.i2p.BOB.Demos.echo.echoserver
Class Main
java.lang.Object
net.i2p.BOB.Demos.echo.echoserver.Main
public class Main
- extends Object
- Author:
- sponge
Constructor Summary |
Main()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Main
public Main()
Lread
public static String Lread(InputStream in)
throws IOException
- Throws:
IOException
checkline
static void checkline(String line)
throws RuntimeException
- Check for "ERROR" and if so, throw RuntimeException
- Parameters:
line
-
- Throws:
RuntimeException
wrtxt
static void wrtxt(OutputStream CMDout,
String s)
throws IOException
- Throws:
IOException
setupconn
static void setupconn(String[] args)
throws UnknownHostException,
IOException,
RuntimeException
- Throws:
UnknownHostException
IOException
RuntimeException
deleteconn
static void deleteconn(String[] args)
throws UnknownHostException,
IOException,
RuntimeException
- Throws:
UnknownHostException
IOException
RuntimeException
chatter
static void chatter(Socket sock)
throws UnknownHostException,
IOException,
RuntimeException
- Throws:
UnknownHostException
IOException
RuntimeException
main
public static void main(String[] args)
- Parameters:
args
- tunnelport tunnelnickname