DanNet¶
Holds members that return information on peers as well as settings
Members¶
string Name¶
- current node name (fully qualified)
string Version¶
- current build version
bool Debug¶
- debugging flag
bool LocalEcho¶
- local echo flag (outgoing echo)
bool CommandEcho¶
- command echo (incoming commands)
bool FullNames¶
- print fully qualified names
bool FrontDelim¶
- use a front
|delimiter in arrays
bool ShowGroups¶
- show groups?
string Timeout¶
- timeout for implicit delay in
/dqueryand/dobservecommands
int ObserveDelay¶
- delay between observe broadcasts (in ms)
int Evasive¶
- time to classify a peer as evasive (in ms)
bool EvasiveRefresh¶
- if evasiverefresh is on
int Expired¶
- keepalive time for non-responding peers (in ms)
int Keepalive¶
- keepalive time for local actor pipe (in ms)
int PeerCount¶
- number of connected peers
string Peers¶
- List of connected peers
string Peers[GroupName]¶
- List of connected peers in the ${GroupName} group.
int GroupCount¶
- number of all groups
string Groups¶
- list of all groups (this includes hidden groups used internally! use Joined if you want only groups that are visible)
int JoinedCount¶
- number of joined groups
string Joined¶
- list of joined groups
DanObservation Observe[query]¶
-
observe accessor, accessed like:
${DanNet[peer_name].Observe[query]}- short version: O
- if no indices are specified, lists all queries observers have registered
- if only the query is specified, list all peers that have registered that query as an observer on self
- if only the peer is specified, list all queries that self has registered on peer
- if fully specified, attempt to retrieve the data specified on the remote peer
int ObserveCount¶
-
short version: OCount
- count observed data on peer, or count observers on self if no peer is specified
bool ObserveSet¶
-
short version: OSet
- determine if query has been set as observed data on peer, or as an observer on self if no peer specified
int64 ObserveReceived[query]¶
-
Returns timestamp of last received observation.
- short version: OReceived
DanObservation Query¶
-
query accessor, for last executed query
- short version: Q
DanObservation Query[query]¶
-
If both peer and query indexes are provided, will return the specific query result. e.g.
${DanNet[mytank].Q[Me.PctHPs]}If either index is missing, it will return the result of the last query.- short version: Q
int64 QueryReceived[query]¶
-
Returns the timestamp of last received query.
- short version: QReceived
Note¶
Both Observe and Query are their own data types, which provide a Received member to determine the last received timestamp, or 0 for never received. Used like ${DanNet.Q.Received}
This datatype is added by MQ2DanNet.