network-protocol-xmpp-0.4.9: Client library for the XMPP protocol.

Safe HaskellNone
LanguageHaskell2010

Network.Protocol.XMPP.Internal

Documentation

newtype Node Source #

Constructors

Node 

Fields

Instances
Eq Node Source # 
Instance details

Defined in Network.Protocol.XMPP.JID

Methods

(==) :: Node -> Node -> Bool

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

Show Node Source # 
Instance details

Defined in Network.Protocol.XMPP.JID

Methods

showsPrec :: Int -> Node -> ShowS

show :: Node -> String

showList :: [Node] -> ShowS

newtype Domain Source #

Constructors

Domain 

Fields

Instances
Eq Domain Source # 
Instance details

Defined in Network.Protocol.XMPP.JID

Methods

(==) :: Domain -> Domain -> Bool

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

Show Domain Source # 
Instance details

Defined in Network.Protocol.XMPP.JID

Methods

showsPrec :: Int -> Domain -> ShowS

show :: Domain -> String

showList :: [Domain] -> ShowS

newtype Resource Source #

Constructors

Resource 

Fields

Instances
Eq Resource Source # 
Instance details

Defined in Network.Protocol.XMPP.JID

Methods

(==) :: Resource -> Resource -> Bool

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

Show Resource Source # 
Instance details

Defined in Network.Protocol.XMPP.JID

Methods

showsPrec :: Int -> Resource -> ShowS

show :: Resource -> String

showList :: [Resource] -> ShowS

class Stanza a where Source #

Methods

stanzaTo :: a -> Maybe JID Source #

stanzaFrom :: a -> Maybe JID Source #

stanzaID :: a -> Maybe Text Source #

stanzaLang :: a -> Maybe Text Source #

stanzaPayloads :: a -> [Element] Source #

stanzaToElement :: a -> Element Source #

Instances
Stanza IQ Source # 
Instance details

Defined in Network.Protocol.XMPP.Stanza

Methods

stanzaTo :: IQ -> Maybe JID Source #

stanzaFrom :: IQ -> Maybe JID Source #

stanzaID :: IQ -> Maybe Text Source #

stanzaLang :: IQ -> Maybe Text Source #

stanzaPayloads :: IQ -> [Element] Source #

stanzaToElement :: IQ -> Element Source #

Stanza Presence Source # 
Instance details

Defined in Network.Protocol.XMPP.Stanza

Methods

stanzaTo :: Presence -> Maybe JID Source #

stanzaFrom :: Presence -> Maybe JID Source #

stanzaID :: Presence -> Maybe Text Source #

stanzaLang :: Presence -> Maybe Text Source #

stanzaPayloads :: Presence -> [Element] Source #

stanzaToElement :: Presence -> Element Source #

Stanza Message Source # 
Instance details

Defined in Network.Protocol.XMPP.Stanza

Methods

stanzaTo :: Message -> Maybe JID Source #

stanzaFrom :: Message -> Maybe JID Source #

stanzaID :: Message -> Maybe Text Source #

stanzaLang :: Message -> Maybe Text Source #

stanzaPayloads :: Message -> [Element] Source #

stanzaToElement :: Message -> Element Source #