public class LoggableCLIConnection extends Object implements CLIConnection
| Constructor and Description |
|---|
LoggableCLIConnection(CLIConnection cliConnection) |
LoggableCLIConnection(CLIConnection cliConnection,
CLIStreamLogger inStreamLogger,
CLIStreamLogger outStreamLogger) |
LoggableCLIConnection(CLIConnection cliConnection,
CLIStreamLogger inStreamLogger,
CLIStreamLogger outStreamLogger,
char isLineTerminator,
char osLineTerminator) |
| 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 LoggableCLIConnection(CLIConnection cliConnection)
public LoggableCLIConnection(CLIConnection cliConnection, CLIStreamLogger inStreamLogger, CLIStreamLogger outStreamLogger)
public LoggableCLIConnection(CLIConnection cliConnection, CLIStreamLogger inStreamLogger, CLIStreamLogger outStreamLogger, char isLineTerminator, char osLineTerminator)
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 © 2019 iTransformers Labs. All rights reserved.