| Maintainer | Toshio Ito <debug.ito@gmail.com> |
|---|---|
| Safe Haskell | None |
| Language | Haskell2010 |
NetSpider.RPL.DIO
Description
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.
Constructors
| DIONode | |
Fields
| |
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 Methods writeNodeAttributes :: DIONode -> Binder (Walk SideEffect VFoundNode VFoundNode) # parseNodeAttributes :: PMap Multi GValue -> Parser DIONode # | |
| ToAttributes DIONode Source # | |
Defined in NetSpider.RPL.DIO Methods 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.
Constructors
| DIOLink | |
Fields
| |
Instances
data MergedDIOLink Source #
Link attributes merging two DIOLinks from the two end nodes
of the link.
Constructors
| MergedDIOLink | |
Fields
| |
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.
Constructors
| 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
Arguments
| :: [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.