DanNet¶
Holds datatypes for DanNet that can query fellow peers and provide information on settings
Forms¶
DanNet DanNet¶
DanNet DanNet[peer]¶
- Will provide information on the specified peer when used with certain members, such as "Observe". e.g.
${DanNet[peer_name].Observe[query]}
Associated DataTypes¶
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
DanObservation¶
- Holds information on when a query was last received
-
Members
int64
Received¶- Timestamp of last received query or observation, e.g.
${DanNet.Query.Received}
You can get a more specific result by providing the query and peer, e.g.${DanNet[tankname].Query[Me.PctHPs].Received}or${DanNet[clericname].Observe[Target.ID].Received}
- Timestamp of last received query or observation, e.g.
This TLO is added by MQ2DanNet.