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 TypeMethodDescriptionint
boolean
checkCapabilities
(String caps) long
getBuffOverflow
(boolean reset) long
getBytesReceived
(boolean reset) long
getBytesSent
(boolean reset) int
void
getStatistics
(StatisticsList list, boolean reset) long
long
long
boolean
boolean
isRemoteAddress
(String addr) read
(ByteBuffer buff) void
void
stop()
boolean
int
int
write
(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
-