public class TLSIO extends Object implements IOInterface
| Modifier and Type | Field and Description |
|---|---|
static String |
TLS_CAPS
Field description
|
| Constructor and Description |
|---|
TLSIO(IOInterface ioi,
TLSWrapper wrapper,
ByteOrder order)
Constructs ...
|
| Modifier and Type | Method and Description |
|---|---|
int |
bytesRead()
Method description
|
boolean |
checkCapabilities(String caps)
Method description
|
long |
getBuffOverflow(boolean reset) |
long |
getBytesReceived(boolean reset) |
long |
getBytesSent(boolean reset) |
int |
getInputPacketSize()
Method description
|
SocketChannel |
getSocketChannel()
Method description
|
void |
getStatistics(StatisticsList list,
boolean reset)
Method description
|
long |
getTotalBuffOverflow() |
long |
getTotalBytesReceived() |
long |
getTotalBytesSent() |
boolean |
isConnected()
Method description
|
boolean |
isRemoteAddress(String addr)
Method description
|
ByteBuffer |
read(ByteBuffer buff)
Method description
|
void |
setLogId(String logId) |
void |
stop()
Method description
|
String |
toString()
Method description
|
boolean |
waitingToSend()
Method description
|
int |
waitingToSendSize()
Method description
|
int |
write(ByteBuffer buff)
Method description
|
public static final String TLS_CAPS
public TLSIO(IOInterface ioi, TLSWrapper wrapper, ByteOrder order) throws IOException
ioi - wrapper - IOExceptionpublic int bytesRead()
bytesRead in interface IOInterfacepublic long getBytesSent(boolean reset)
getBytesSent in interface IOInterfacepublic long getTotalBytesSent()
getTotalBytesSent in interface IOInterfacepublic long getBytesReceived(boolean reset)
getBytesReceived in interface IOInterfacepublic long getTotalBytesReceived()
getTotalBytesReceived in interface IOInterfacepublic long getBuffOverflow(boolean reset)
getBuffOverflow in interface IOInterfacepublic long getTotalBuffOverflow()
getTotalBuffOverflow in interface IOInterfacepublic boolean checkCapabilities(String caps)
checkCapabilities in interface IOInterfacecaps - public int getInputPacketSize()
throws IOException
getInputPacketSize in interface IOInterfaceIOExceptionpublic SocketChannel getSocketChannel()
getSocketChannel in interface IOInterfacepublic void getStatistics(StatisticsList list, boolean reset)
getStatistics in interface IOInterfacelist - reset - public boolean isConnected()
isConnected in interface IOInterfacepublic boolean isRemoteAddress(String addr)
isRemoteAddress in interface IOInterfaceaddr - public ByteBuffer read(ByteBuffer buff) throws IOException
read in interface IOInterfacebuff - IOExceptionpublic void stop()
throws IOException
stop in interface IOInterfaceIOExceptionpublic boolean waitingToSend()
waitingToSend in interface IOInterfacepublic int waitingToSendSize()
waitingToSendSize in interface IOInterfacepublic int write(ByteBuffer buff) throws IOException
write in interface IOInterfacebuff - IOExceptionpublic void setLogId(String logId)
setLogId in interface IOInterfaceCopyright © 2014 "Tigase, Inc.". All rights reserved.