|
J-Sim v1.2.1-p7 API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Interface defining callbacks for nonblocking socket calls.
| Method Summary | |
void |
acceptFinished(InetSocket serverSocket_,
InetSocket new_)
Called back when accepting a new connection is finished. |
void |
closeFinished(InetSocket socket_)
Called back when a connection is closed. |
void |
connectFinished(InetSocket socket_)
Called back when a connection is established. |
void |
error(InetSocket socket_,
java.io.IOException error_)
Called back when an error occurs during "accept" or "connect". |
| Method Detail |
public void acceptFinished(InetSocket serverSocket_,
InetSocket new_)
serverSocket_ - where the accepting occurred.new_ - socket for the new connection.public void connectFinished(InetSocket socket_)
socket_ - where the connection is established.public void closeFinished(InetSocket socket_)
socket_ - where the connection is closed.
public void error(InetSocket socket_,
java.io.IOException error_)
socket_ - to which the error is related.error_ - the error message.
|
J-Sim v1.2.1-p7 API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||