Maintainer | Toshio Ito <debug.ito@gmail.com> |
---|---|
Safe Haskell | None |
Language | Haskell2010 |
Synopsis
- type FoundNodeDIO = FoundNode FindingID DIONode DIOLink
- type SnapshotGraphDIO = SnapshotGraph FindingID DIONode MergedDIOLink
- data DIONode = DIONode {}
- data DIOLink = DIOLink {}
- dioLinkState :: DIOLink -> LinkState
- data MergedDIOLink = MergedDIOLink {}
- type Rank = Word
- type TrickleInterval = Word
- data NeighborType
- neighborTypeToText :: NeighborType -> Text
- neighborTypeFromText :: Text -> Maybe NeighborType
- dioDefQuery :: [FindingID] -> Query FindingID DIONode DIOLink MergedDIOLink
- dioUnifierConf :: UnifyStdConfig FindingID DIONode DIOLink MergedDIOLink ()
Types
type FoundNodeDIO = FoundNode FindingID DIONode DIOLink Source #
FoundNode
for a network described by DIOs.
type SnapshotGraphDIO = SnapshotGraph FindingID DIONode MergedDIOLink Source #
SnapshotGraph
for a network described by DIOs. This is what you
get by dioDefQuery
.
Node attributes about DIO.
DIONode | |
|
Instances
Eq DIONode Source # | |
Ord DIONode Source # | |
Show DIONode Source # | |
Generic DIONode Source # | |
ToJSON DIONode Source # | Since: 0.4.1.0 |
Defined in NetSpider.RPL.DIO | |
FromJSON DIONode Source # | Since: 0.4.1.0 |
NodeAttributes DIONode Source # | |
Defined in NetSpider.RPL.DIO | |
ToAttributes DIONode Source # | |
Defined in NetSpider.RPL.DIO toAttributes :: DIONode -> [(AttributeKey, AttributeValue)] # | |
type Rep DIONode Source # | |
Defined in NetSpider.RPL.DIO type Rep DIONode = D1 ('MetaData "DIONode" "NetSpider.RPL.DIO" "net-spider-rpl-0.4.1.5-B5a2IBJNeg2FPRyWz1obDc" 'False) (C1 ('MetaCons "DIONode" 'PrefixI 'True) (S1 ('MetaSel ('Just "rank") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Rank) :*: S1 ('MetaSel ('Just "dioInterval") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TrickleInterval))) |
Link attributes about DIO.
Basically this represents information of a neighbor learned from the DIOs it has sent.
DIOLink | |
|
Instances
data MergedDIOLink Source #
Link attributes merging two DIOLink
s from the two end nodes
of the link.
Instances
type TrickleInterval = Word Source #
The interval of Trickle timer as decribed as number of doublings of the minimum interval, i.e. log2(I / Imin).
Since: 0.2.1.0
data NeighborType Source #
Classification of RPL neighbors.
PreferredParent | The neighbor is the preferred parent. |
ParentCandidate | The neighbor is not the preferred parent, but is in the parent set. |
OtherNeighbor | The neighbor is not in the parent set. |
Instances
Query
:: [FindingID] |
|
-> Query FindingID DIONode DIOLink MergedDIOLink |
Default Query
for DIO nodes.
dioUnifierConf :: UnifyStdConfig FindingID DIONode DIOLink MergedDIOLink () Source #
UnifyStdConfig
for RPL DIO data. Used in defQuery
.