Class SimpleSslTransportWrapper
- java.lang.Object
-
- org.apache.qpid.proton.engine.impl.ssl.SimpleSslTransportWrapper
-
- All Implemented Interfaces:
SslTransportWrapper
,TransportInput
,TransportOutput
,TransportWrapper
public class SimpleSslTransportWrapper extends java.lang.Object implements SslTransportWrapper
TODO close the SSLEngine when told to, and modifywrapOutput()
andunwrapInput()
to respond appropriately thereafter.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
capacity()
void
close_head()
void
close_tail()
java.lang.String
getCipherName()
java.lang.String
getProtocolName()
java.nio.ByteBuffer
head()
int
pending()
void
pop(int bytes)
int
position()
void
process()
java.nio.ByteBuffer
tail()
java.lang.String
toString()
-
-
-
Method Detail
-
getCipherName
public java.lang.String getCipherName()
- Specified by:
getCipherName
in interfaceSslTransportWrapper
- Returns:
- the cipher name, which is null until the SSL handshaking is completed
-
getProtocolName
public java.lang.String getProtocolName()
- Specified by:
getProtocolName
in interfaceSslTransportWrapper
- Returns:
- the protocol name, which is null until the SSL handshaking is completed
-
capacity
public int capacity()
- Specified by:
capacity
in interfaceTransportInput
-
position
public int position()
- Specified by:
position
in interfaceTransportInput
-
tail
public java.nio.ByteBuffer tail()
- Specified by:
tail
in interfaceTransportInput
-
process
public void process() throws TransportException
- Specified by:
process
in interfaceTransportInput
- Throws:
TransportException
-
close_tail
public void close_tail()
- Specified by:
close_tail
in interfaceTransportInput
-
pending
public int pending()
- Specified by:
pending
in interfaceTransportOutput
-
head
public java.nio.ByteBuffer head()
- Specified by:
head
in interfaceTransportOutput
-
pop
public void pop(int bytes)
- Specified by:
pop
in interfaceTransportOutput
-
close_head
public void close_head()
- Specified by:
close_head
in interfaceTransportOutput
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-