Class Main
- java.lang.Object
-
- net.i2p.BOB.Demos.echo.echoserver.Main
-
public class Main extends Object
- Author:
- sponge
-
-
Constructor Summary
Constructors Constructor Description Main()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description (package private) static void
chatter(Socket sock)
(package private) static void
checkline(String line)
Check for "ERROR" and if so, throw RuntimeException(package private) static void
deleteconn(String[] args)
static String
Lread(InputStream in)
static void
main(String[] args)
(package private) static void
setupconn(String[] args)
(package private) static void
wrtxt(OutputStream CMDout, String s)
-
-
-
Method Detail
-
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
-
deleteconn
static void deleteconn(String[] args) throws UnknownHostException, IOException, RuntimeException
-
chatter
static void chatter(Socket sock) throws UnknownHostException, IOException, RuntimeException
-
main
public static void main(String[] args)
- Parameters:
args
- tunnelport tunnelnickname
-
-