Menu

InputProcess

Loren Chorley

Behavioural class: Input process

Description

Determines the behaviour relating to what to do with data when it is received from a source node.

This class already has a sufficient implementation, but may be overridden or extended further. Its basic implementation is as follows.

This class uses a port to collect data transmitted to it. Then in a separate thread, in an infinite loop, it does the following in sequence:

  • Takes data from the port
  • processes it with the Data Processing behavioural class
  • informs the Energy Economics class
  • stores the data using the Storage Process

Overview of attributes

Overview of functions


Related

Wiki: Network behaviours

MongoDB Logo MongoDB