public class SSLSocketChannelInput extends Object implements CommunicationsInput
| Modifier and Type | Field and Description |
|---|---|
private InputStream |
bufferedIn |
private ByteCountingInputStream |
countingIn |
private SSLSocketChannelInputStream |
in |
| Constructor and Description |
|---|
SSLSocketChannelInput(SSLSocketChannel socketChannel) |
| Modifier and Type | Method and Description |
|---|---|
long |
getBytesRead() |
InputStream |
getInputStream() |
boolean |
isDataAvailable() |
private final SSLSocketChannelInputStream in
private final ByteCountingInputStream countingIn
private final InputStream bufferedIn
public SSLSocketChannelInput(SSLSocketChannel socketChannel)
public InputStream getInputStream() throws IOException
getInputStream in interface CommunicationsInputIOExceptionpublic boolean isDataAvailable()
throws IOException
IOExceptionpublic long getBytesRead()
getBytesRead in interface CommunicationsInputCopyright © 2015 Apache NiFi (incubating). All rights reserved.