tigase.io
Class TLSWrapper
java.lang.Object
tigase.io.TLSWrapper
public class TLSWrapper
- extends java.lang.Object
Describe class TLSWrapper here.
Created: Sat Mar 5 09:13:29 2005
- Version:
- $Rev: 1172 $
- Author:
- Artur Hefczyc
|
Constructor Summary |
TLSWrapper(javax.net.ssl.SSLContext sslc,
TLSEventHandler eventHandler,
boolean clientMode)
Creates a new TLSWrapper instance. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TLSWrapper
public TLSWrapper(javax.net.ssl.SSLContext sslc,
TLSEventHandler eventHandler,
boolean clientMode)
- Creates a new
TLSWrapper instance.
isClientMode
public boolean isClientMode()
close
public void close()
throws javax.net.ssl.SSLException
- Throws:
javax.net.ssl.SSLException
getNetBuffSize
public int getNetBuffSize()
getAppBuffSize
public int getAppBuffSize()
getPacketBuffSize
public int getPacketBuffSize()
getStatus
public TLSStatus getStatus()
unwrap
public java.nio.ByteBuffer unwrap(java.nio.ByteBuffer net,
java.nio.ByteBuffer app)
throws javax.net.ssl.SSLException
- Throws:
javax.net.ssl.SSLException
wrap
public void wrap(java.nio.ByteBuffer app,
java.nio.ByteBuffer net)
throws javax.net.ssl.SSLException
- Throws:
javax.net.ssl.SSLException
bytesConsumed
public int bytesConsumed()
Copyright © 2008 Tigase. All Rights Reserved.