|
||||||||||
| 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 |
boolean |
checkCapabilities(String caps)
Method description |
int |
getInputPacketSize()
Method description |
SocketChannel |
getSocketChannel()
Method description |
void |
getStatistics(StatisticsList list,
boolean reset)
Method description |
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 |
| Constructor Detail |
|---|
public SocketIO(SocketChannel sock)
throws IOException
SocketIO instance.
sock -
IOException| Method Detail |
|---|
public int bytesRead()
bytesRead 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 | |||||||||