Remove the overriden config()
Because it simply calls the config() in AbstractNode class.
Add dummy methods to Stimulus (subclass of AbstractNode) for compiling
Implement stopSimulation() in Master.java
*The stopSimulation() sends StreamSpec to sinks to stop receiving data
as a receiver.
Implement terminateTask() and releaseResource() methods in SourceNode.
*terminateTask() stops sending data to sink.
*releaseResource() closes sockets. This method is called by
terminateTask() directly without using methodListner at resource
NodeId/tasks#DELETE
Implement terminateTask() and releaseResource() at SinkNode.
*terminateTask() stops receiving data from upstream.
*releaseResource() closes sockets and remove the sockets from the map.
Add dummy methods to Processing nodes for compling.
Haven't implemented those methods yet.
Add terminateTask and releaseResource method listeners to AbstractNode
Change simulation ID to stream ID.
Delete some empty lines.
Change the name of getSinkNodeURI() to findSinkNodeURI().
Because the JSON.toJSON() helper method will treat getSinkNodeURI() as a
getter for an instance variable.