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