tigase.io
Class ZLibIO
java.lang.Object
tigase.io.ZLibIO
- All Implemented Interfaces:
- IOInterface
public class ZLibIO
- extends Object
- implements IOInterface
Created: Jul 29, 2009 11:58:02 AM
- Version:
- $Rev$
- Author:
- Artur Hefczyc
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ZLibIO
public ZLibIO(IOInterface ioi,
int level)
getSocketChannel
public SocketChannel getSocketChannel()
- Specified by:
getSocketChannel in interface IOInterface
stop
public void stop()
throws IOException
- Specified by:
stop in interface IOInterface
- Throws:
IOException
isConnected
public boolean isConnected()
- Specified by:
isConnected in interface IOInterface
write
public int write(ByteBuffer buff)
throws IOException
- Specified by:
write in interface IOInterface
- Throws:
IOException
read
public ByteBuffer read(ByteBuffer buff)
throws IOException
- Specified by:
read in interface IOInterface
- Throws:
IOException
bytesRead
public int bytesRead()
- Specified by:
bytesRead in interface IOInterface
getInputPacketSize
public int getInputPacketSize()
throws IOException
- Specified by:
getInputPacketSize in interface IOInterface
- Throws:
IOException
waitingToSend
public boolean waitingToSend()
- Specified by:
waitingToSend in interface IOInterface
waitingToSendSize
public int waitingToSendSize()
- Specified by:
waitingToSendSize in interface IOInterface
isRemoteAddress
public boolean isRemoteAddress(String addr)
- Specified by:
isRemoteAddress in interface IOInterface
getStatistics
public void getStatistics(StatisticsList list)
- Specified by:
getStatistics in interface IOInterface
Copyright © 2001-2006 Tigase Developers Team. All rights Reserved.