Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
IClientConnection.cs
1using System;
2using System.Threading.Tasks;
3using Waher.Events;
6
8{
13 {
17 Guid Id
18 {
19 get;
20 }
21
25 string Binding
26 {
27 get;
28 }
29
34 {
35 get;
36 }
37
42 {
43 get;
44 }
45
50 {
51 get;
52 }
53
58 {
59 get;
60 }
61
66 {
67 get;
68 set;
69 }
70
75 {
76 get;
77 }
78
83 {
84 get;
85 set;
86 }
87
92 {
93 get;
94 }
95
100 bool CheckLive();
101
108 Task<bool> BeginWrite(string Xml, EventHandlerAsync<DeliveryEventArgs> Callback, object State);
109
114 Task SetAccount(IAccount Account);
115
120
126
132
138
144
150
156
162
167 Task<bool> SaslErrorTemporaryAuthFailure(string Message, string Language);
168
174 }
175}
Presence information event arguments.
Contains information about one XMPP address.
Definition: XmppAddress.cs:9
Represents a case-insensitive string.
Interface for authentication mechanisms.
Interface for server-side client connections.
Interface for XMPP user accounts.
Definition: IAccount.cs:9
Task< bool > SaslErrorInvalidAuthzid()
Returns a Invalid Authzid SASL error.
Task< bool > BeginWrite(string Xml, EventHandlerAsync< DeliveryEventArgs > Callback, object State)
Writes XML to the client.
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.
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.
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.
Task< bool > SaslErrorIncorrectEncoding()
Returns a Incorrect encoding SASL error.
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
Definition: IEndpoint.cs:10
Task< bool > Message(string Type, string Id, XmppAddress To, XmppAddress From, string Language, Stanza Stanza, ISender Sender)
Message stanza.
XmppConnectionState
State of XMPP connection.