|
JanosVM v1.0 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--edu.utah.janosvm.kit.comm.jsi.TCPProvider
A straight forward implementation of a JSIProvider running over TCP.
| Field Summary | |
private java.net.ServerSocket |
ss
|
| Constructor Summary | |
TCPProvider(int port)
Construct a TCPProvider thats listening on the given port. |
|
| Method Summary | |
void |
detach()
Detach from whatever rendezvous point is in use. |
void |
handle(JSIConnectionHandler jch)
The main loop of the provider. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait, wait0 |
| Field Detail |
private java.net.ServerSocket ss
| Constructor Detail |
public TCPProvider(int port)
throws java.io.IOException
port - The port to listen for connections.| Method Detail |
public void detach()
JSIProviderdetach in interface JSIProviderpublic void handle(JSIConnectionHandler jch)
JSIProviderhandle in interface JSIProvideredu.utah.janosvm.kit.comm.jsi.JSIProviderjch - The handler to call when a new connection is received.public java.lang.String toString()
toString in class java.lang.Object
|
JanosVM v1.0 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||