|
JNodeOS v1.2.0 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--edu.utah.janos.nodeos.FlowRun
|
+--edu.utah.janos.apps.ping.PingFlow
A flow implementation of `ping'.
| Constructor Summary | |
PingFlow()
|
|
| Method Summary | |
void |
receive(BufferHandle bh,
int payloadOffset)
Invoked once for each packet that is received. |
protected void |
run(Flow flow,
java.lang.String[] args,
edu.utah.janosvm.kit.comm.commspace.CommSpaceHandle commSpaceHandle)
Invoked as the initial entrypoint in a new flow. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public PingFlow()
| Method Detail |
protected void run(Flow flow,
java.lang.String[] args,
edu.utah.janosvm.kit.comm.commspace.CommSpaceHandle commSpaceHandle)
flow - the new flow and the current flowargs - whatever "command line" arguments the creator passed.csh - handle on a parent's CommSpace
public void receive(BufferHandle bh,
int payloadOffset)
XXX why does this throw IOException?
packet - the packet that was recieved.payloadOffset - the integer returned from the
DemultiplexKey.matches() function.
|
JNodeOS v1.2.0 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||