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

Simplex.Messaging.ServiceScheme

Documentation

data ServiceScheme Source #

Instances

Instances details
Show ServiceScheme Source # 
Instance details

Defined in Simplex.Messaging.ServiceScheme

Methods

showsPrec :: Int -> ServiceScheme -> ShowS

show :: ServiceScheme -> String

showList :: [ServiceScheme] -> ShowS

Eq ServiceScheme Source # 
Instance details

Defined in Simplex.Messaging.ServiceScheme

StrEncoding ServiceScheme Source # 
Instance details

Defined in Simplex.Messaging.ServiceScheme

Methods

strEncode :: ServiceScheme -> ByteString Source #

strDecode :: ByteString -> Either String ServiceScheme Source #

strP :: Parser ServiceScheme Source #

data SrvLoc Source #

Constructors

SrvLoc HostName ServiceName 

Instances

Instances details
Show SrvLoc Source # 
Instance details

Defined in Simplex.Messaging.ServiceScheme

Methods

showsPrec :: Int -> SrvLoc -> ShowS

show :: SrvLoc -> String

showList :: [SrvLoc] -> ShowS

Eq SrvLoc Source # 
Instance details

Defined in Simplex.Messaging.ServiceScheme

Methods

(==) :: SrvLoc -> SrvLoc -> Bool

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

Ord SrvLoc Source # 
Instance details

Defined in Simplex.Messaging.ServiceScheme

Methods

compare :: SrvLoc -> SrvLoc -> Ordering

(<) :: SrvLoc -> SrvLoc -> Bool

(<=) :: SrvLoc -> SrvLoc -> Bool

(>) :: SrvLoc -> SrvLoc -> Bool

(>=) :: SrvLoc -> SrvLoc -> Bool

max :: SrvLoc -> SrvLoc -> SrvLoc

min :: SrvLoc -> SrvLoc -> SrvLoc

StrEncoding SrvLoc Source # 
Instance details

Defined in Simplex.Messaging.ServiceScheme

Methods

strEncode :: SrvLoc -> ByteString Source #

strDecode :: ByteString -> Either String SrvLoc Source #

strP :: Parser SrvLoc Source #