|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--solar.service.dan.GraphNode | +--solar.service.dan.Application | +--solar.test.EventPrinter
A simple Solar application that make subscriptions to print all receive events.
Field Summary |
Fields inherited from class solar.service.dan.GraphNode |
_gid |
Fields inherited from interface solar.service.dan.DanConstants |
DAN_INPORT, DAN_OUTPORT |
Constructor Summary | |
EventPrinter()
|
Method Summary | |
void |
handleEvent(Event evt)
Handle the event being actively pushed/published to this operator. |
static void |
main(java.lang.String[] args)
Start the event printer and make subscription. |
Methods inherited from class solar.service.dan.Application |
getOutputPorts, handleQuery |
Methods inherited from class solar.service.dan.GraphNode |
getId, getInputPorts, handleEvent, handleQuery, init, init, publish, publish, setId |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public EventPrinter()
Method Detail |
public void handleEvent(Event evt) throws java.lang.Exception
GraphNode
handleEvent
in class GraphNode
java.lang.Exception
public static void main(java.lang.String[] args) throws java.lang.Exception
-host tahoe -port 5470 -query "[source=clock]"
or:
-host tahoe -port 5470 -subfile graph.xml -root \$root
java.lang.Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |