author | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Tue, 4 Aug 2009 11:02:57 +0000 (13:02 +0200) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Tue, 4 Aug 2009 11:02:57 +0000 (13:02 +0200) | ||
commit | 27aec36864d1882bf628b9c71c233d70e994a202 | |
tree | 456abdf7bee6d3d9056f14d53986c15a76e70d25 | tree | snapshot |
parent | cc4301c93dc9f086f823f6e5aa90e369ca9ff188 | commit | diff |
network plugin: Use the meta data to implement the `Forward' option.
Previously, a cache in the network plugin was used to keep track of
which values were received via the network in order to distinguish
between ``forwarded'' values and values that were received from
somewhere else.
The same cache was also used to avoid loops when forwarding packages by
keeping track of the highest timestamp that was sent by the plugin and
discard received data that was older or as old as that.
This information is not kept in the meta data of the global cache (what
is the last timestamp sent) and the meta data of the value list (was
this value list received via the network?). The cache that was
maintained in the network plugin has been removed.
Previously, a cache in the network plugin was used to keep track of
which values were received via the network in order to distinguish
between ``forwarded'' values and values that were received from
somewhere else.
The same cache was also used to avoid loops when forwarding packages by
keeping track of the highest timestamp that was sent by the plugin and
discard received data that was older or as old as that.
This information is not kept in the meta data of the global cache (what
is the last timestamp sent) and the meta data of the value list (was
this value list received via the network?). The cache that was
maintained in the network plugin has been removed.
src/network.c | diff | blob | history |