|
||||||||||
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(SocketChannel sock)
Creates a new SocketIO instance. |
Method Summary | |
---|---|
int |
bytesRead()
Method description |
int |
getInputPacketSize()
Method description |
SocketChannel |
getSocketChannel()
Method description |
void |
getStatistics(StatisticsList list)
Method description |
boolean |
isConnected()
Method description |
boolean |
isRemoteAddress(String addr)
Method description |
ByteBuffer |
read(ByteBuffer buff)
Method description |
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 |
Constructor Detail |
---|
public SocketIO(SocketChannel sock) throws IOException
SocketIO
instance.
sock
-
IOException
Method Detail |
---|
public int bytesRead()
bytesRead
in interface IOInterface
public int getInputPacketSize() throws IOException
getInputPacketSize
in interface IOInterface
IOException
public SocketChannel getSocketChannel()
getSocketChannel
in interface IOInterface
public void getStatistics(StatisticsList list)
getStatistics
in interface IOInterface
list
- public boolean isConnected()
isConnected
in interface IOInterface
public boolean isRemoteAddress(String addr)
isRemoteAddress
in interface IOInterface
addr
-
public ByteBuffer read(ByteBuffer buff) throws IOException
read
in interface IOInterface
buff
-
IOException
public void stop() throws IOException
stop
in interface IOInterface
IOException
public String toString()
toString
in class Object
public boolean waitingToSend()
waitingToSend
in interface IOInterface
public int waitingToSendSize()
waitingToSendSize
in interface IOInterface
public int write(ByteBuffer buff) throws IOException
write
in interface IOInterface
buff
-
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |