|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecttigase.io.ZLibIO
public class ZLibIO
Created: Jul 29, 2009 11:58:02 AM
| Field Summary | |
|---|---|
static String |
ZLIB_CAPS
Field description |
| Constructor Summary | |
|---|---|
ZLibIO(IOInterface ioi,
int level)
Constructs ... |
|
| Method Summary | |
|---|---|
int |
bytesRead()
Method description |
boolean |
checkCapabilities(String caps)
Method description |
long |
getBuffOverflow(boolean reset)
|
long |
getBytesReceived(boolean reset)
|
long |
getBytesSent(boolean reset)
|
int |
getInputPacketSize()
Method description |
SocketChannel |
getSocketChannel()
Method description |
void |
getStatistics(StatisticsList list,
boolean reset)
Method description |
long |
getTotalBuffOverflow()
|
long |
getTotalBytesReceived()
|
long |
getTotalBytesSent()
|
boolean |
isConnected()
Method description |
boolean |
isRemoteAddress(String addr)
Method description |
ByteBuffer |
read(ByteBuffer buff)
Method description |
void |
setLogId(String logId)
|
void |
stop()
Method description |
String |
toString()
Method description |
boolean |
waitingToSend()
Method description |
int |
waitingToSendSize()
Method description |
int |
write(ByteBuffer buff)
Method description |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String ZLIB_CAPS
| Constructor Detail |
|---|
public ZLibIO(IOInterface ioi,
int level)
ioi - level - | Method Detail |
|---|
public int bytesRead()
bytesRead in interface IOInterfacepublic long getBytesSent(boolean reset)
getBytesSent in interface IOInterfacepublic long getTotalBytesSent()
getTotalBytesSent in interface IOInterfacepublic long getBytesReceived(boolean reset)
getBytesReceived in interface IOInterfacepublic long getTotalBytesReceived()
getTotalBytesReceived in interface IOInterfacepublic long getBuffOverflow(boolean reset)
getBuffOverflow in interface IOInterfacepublic long getTotalBuffOverflow()
getTotalBuffOverflow in interface IOInterfacepublic boolean checkCapabilities(String caps)
checkCapabilities in interface IOInterfacecaps -
public int getInputPacketSize()
throws IOException
getInputPacketSize in interface IOInterfaceIOExceptionpublic SocketChannel getSocketChannel()
getSocketChannel in interface IOInterface
public void getStatistics(StatisticsList list,
boolean reset)
getStatistics in interface IOInterfacelist - reset - public boolean isConnected()
isConnected in interface IOInterfacepublic boolean isRemoteAddress(String addr)
isRemoteAddress in interface IOInterfaceaddr -
public ByteBuffer read(ByteBuffer buff)
throws IOException
read in interface IOInterfacebuff -
IOException
public void stop()
throws IOException
stop in interface IOInterfaceIOExceptionpublic String toString()
toString in class Objectpublic boolean waitingToSend()
waitingToSend in interface IOInterfacepublic int waitingToSendSize()
waitingToSendSize in interface IOInterface
public int write(ByteBuffer buff)
throws IOException
write in interface IOInterfacebuff -
IOExceptionpublic void setLogId(String logId)
setLogId in interface IOInterface
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||