C# Class TSVCEO.CloudPrint.Proxy.XMPP

Inheritance: IDisposable
Afficher le fichier Open project: klightspeed/CloudPrintProxy Class Usage Examples

Protected Properties

Свойство Type Description
NamespaceAuth System.Xml.Linq.XNamespace
NamespaceBind System.Xml.Linq.XNamespace
NamespaceClient System.Xml.Linq.XNamespace
NamespacePush System.Xml.Linq.XNamespace
NamespaceSASL System.Xml.Linq.XNamespace
NamespaceSession System.Xml.Linq.XNamespace
NamespaceStartTLS System.Xml.Linq.XNamespace
NamespaceStream System.Xml.Linq.XNamespace

Méthodes publiques

Méthode Description
Dispose ( ) : void
Start ( XMPP>.Action callback ) : void
Stop ( bool _throw ) : void
Subscribe ( string channel, XMPP>.Action callback ) : void
XMPP ( string jid, string authCookie, string resourceName, string authMechanism = "PLAIN", string proxyHost = null, int proxyPort, string host = null, int port ) : System

Méthodes protégées

Méthode Description
BeginBind ( ) : void
BeginSession ( ) : void
Connect ( string Host, int Port, string ProxyHost = null, int ProxyPort ) : Stream
Dispose ( bool disposing ) : void
EnqueueInfoQuery ( string type, string from, string to, CancellationToken>.Action callback ) : void
EnqueueInfoQuery ( string type, string from, string to, CancellationToken>.Action callback, IEnumerable content ) : void
EnqueueInfoQueryResponse ( System.Xml.Linq.XElement iq ) : void
EnqueueMessage ( System.Xml.Linq.XElement msg ) : void
EnqueueSubscription ( CancellationToken>.Action callback ) : void
EnqueueSubscription ( CancellationToken>.Action callback, IEnumerable content ) : void
ProcessInfoQuery ( XmlStream xml, InfoQuery iq ) : void
ProcessQueuedMessages ( XmlStream xml, CancellationToken canceltoken ) : void
ProcessQueuedQueries ( XmlStream xml, CancellationToken canceltoken ) : void
ProcessQueuedResponses ( XmlStream xml, CancellationToken canceltoken ) : void
StartPlaintextStream ( CancellationToken canceltoken ) : void
StartTLSStream ( XmlStream xml, CancellationToken canceltoken ) : void
StartXMPPStream ( XmlStream xml, CancellationToken canceltoken ) : void
StartXMPPThread ( XMPP>.Action callback ) : Thread
StartXMPPWithThreadEndedCallback ( CancellationToken canceltoken, XMPP>.Action callback ) : void
Wait ( bool _throw ) : void
XMPPReader ( XmlStream xml, CancellationToken canceltoken ) : void

Method Details

BeginBind() protected méthode

protected BeginBind ( ) : void
Résultat void

BeginSession() protected méthode

protected BeginSession ( ) : void
Résultat void

Connect() protected static méthode

protected static Connect ( string Host, int Port, string ProxyHost = null, int ProxyPort ) : Stream
Host string
Port int
ProxyHost string
ProxyPort int
Résultat Stream

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

EnqueueInfoQuery() protected méthode

protected EnqueueInfoQuery ( string type, string from, string to, CancellationToken>.Action callback ) : void
type string
from string
to string
callback CancellationToken>.Action
Résultat void

EnqueueInfoQuery() protected méthode

protected EnqueueInfoQuery ( string type, string from, string to, CancellationToken>.Action callback, IEnumerable content ) : void
type string
from string
to string
callback CancellationToken>.Action
content IEnumerable
Résultat void

EnqueueInfoQueryResponse() protected méthode

protected EnqueueInfoQueryResponse ( System.Xml.Linq.XElement iq ) : void
iq System.Xml.Linq.XElement
Résultat void

EnqueueMessage() protected méthode

protected EnqueueMessage ( System.Xml.Linq.XElement msg ) : void
msg System.Xml.Linq.XElement
Résultat void

EnqueueSubscription() protected méthode

protected EnqueueSubscription ( CancellationToken>.Action callback ) : void
callback CancellationToken>.Action
Résultat void

EnqueueSubscription() protected méthode

protected EnqueueSubscription ( CancellationToken>.Action callback, IEnumerable content ) : void
callback CancellationToken>.Action
content IEnumerable
Résultat void

ProcessInfoQuery() protected méthode

protected ProcessInfoQuery ( XmlStream xml, InfoQuery iq ) : void
xml XmlStream
iq InfoQuery
Résultat void

ProcessQueuedMessages() protected méthode

protected ProcessQueuedMessages ( XmlStream xml, CancellationToken canceltoken ) : void
xml XmlStream
canceltoken System.Threading.CancellationToken
Résultat void

ProcessQueuedQueries() protected méthode

protected ProcessQueuedQueries ( XmlStream xml, CancellationToken canceltoken ) : void
xml XmlStream
canceltoken System.Threading.CancellationToken
Résultat void

ProcessQueuedResponses() protected méthode

protected ProcessQueuedResponses ( XmlStream xml, CancellationToken canceltoken ) : void
xml XmlStream
canceltoken System.Threading.CancellationToken
Résultat void

Start() public méthode

public Start ( XMPP>.Action callback ) : void
callback XMPP>.Action
Résultat void

StartPlaintextStream() protected méthode

protected StartPlaintextStream ( CancellationToken canceltoken ) : void
canceltoken System.Threading.CancellationToken
Résultat void

StartTLSStream() protected méthode

protected StartTLSStream ( XmlStream xml, CancellationToken canceltoken ) : void
xml XmlStream
canceltoken System.Threading.CancellationToken
Résultat void

StartXMPPStream() protected méthode

protected StartXMPPStream ( XmlStream xml, CancellationToken canceltoken ) : void
xml XmlStream
canceltoken System.Threading.CancellationToken
Résultat void

StartXMPPThread() protected méthode

protected StartXMPPThread ( XMPP>.Action callback ) : Thread
callback XMPP>.Action
Résultat Thread

StartXMPPWithThreadEndedCallback() protected méthode

protected StartXMPPWithThreadEndedCallback ( CancellationToken canceltoken, XMPP>.Action callback ) : void
canceltoken System.Threading.CancellationToken
callback XMPP>.Action
Résultat void

Stop() public méthode

public Stop ( bool _throw ) : void
_throw bool
Résultat void

Subscribe() public méthode

public Subscribe ( string channel, XMPP>.Action callback ) : void
channel string
callback XMPP>.Action
Résultat void

Wait() protected méthode

protected Wait ( bool _throw ) : void
_throw bool
Résultat void

XMPP() public méthode

public XMPP ( string jid, string authCookie, string resourceName, string authMechanism = "PLAIN", string proxyHost = null, int proxyPort, string host = null, int port ) : System
jid string
authCookie string
resourceName string
authMechanism string
proxyHost string
proxyPort int
host string
port int
Résultat System

XMPPReader() protected méthode

protected XMPPReader ( XmlStream xml, CancellationToken canceltoken ) : void
xml XmlStream
canceltoken System.Threading.CancellationToken
Résultat void

Property Details

NamespaceAuth protected_oe static_oe property

protected static XNamespace,System.Xml.Linq NamespaceAuth
Résultat System.Xml.Linq.XNamespace

NamespaceBind protected_oe static_oe property

protected static XNamespace,System.Xml.Linq NamespaceBind
Résultat System.Xml.Linq.XNamespace

NamespaceClient protected_oe static_oe property

protected static XNamespace,System.Xml.Linq NamespaceClient
Résultat System.Xml.Linq.XNamespace

NamespacePush protected_oe static_oe property

protected static XNamespace,System.Xml.Linq NamespacePush
Résultat System.Xml.Linq.XNamespace

NamespaceSASL protected_oe static_oe property

protected static XNamespace,System.Xml.Linq NamespaceSASL
Résultat System.Xml.Linq.XNamespace

NamespaceSession protected_oe static_oe property

protected static XNamespace,System.Xml.Linq NamespaceSession
Résultat System.Xml.Linq.XNamespace

NamespaceStartTLS protected_oe static_oe property

protected static XNamespace,System.Xml.Linq NamespaceStartTLS
Résultat System.Xml.Linq.XNamespace

NamespaceStream protected_oe static_oe property

protected static XNamespace,System.Xml.Linq NamespaceStream
Résultat System.Xml.Linq.XNamespace