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

Simplex.Messaging.Notifications.Types

Documentation

data NtfTknAction Source #

Instances

Instances details
Show NtfTknAction Source # 
Instance details

Defined in Simplex.Messaging.Notifications.Types

Methods

showsPrec :: Int -> NtfTknAction -> ShowS

show :: NtfTknAction -> String

showList :: [NtfTknAction] -> ShowS

Encoding NtfTknAction Source # 
Instance details

Defined in Simplex.Messaging.Notifications.Types

Methods

smpEncode :: NtfTknAction -> ByteString Source #

smpDecode :: ByteString -> Either String NtfTknAction Source #

smpP :: Parser NtfTknAction Source #

FromField NtfTknAction Source # 
Instance details

Defined in Simplex.Messaging.Notifications.Types

Methods

fromField :: FieldParser NtfTknAction #

ToField NtfTknAction Source # 
Instance details

Defined in Simplex.Messaging.Notifications.Types

Methods

toField :: NtfTknAction -> SQLData #

data NtfToken Source #

Constructors

NtfToken 

Fields

Instances

Instances details
Show NtfToken Source # 
Instance details

Defined in Simplex.Messaging.Notifications.Types

Methods

showsPrec :: Int -> NtfToken -> ShowS

show :: NtfToken -> String

showList :: [NtfToken] -> ShowS

data NtfSubAction Source #

Instances

Instances details
Show NtfSubAction Source # 
Instance details

Defined in Simplex.Messaging.Notifications.Types

Methods

showsPrec :: Int -> NtfSubAction -> ShowS

show :: NtfSubAction -> String

showList :: [NtfSubAction] -> ShowS

type NtfActionTs = UTCTime Source #

data NtfSubNTFAction Source #

Instances

Instances details
Show NtfSubNTFAction Source # 
Instance details

Defined in Simplex.Messaging.Notifications.Types

Methods

showsPrec :: Int -> NtfSubNTFAction -> ShowS

show :: NtfSubNTFAction -> String

showList :: [NtfSubNTFAction] -> ShowS

TextEncoding NtfSubNTFAction Source # 
Instance details

Defined in Simplex.Messaging.Notifications.Types

FromField NtfSubNTFAction Source # 
Instance details

Defined in Simplex.Messaging.Notifications.Types

Methods

fromField :: FieldParser NtfSubNTFAction #

ToField NtfSubNTFAction Source # 
Instance details

Defined in Simplex.Messaging.Notifications.Types

Methods

toField :: NtfSubNTFAction -> SQLData #

data NtfSubSMPAction Source #

Constructors

NSASmpKey 
NSASmpDelete 

Instances

Instances details
Show NtfSubSMPAction Source # 
Instance details

Defined in Simplex.Messaging.Notifications.Types

Methods

showsPrec :: Int -> NtfSubSMPAction -> ShowS

show :: NtfSubSMPAction -> String

showList :: [NtfSubSMPAction] -> ShowS

TextEncoding NtfSubSMPAction Source # 
Instance details

Defined in Simplex.Messaging.Notifications.Types

FromField NtfSubSMPAction Source # 
Instance details

Defined in Simplex.Messaging.Notifications.Types

Methods

fromField :: FieldParser NtfSubSMPAction #

ToField NtfSubSMPAction Source # 
Instance details

Defined in Simplex.Messaging.Notifications.Types

Methods

toField :: NtfSubSMPAction -> SQLData #

data NtfAgentSubStatus Source #

Constructors

NASNew

subscription started

NASKey

state after NKEY - notifier ID is assigned to queue on SMP server

NASCreated NtfSubStatus

state after SNEW - subscription created on notification server

NASOff

state after SDEL (subscription is deleted on notification server)

NASDeleted

state after NDEL (notifier credentials are deleted on SMP server) Can only exist transiently - if subscription record was updated by notification supervisor mid worker operation, and hence got updated instead of being fully deleted in the database post operation by worker

Instances

Instances details
Show NtfAgentSubStatus Source # 
Instance details

Defined in Simplex.Messaging.Notifications.Types

Methods

showsPrec :: Int -> NtfAgentSubStatus -> ShowS

show :: NtfAgentSubStatus -> String

showList :: [NtfAgentSubStatus] -> ShowS

Eq NtfAgentSubStatus Source # 
Instance details

Defined in Simplex.Messaging.Notifications.Types

Encoding NtfAgentSubStatus Source # 
Instance details

Defined in Simplex.Messaging.Notifications.Types

Methods

smpEncode :: NtfAgentSubStatus -> ByteString Source #

smpDecode :: ByteString -> Either String NtfAgentSubStatus Source #

smpP :: Parser NtfAgentSubStatus Source #

FromField NtfAgentSubStatus Source # 
Instance details

Defined in Simplex.Messaging.Notifications.Types

Methods

fromField :: FieldParser NtfAgentSubStatus #

ToField NtfAgentSubStatus Source # 
Instance details

Defined in Simplex.Messaging.Notifications.Types

Methods

toField :: NtfAgentSubStatus -> SQLData #

data NtfSubscription Source #

Instances

Instances details
Show NtfSubscription Source # 
Instance details

Defined in Simplex.Messaging.Notifications.Types

Methods

showsPrec :: Int -> NtfSubscription -> ShowS

show :: NtfSubscription -> String

showList :: [NtfSubscription] -> ShowS