2using System.Threading.Tasks;
108 Task<bool>
BeginWrite(
string Xml, EventHandlerAsync<DeliveryEventArgs> Callback,
object State);
Presence information event arguments.
Contains information about one XMPP address.
Represents a case-insensitive string.
Interface for authentication mechanisms.
Interface for server-side client connections.
Interface for XMPP user accounts.
Interface for client connections.
XmppServer Server
XMPP Server
Task< bool > SaslErrorInvalidAuthzid()
Returns a Invalid Authzid SASL error.
Task< bool > BeginWrite(string Xml, EventHandlerAsync< DeliveryEventArgs > Callback, object State)
Writes XML to the client.
string Binding
Binding method.
Task SetAccount(IAccount Account)
Sets the account for the connection.
Guid Id
Identity of connection object.
PresenceEventArgs LastPresence
Last presence received.
void AccountDeleted()
Is called when an account has been deleted.
XmppAddress Address
Full Address
Task< bool > SaslErrorCredendialsExpired()
Returns a Credentials Expired SASL error.
Task< bool > SaslErrorInvalidMechanism()
Returns a Invalid Mechanism SASL error.
Task< bool > SaslErrorMechanismTooWeak()
Returns a Mechanism too weak SASL error.
Task< bool > SaslErrorTemporaryAuthFailure(string Message, string Language)
Returns a Authentication Failure SASL error.
CaseInsensitiveString FullJid
Full JID
XmppConnectionState State
Connection state.
bool WantsBlockList
If connection is interested in block list events.
void SetMechanism(IAuthenticationMechanism Mechanism)
Sets the authentication mechanism for the connection.
XmppAddress BareAddress
Bare Address
Task< bool > SaslErrorIncorrectEncoding()
Returns a Incorrect encoding SASL error.
CaseInsensitiveString BareJid
Bare JID
Task< bool > SaslErrorEncryptionRequired()
Returns a Encryption Required SASL error.
Task< bool > StreamErrorInvalidXml()
Returns a Invalid XML stream error.
bool CheckLive()
Checks if the connection is live.
Interface for XMPP endpoints
Task< bool > Message(string Type, string Id, XmppAddress To, XmppAddress From, string Language, Stanza Stanza, ISender Sender)
Message stanza.
XmppConnectionState
State of XMPP connection.