public class POPJavaDeamonConnector
extends java.lang.Object
| Constructor and Description |
|---|
POPJavaDeamonConnector(java.lang.String url) |
POPJavaDeamonConnector(java.lang.String url,
int port) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
sendCommand(java.lang.String secret,
java.util.List<java.lang.String> command)
Sends a command to the remote daemon and closes the connection.
|
public POPJavaDeamonConnector(java.lang.String url)
throws java.io.IOException
java.io.IOExceptionpublic POPJavaDeamonConnector(java.lang.String url,
int port)
throws java.io.IOException
java.io.IOExceptionpublic boolean sendCommand(java.lang.String secret,
java.util.List<java.lang.String> command)
throws java.io.IOException
secret - a secret to mask the connection parametercommand - the command to executejava.io.IOException - any i/o related problem