|
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.benchmarks.FloodSink
| Constructor Summary | |
FloodSink()
|
|
| 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 csh)
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 FloodSink()
| Method Detail |
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.
protected void run(Flow flow,
java.lang.String[] args,
edu.utah.janosvm.kit.comm.commspace.CommSpaceHandle csh)
flow - the new flow and the current flowargs - whatever "command line" arguments the creator passed.csh - handle on a parent's CommSpace
|
JNodeOS v1.2.0 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||