|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecttigase.io.SocketIO
public class SocketIO
Describe class SocketIO here. Created: Sat May 14 07:18:30 2005
| Constructor Summary | |
|---|---|
SocketIO(java.nio.channels.SocketChannel sock)
Creates a new SocketIO instance. |
|
| Method Summary | |
|---|---|
int |
bytesRead()
Method description |
int |
getInputPacketSize()
Method description |
java.nio.channels.SocketChannel |
getSocketChannel()
Method description |
void |
getStatistics(StatisticsList list)
Method description |
boolean |
isConnected()
Method description |
boolean |
isRemoteAddress(java.lang.String addr)
Method description |
java.nio.ByteBuffer |
read(java.nio.ByteBuffer buff)
Method description |
void |
stop()
Method description |
java.lang.String |
toString()
Method description |
boolean |
waitingToSend()
Method description |
int |
waitingToSendSize()
Method description |
int |
write(java.nio.ByteBuffer buff)
Method description |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SocketIO(java.nio.channels.SocketChannel sock)
throws java.io.IOException
SocketIO instance.
sock -
java.io.IOException| Method Detail |
|---|
public int bytesRead()
bytesRead in interface IOInterface
public int getInputPacketSize()
throws java.io.IOException
getInputPacketSize in interface IOInterfacejava.io.IOExceptionpublic java.nio.channels.SocketChannel getSocketChannel()
getSocketChannel in interface IOInterfacepublic void getStatistics(StatisticsList list)
getStatistics in interface IOInterfacelist - public boolean isConnected()
isConnected in interface IOInterfacepublic boolean isRemoteAddress(java.lang.String addr)
isRemoteAddress in interface IOInterfaceaddr -
public java.nio.ByteBuffer read(java.nio.ByteBuffer buff)
throws java.io.IOException
read in interface IOInterfacebuff -
java.io.IOException
public void stop()
throws java.io.IOException
stop in interface IOInterfacejava.io.IOExceptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean waitingToSend()
waitingToSend in interface IOInterfacepublic int waitingToSendSize()
waitingToSendSize in interface IOInterface
public int write(java.nio.ByteBuffer buff)
throws java.io.IOException
write in interface IOInterfacebuff -
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||