|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Transport
Transport
| Field Summary | |
|---|---|
static int |
END_OF_STREAM
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from interface org.apache.qpid.proton.engine.Endpoint |
|---|
close, free, getContext, getLocalError, getLocalState, getRemoteError, getRemoteState, open, setContext |
| Field Detail |
|---|
static final int END_OF_STREAM
| Method Detail |
|---|
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 input
int 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 output
Sasl 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 attempted
Ssl object representing the SSL session.Ssl ssl(SslDomain sslDomain)
ssl(SslDomain, SslPeerDetails) but no attempt is made to resume a previous SSL session.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||