public class CrossPipedCLIConnection extends Object implements CLIConnection
| Modifier and Type | Field and Description |
|---|---|
static int |
BUFFER |
protected PipedInputStream |
inputStream |
protected PipedOutputStream |
outputStream |
| Constructor and Description |
|---|
CrossPipedCLIConnection() |
| Modifier and Type | Method and Description |
|---|---|
void |
connect(Map<String,Object> params)
Establishes a session connection to a network host and creates and stores
session parameters.
|
void |
disconnect()
Disconnects the session to the host.
|
InputStream |
inputStream() |
OutputStream |
outputStream() |
public static int BUFFER
protected PipedInputStream inputStream
protected PipedOutputStream outputStream
public void connect(Map<String,Object> params) throws IOException
CLIConnectionconnect in interface CLIConnectionparams - Parameters used to connect connection to the hostIOException - if any IOException when
communication with the NE.public void disconnect()
throws IOException
CLIConnectiondisconnect in interface CLIConnectionIOException - if any IOException when
communication with the hostpublic InputStream inputStream()
inputStream in interface CLIConnectionpublic OutputStream outputStream()
outputStream in interface CLIConnectionCopyright © 2016 iTransformers Labs. All rights reserved.