Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data SubAgentState = SubAgentState {
- sysuptime :: IORef SysUptime
- packetCounter :: IORef PacketID
- mibs :: TVar Module
- sock :: Socket
- sessions :: IORef (Maybe SessionID)
- transactions :: IORef (Map TransactionID Transaction)
- data Transaction = Transaction {}
- runMIBTree :: MIBTree IO a -> SubAgent a
- type SubAgent = ReaderT SubAgentState IO
- data TransactionState
Documentation
data SubAgentState Source
SubAgentState | |
|
runMIBTree :: MIBTree IO a -> SubAgent a Source
run MIBTree in SubAgent context, without lock, if trees was changed, retry
type SubAgent = ReaderT SubAgentState IO Source