Class in Zendir.Classes | Inherits from UniverseModel

Declaration

class ReceiverMessageWriterModel;

Description

This implements a model on the receiver that can be connected to a partitioned storage system and is able to write the received messages to the storage.


Properties

DeclaredDescription
In_EpochMsgAn optional epoch message that can be used to store the epoch data withinthe data.
KeyA key to look for mapping the received messages
NumReceivedThe number of received message pointers that have been stored in the system.
StorageA reference to the partitioned data storage system that is attachedto this model.
InheritedDescription
IsEnabledIs true if the object is currently enabled.
NameThe display name or tag of this object.
ParentThe currently attached parent object.

Methods

DeclaredDescription
AddFilterAdds a message type filter to the receiver model. This will ensure that onlythe message, with the specified key, can be filtered out.
AddMessageFilterAdds a message type filter to the receiver model. This will ensure that onlythe message, with the specified key, can be filtered out.
ExportExports all the data that has been saved to the data storage system. This willsave the data to a CSV file in the directory that is passed in. The data canalso be formatted to a DateTime format and the data can be deleted after ithas been exported.
ReadClosestMessageReads the message data that is associated with the closest value to sometime that is passed in. This will look into the messages that are receivedand will find the closest time to the time that is passed in. This willthen update the data in the message.
ReadLatestJSONReads the latest value of the JSON data received from the data storage system.This will fetch the data and return it as a JSON object. This will be able tospecify a key to fetch the data from. If deleting, this will remove the datafrom the storage system.
ReadLatestMessageReads the latest value of the message received from the data storage system.This will write the data into the message reference that is passed in and willbe able to fetch the data from some key. If deleting, this will remove the datafrom the storage system.
InheritedDescription
DestroyRemoves the current object from the simulation.
FindParentWithIDReturns an attached parent that satisfies the specified ID.
FindParentWithTypeReturns an attached parent that satisfies the specified type.
FindRootWithIDReturns a root object that satisfies the specified ID.
FindRootWithTypeReturns a root object that satisfies the specified type.