Package tigase.io
Interface IOInterface
public interface IOInterface
Describe interface IOInterface here.
Created: Sat May 14 08:07:38 2005
Created: Sat May 14 08:07:38 2005
- Author:
- Artur Hefczyc
-
Method Summary
Modifier and TypeMethodDescriptionintbooleancheckCapabilities(String caps) longgetBuffOverflow(boolean reset) longgetBytesReceived(boolean reset) longgetBytesSent(boolean reset) intvoidgetStatistics(StatisticsList list, boolean reset) longlonglongbooleanbooleanisRemoteAddress(String addr) read(ByteBuffer buff) voidvoidstop()booleanintintwrite(ByteBuffer buff)
-
Method Details
-
bytesRead
int bytesRead() -
checkCapabilities
-
getInputPacketSize
- Throws:
IOException
-
getSocketChannel
SocketChannel getSocketChannel() -
getStatistics
-
getBytesSent
long getBytesSent(boolean reset) -
getTotalBytesSent
long getTotalBytesSent() -
getBytesReceived
long getBytesReceived(boolean reset) -
getTotalBytesReceived
long getTotalBytesReceived() -
getBuffOverflow
long getBuffOverflow(boolean reset) -
getTotalBuffOverflow
long getTotalBuffOverflow() -
isConnected
boolean isConnected() -
isRemoteAddress
-
read
- Throws:
IOException
-
stop
- Throws:
IOException
-
waitingToSend
boolean waitingToSend() -
waitingToSendSize
int waitingToSendSize() -
write
- Throws:
IOException
-
setLogId
-