tigase.io
Interface IOInterface
- All Known Implementing Classes:
- SocketIO, TLSIO, ZLibIO
public interface IOInterface
Describe interface IOInterface here.
Created: Sat May 14 08:07:38 2005
- Version:
- $Rev: 2996 $
- Author:
- Artur Hefczyc
bytesRead
int bytesRead()
checkCapabilities
boolean checkCapabilities(String caps)
getInputPacketSize
int getInputPacketSize()
throws IOException
- Throws:
IOException
getSocketChannel
SocketChannel getSocketChannel()
getStatistics
void getStatistics(StatisticsList list,
boolean reset)
isConnected
boolean isConnected()
isRemoteAddress
boolean isRemoteAddress(String addr)
read
ByteBuffer read(ByteBuffer buff)
throws IOException
- Throws:
IOException
stop
void stop()
throws IOException
- Throws:
IOException
waitingToSend
boolean waitingToSend()
waitingToSendSize
int waitingToSendSize()
write
int write(ByteBuffer buff)
throws IOException
- Throws:
IOException
setLogId
void setLogId(String logId)
Copyright © 2012 Tigase. All Rights Reserved.