|
JanosVM v0.6.0 Java 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.
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 |
Constructor Detail |
public TCPProvider(int port) throws java.io.IOException
port
- The port to listen for connections.Method Detail |
public void detach()
public void handle(JSIConnectionHandler jch)
jch
- The handler to call when a new connection is received.public java.lang.String toString()
|
JanosVM v0.6.0 Java API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |