public class SSLSocketChannelCommunicationsSession extends AbstractCommunicationsSession
| Modifier and Type | Field and Description |
|---|---|
private SSLSocketChannel |
channel |
private SSLSocketChannelInput |
request |
private SSLSocketChannelOutput |
response |
MAGIC_BYTES| Constructor and Description |
|---|
SSLSocketChannelCommunicationsSession(SSLSocketChannel channel,
String uri) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
long |
getBytesRead() |
long |
getBytesWritten() |
SSLSocketChannelInput |
getInput() |
SSLSocketChannelOutput |
getOutput() |
int |
getTimeout() |
void |
interrupt() |
boolean |
isClosed() |
boolean |
isDataAvailable() |
void |
setTimeout(int millis) |
String |
toString() |
getUri, getUserDn, setUri, setUserDnprivate final SSLSocketChannel channel
private final SSLSocketChannelInput request
private final SSLSocketChannelOutput response
public SSLSocketChannelCommunicationsSession(SSLSocketChannel channel, String uri)
public SSLSocketChannelInput getInput()
public SSLSocketChannelOutput getOutput()
public void setTimeout(int millis)
throws IOException
IOExceptionpublic int getTimeout()
throws IOException
IOExceptionpublic void close()
throws IOException
IOExceptionpublic boolean isClosed()
public boolean isDataAvailable()
public long getBytesWritten()
public long getBytesRead()
public void interrupt()
public String toString()
toString in class AbstractCommunicationsSessionCopyright © 2015 Apache NiFi (incubating). All rights reserved.