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

Simplex.RemoteControl.Types

Synopsis

Documentation

data RCErrorType Source #

Instances

Instances details
FromJSON RCErrorType Source # 
Instance details

Defined in Simplex.RemoteControl.Types

Methods

parseJSON :: Value -> Parser RCErrorType

parseJSONList :: Value -> Parser [RCErrorType]

omittedField :: Maybe RCErrorType

ToJSON RCErrorType Source # 
Instance details

Defined in Simplex.RemoteControl.Types

Methods

toJSON :: RCErrorType -> Value

toEncoding :: RCErrorType -> Encoding

toJSONList :: [RCErrorType] -> Value

toEncodingList :: [RCErrorType] -> Encoding

omitField :: RCErrorType -> Bool

Exception RCErrorType Source # 
Instance details

Defined in Simplex.RemoteControl.Types

Methods

toException :: RCErrorType -> SomeException

fromException :: SomeException -> Maybe RCErrorType

displayException :: RCErrorType -> String

Show RCErrorType Source # 
Instance details

Defined in Simplex.RemoteControl.Types

Methods

showsPrec :: Int -> RCErrorType -> ShowS

show :: RCErrorType -> String

showList :: [RCErrorType] -> ShowS

Eq RCErrorType Source # 
Instance details

Defined in Simplex.RemoteControl.Types

Methods

(==) :: RCErrorType -> RCErrorType -> Bool

(/=) :: RCErrorType -> RCErrorType -> Bool

StrEncoding RCErrorType Source # 
Instance details

Defined in Simplex.RemoteControl.Types

Methods

strEncode :: RCErrorType -> ByteString Source #

strDecode :: ByteString -> Either String RCErrorType Source #

strP :: Parser RCErrorType Source #

AnyError RCErrorType Source # 
Instance details

Defined in Simplex.RemoteControl.Types

Methods

fromSomeException :: SomeException -> RCErrorType Source #

data RCPVersion Source #

Instances

Instances details
VersionScope RCPVersion Source # 
Instance details

Defined in Simplex.RemoteControl.Types

data RCHostHello Source #

Constructors

RCHostHello 

Fields

Instances

Instances details
FromJSON RCHostHello Source # 
Instance details

Defined in Simplex.RemoteControl.Types

Methods

parseJSON :: Value -> Parser RCHostHello

parseJSONList :: Value -> Parser [RCHostHello]

omittedField :: Maybe RCHostHello

ToJSON RCHostHello Source # 
Instance details

Defined in Simplex.RemoteControl.Types

Methods

toJSON :: RCHostHello -> Value

toEncoding :: RCHostHello -> Encoding

toJSONList :: [RCHostHello] -> Value

toEncodingList :: [RCHostHello] -> Encoding

omitField :: RCHostHello -> Bool

Show RCHostHello Source # 
Instance details

Defined in Simplex.RemoteControl.Types

Methods

showsPrec :: Int -> RCHostHello -> ShowS

show :: RCHostHello -> String

showList :: [RCHostHello] -> ShowS

data RCCtrlHello Source #

Constructors

RCCtrlHello 

Instances

Instances details
FromJSON RCCtrlHello Source # 
Instance details

Defined in Simplex.RemoteControl.Types

Methods

parseJSON :: Value -> Parser RCCtrlHello

parseJSONList :: Value -> Parser [RCCtrlHello]

omittedField :: Maybe RCCtrlHello

ToJSON RCCtrlHello Source # 
Instance details

Defined in Simplex.RemoteControl.Types

Methods

toJSON :: RCCtrlHello -> Value

toEncoding :: RCCtrlHello -> Encoding

toJSONList :: [RCCtrlHello] -> Value

toEncodingList :: [RCCtrlHello] -> Encoding

omitField :: RCCtrlHello -> Bool

Show RCCtrlHello Source # 
Instance details

Defined in Simplex.RemoteControl.Types

Methods

showsPrec :: Int -> RCCtrlHello -> ShowS

show :: RCCtrlHello -> String

showList :: [RCCtrlHello] -> ShowS

data RCHostPairing Source #

Long-term part of controller (desktop) connection to host (mobile)

Constructors

RCHostPairing 

Fields

data RCCtrlAddress Source #

Constructors

RCCtrlAddress 

Fields

Instances

Instances details
FromJSON RCCtrlAddress Source # 
Instance details

Defined in Simplex.RemoteControl.Types

Methods

parseJSON :: Value -> Parser RCCtrlAddress

parseJSONList :: Value -> Parser [RCCtrlAddress]

omittedField :: Maybe RCCtrlAddress

ToJSON RCCtrlAddress Source # 
Instance details

Defined in Simplex.RemoteControl.Types

Methods

toJSON :: RCCtrlAddress -> Value

toEncoding :: RCCtrlAddress -> Encoding

toJSONList :: [RCCtrlAddress] -> Value

toEncodingList :: [RCCtrlAddress] -> Encoding

omitField :: RCCtrlAddress -> Bool

Show RCCtrlAddress Source # 
Instance details

Defined in Simplex.RemoteControl.Types

Methods

showsPrec :: Int -> RCCtrlAddress -> ShowS

show :: RCCtrlAddress -> String

showList :: [RCCtrlAddress] -> ShowS

Eq RCCtrlAddress Source # 
Instance details

Defined in Simplex.RemoteControl.Types

data RCCtrlPairing Source #

Long-term part of host (mobile) connection to controller (desktop)

data RCHostEncHello Source #

Constructors

RCHostEncHello 

Fields

Instances

Instances details
Show RCHostEncHello Source # 
Instance details

Defined in Simplex.RemoteControl.Types

Methods

showsPrec :: Int -> RCHostEncHello -> ShowS

show :: RCHostEncHello -> String

showList :: [RCHostEncHello] -> ShowS

Encoding RCHostEncHello Source # 
Instance details

Defined in Simplex.RemoteControl.Types

Methods

smpEncode :: RCHostEncHello -> ByteString Source #

smpDecode :: ByteString -> Either String RCHostEncHello Source #

smpP :: Parser RCHostEncHello Source #

data RCCtrlEncHello Source #

Constructors

RCCtrlEncHello 

Fields

RCCtrlEncError 

Fields

Instances

Instances details
Show RCCtrlEncHello Source # 
Instance details

Defined in Simplex.RemoteControl.Types

Methods

showsPrec :: Int -> RCCtrlEncHello -> ShowS

show :: RCCtrlEncHello -> String

showList :: [RCCtrlEncHello] -> ShowS

Encoding RCCtrlEncHello Source # 
Instance details

Defined in Simplex.RemoteControl.Types

Methods

smpEncode :: RCCtrlEncHello -> ByteString Source #

smpDecode :: ByteString -> Either String RCCtrlEncHello Source #

smpP :: Parser RCCtrlEncHello Source #

type SessionCode = ByteString Source #

tlsunique channel binding

type RCStepTMVar a = TMVar (Either RCErrorType a) Source #