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 intcapacity()voidclose_head()voidclose_tail()java.lang.StringgetCipherName()java.lang.StringgetProtocolName()java.nio.ByteBufferhead()intpending()voidpop(int bytes)intposition()voidprocess()java.nio.ByteBuffertail()java.lang.StringtoString()
-
-
-
Method Detail
-
getCipherName
public java.lang.String getCipherName()
- Specified by:
getCipherNamein interfaceSslTransportWrapper- Returns:
- the cipher name, which is null until the SSL handshaking is completed
-
getProtocolName
public java.lang.String getProtocolName()
- Specified by:
getProtocolNamein interfaceSslTransportWrapper- Returns:
- the protocol name, which is null until the SSL handshaking is completed
-
capacity
public int capacity()
- Specified by:
capacityin interfaceTransportInput
-
position
public int position()
- Specified by:
positionin interfaceTransportInput
-
tail
public java.nio.ByteBuffer tail()
- Specified by:
tailin interfaceTransportInput
-
process
public void process() throws TransportException- Specified by:
processin interfaceTransportInput- Throws:
TransportException
-
close_tail
public void close_tail()
- Specified by:
close_tailin interfaceTransportInput
-
pending
public int pending()
- Specified by:
pendingin interfaceTransportOutput
-
head
public java.nio.ByteBuffer head()
- Specified by:
headin interfaceTransportOutput
-
pop
public void pop(int bytes)
- Specified by:
popin interfaceTransportOutput
-
close_head
public void close_head()
- Specified by:
close_headin interfaceTransportOutput
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-