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() |
boolean |
checkCapabilities(String caps) |
long |
getBuffOverflow(boolean reset) |
long |
getBytesReceived(boolean reset) |
long |
getBytesSent(boolean reset) |
int |
getInputPacketSize() |
SocketChannel |
getSocketChannel() |
void |
getStatistics(StatisticsList list,
boolean reset) |
long |
getTotalBuffOverflow() |
long |
getTotalBytesReceived() |
long |
getTotalBytesSent() |
boolean |
isConnected() |
boolean |
isRemoteAddress(String addr) |
ByteBuffer |
read(ByteBuffer buff) |
void |
setLogId(String logId) |
void |
stop() |
String |
toString() |
boolean |
waitingToSend() |
int |
waitingToSendSize() |
int |
write(ByteBuffer buff) |
public static final String TLS_CAPS
public TLSIO(IOInterface ioi, TLSWrapper wrapper, ByteOrder order) throws IOException
ioi
- wrapper
- IOException
public int bytesRead()
bytesRead
in interface IOInterface
public long getBytesSent(boolean reset)
getBytesSent
in interface IOInterface
public long getTotalBytesSent()
getTotalBytesSent
in interface IOInterface
public long getBytesReceived(boolean reset)
getBytesReceived
in interface IOInterface
public long getTotalBytesReceived()
getTotalBytesReceived
in interface IOInterface
public long getBuffOverflow(boolean reset)
getBuffOverflow
in interface IOInterface
public long getTotalBuffOverflow()
getTotalBuffOverflow
in interface IOInterface
public boolean checkCapabilities(String caps)
checkCapabilities
in interface IOInterface
public int getInputPacketSize() throws IOException
getInputPacketSize
in interface IOInterface
IOException
public SocketChannel getSocketChannel()
getSocketChannel
in interface IOInterface
public void getStatistics(StatisticsList list, boolean reset)
getStatistics
in interface IOInterface
public boolean isConnected()
isConnected
in interface IOInterface
public boolean isRemoteAddress(String addr)
isRemoteAddress
in interface IOInterface
public ByteBuffer read(ByteBuffer buff) throws IOException
read
in interface IOInterface
IOException
public void stop() throws IOException
stop
in interface IOInterface
IOException
public boolean waitingToSend()
waitingToSend
in interface IOInterface
public int waitingToSendSize()
waitingToSendSize
in interface IOInterface
public int write(ByteBuffer buff) throws IOException
write
in interface IOInterface
IOException
public void setLogId(String logId)
setLogId
in interface IOInterface
Copyright © 2019 "Tigase, Inc.". All rights reserved.