tigase.io
Class ZLibIO
java.lang.Object
tigase.io.ZLibIO
- All Implemented Interfaces:
- IOInterface
public class ZLibIO
- extends java.lang.Object
- implements IOInterface
Created: Jul 29, 2009 11:58:02 AM
- Version:
- $Rev: 1811 $
- 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 java.nio.channels.SocketChannel getSocketChannel()
- Specified by:
getSocketChannel in interface IOInterface
stop
public void stop()
throws java.io.IOException
- Specified by:
stop in interface IOInterface
- Throws:
java.io.IOException
isConnected
public boolean isConnected()
- Specified by:
isConnected in interface IOInterface
write
public int write(java.nio.ByteBuffer buff)
throws java.io.IOException
- Specified by:
write in interface IOInterface
- Throws:
java.io.IOException
read
public java.nio.ByteBuffer read(java.nio.ByteBuffer buff)
throws java.io.IOException
- Specified by:
read in interface IOInterface
- Throws:
java.io.IOException
bytesRead
public int bytesRead()
- Specified by:
bytesRead in interface IOInterface
getInputPacketSize
public int getInputPacketSize()
throws java.io.IOException
- Specified by:
getInputPacketSize in interface IOInterface
- Throws:
java.io.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(java.lang.String addr)
- Specified by:
isRemoteAddress in interface IOInterface
getStatistics
public void getStatistics(StatisticsList list)
- Specified by:
getStatistics in interface IOInterface
Copyright © 2009 Tigase. All Rights Reserved.