| Modifier and Type | Field and Description |
|---|---|
static int |
END_OF_STREAM |
| Modifier and Type | Method and Description |
|---|---|
void |
bind(Connection connection) |
int |
input(byte[] bytes,
int offset,
int size) |
int |
output(byte[] dest,
int offset,
int size)
Has the transport produce up to size bytes placing the result
into dest beginning at position offset.
|
Sasl |
sasl() |
Ssl |
ssl(SslDomain sslDomain)
As per
ssl(SslDomain, SslPeerDetails) but no attempt is made to resume a previous SSL session. |
Ssl |
ssl(SslDomain sslDomain,
SslPeerDetails sslPeerDetails)
Wrap this transport's output and input to apply SSL encryption and decryption respectively.
|
close, free, getContext, getLocalError, getLocalState, getRemoteError, getRemoteState, open, setContextstatic final int END_OF_STREAM
void bind(Connection connection)
int input(byte[] bytes,
int offset,
int size)
bytes - input bytes for consumptionoffset - the offset within bytes where input beginssize - the number of bytes available for inputint output(byte[] dest,
int offset,
int size)
dest - array for output bytesoffset - the offset within bytes where output beginssize - the maximum number of bytes to be outputSasl sasl()
Ssl ssl(SslDomain sslDomain, SslPeerDetails sslPeerDetails)
Ssl object, regardless of the parameters supplied.sslDomain - the SSL settings to usesslPeerDetails - may be null, in which case SSL session resume will not be attemptedSsl object representing the SSL session.Ssl ssl(SslDomain sslDomain)
ssl(SslDomain, SslPeerDetails) but no attempt is made to resume a previous SSL session.Copyright © 2013 FuseSource, Corp.. All Rights Reserved.