simplexmq-6.5.0.16: SimpleXMQ message broker
Safe HaskellSafe-Inferred
LanguageHaskell2010

Simplex.Messaging.Agent.Env.SQLite

Synopsis

Documentation

type AM' a = ReaderT Env IO a Source #

type AM a = ExceptT AgentErrorType (ReaderT Env IO) a Source #

data AgentConfig Source #

Constructors

AgentConfig 

Fields

data InitialAgentServers Source #

Constructors

InitialAgentServers 

Fields

data ServerCfg p Source #

Constructors

ServerCfg 

Instances

Instances details
ProtocolTypeI p => FromJSON (ServerCfg p) Source # 
Instance details

Defined in Simplex.Messaging.Agent.Env.SQLite

Methods

parseJSON :: Value -> Parser (ServerCfg p)

parseJSONList :: Value -> Parser [ServerCfg p]

omittedField :: Maybe (ServerCfg p)

ProtocolTypeI p => ToJSON (ServerCfg p) Source # 
Instance details

Defined in Simplex.Messaging.Agent.Env.SQLite

Methods

toJSON :: ServerCfg p -> Value

toEncoding :: ServerCfg p -> Encoding

toJSONList :: [ServerCfg p] -> Value

toEncodingList :: [ServerCfg p] -> Encoding

omitField :: ServerCfg p -> Bool

Show (ServerCfg p) Source # 
Instance details

Defined in Simplex.Messaging.Agent.Env.SQLite

Methods

showsPrec :: Int -> ServerCfg p -> ShowS

show :: ServerCfg p -> String

showList :: [ServerCfg p] -> ShowS

data ServerRoles Source #

Constructors

ServerRoles 

Fields

Instances

Instances details
FromJSON ServerRoles Source # 
Instance details

Defined in Simplex.Messaging.Agent.Env.SQLite

Methods

parseJSON :: Value -> Parser ServerRoles

parseJSONList :: Value -> Parser [ServerRoles]

omittedField :: Maybe ServerRoles

ToJSON ServerRoles Source # 
Instance details

Defined in Simplex.Messaging.Agent.Env.SQLite

Methods

toJSON :: ServerRoles -> Value

toEncoding :: ServerRoles -> Encoding

toJSONList :: [ServerRoles] -> Value

toEncodingList :: [ServerRoles] -> Encoding

omitField :: ServerRoles -> Bool

Show ServerRoles Source # 
Instance details

Defined in Simplex.Messaging.Agent.Env.SQLite

Methods

showsPrec :: Int -> ServerRoles -> ShowS

show :: ServerRoles -> String

showList :: [ServerRoles] -> ShowS

type OperatorId = Int64 Source #

data UserServers p Source #

Constructors

UserServers 

Fields

data NetworkConfig Source #

network configuration for the client

Constructors

NetworkConfig 

Fields

Instances

Instances details
FromJSON NetworkConfig Source # 
Instance details

Defined in Simplex.Messaging.Client

Methods

parseJSON :: Value -> Parser NetworkConfig

parseJSONList :: Value -> Parser [NetworkConfig]

omittedField :: Maybe NetworkConfig

ToJSON NetworkConfig Source # 
Instance details

Defined in Simplex.Messaging.Client

Methods

toJSON :: NetworkConfig -> Value

toEncoding :: NetworkConfig -> Encoding

toJSONList :: [NetworkConfig] -> Value

toEncodingList :: [NetworkConfig] -> Encoding

omitField :: NetworkConfig -> Bool

Show NetworkConfig Source # 
Instance details

Defined in Simplex.Messaging.Client

Methods

showsPrec :: Int -> NetworkConfig -> ShowS

show :: NetworkConfig -> String

showList :: [NetworkConfig] -> ShowS

Eq NetworkConfig Source # 
Instance details

Defined in Simplex.Messaging.Client

data Env Source #

Constructors

Env 

Fields

data NtfSupervisorCommand Source #

Instances

Instances details
Show NtfSupervisorCommand Source # 
Instance details

Defined in Simplex.Messaging.Agent.Env.SQLite

Methods

showsPrec :: Int -> NtfSupervisorCommand -> ShowS

show :: NtfSupervisorCommand -> String

showList :: [NtfSupervisorCommand] -> ShowS

data XFTPAgent Source #

Constructors

XFTPAgent 

data Worker Source #

Constructors

Worker 

Fields

data RestartCount Source #

Constructors

RestartCount 

Fields