Class Main
- java.lang.Object
-
- net.i2p.BOB.Demos.echo.echoclient.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 voidchatter(String[] args)(package private) static voidcheckline(String line)Check for "ERROR" and if so, throw RuntimeException(package private) static voiddeleteconn(String[] args)static StringLread(InputStream in)static voidmain(String[] args)(package private) static voidsetupconn(String[] args)(package private) static voidwrtxt(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(String[] args) throws UnknownHostException, IOException, RuntimeException
-
main
public static void main(String[] args)
- Parameters:
args- tunnelport tunnelnickname I2Pdestkey
-
-