The XmppCore type exposes the following members.
Constructors
Name | Description | |
---|---|---|
XmppCore(String, Int32, Boolean, RemoteCertificateValidationCallback) |
Initializes a new instance of the XmppCore class.
| |
XmppCore(String, String, String, Int32, Boolean, RemoteCertificateValidationCallback) |
Initializes a new instance of the XmppCore class.
|
Methods
Name | Description | |
---|---|---|
Authenticate |
Authenticates with the XMPP server using the specified username and
password.
| |
Close |
Closes the connection with the XMPP server. This automatically disposes
of the object.
| |
Connect |
Establishes a connection to the XMPP server.
| |
Dispose()()()() |
Releases all resources used by the current instance of the XmppCore class.
| |
Dispose(Boolean) |
Releases all resources used by the current instance of the XmppCore
class, optionally disposing of managed resource.
| |
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IqRequest(Iq, Int32) |
Performs an IQ set/get request and blocks until the response IQ comes in.
| |
IqRequest(IqType, Jid, Jid, XmlElement, CultureInfo, Int32) |
Performs an IQ set/get request and blocks until the response IQ comes in.
| |
IqRequestAsync(Iq, Action<(Of <<'(String, Iq>)>>)) |
Performs an IQ set/get request asynchronously and optionally invokes a
callback method when the IQ response comes in.
| |
IqRequestAsync(IqType, Jid, Jid, XmlElement, CultureInfo, Action<(Of <<'(String, Iq>)>>)) |
Performs an IQ set/get request asynchronously and optionally invokes a
callback method when the IQ response comes in.
| |
IqResponse(Iq) |
Sends an IQ response for the IQ request with the specified id.
| |
IqResponse(IqType, String, Jid, Jid, XmlElement, CultureInfo) |
Sends an IQ response for the IQ request with the specified id.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
SendMessage(Message) |
Sends the specified message stanza to the server.
| |
SendMessage(Jid, Jid, XmlElement, String, CultureInfo) |
Sends a Message stanza with the specified attributes and content to the
server.
| |
SendPresence(Presence) |
Sends the specified presence stanza to the server.
| |
SendPresence(Jid, Jid, String, CultureInfo, array<XmlElement>[]()[][]) |
Sends a Presence stanza with the specified attributes and content to the
server.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
Authenticated |
Determines whether the instance has been authenticated.
| |
Connected |
Determines whether the instance is connected to the XMPP server.
| |
Hostname |
The hostname of the XMPP server to connect to.
| |
IsEncrypted |
Determines whether the session with the server is TLS/SSL encrypted.
| |
Jid |
The address of the Xmpp entity.
| |
Language |
The default language of the XML stream.
| |
Password |
The password with which to authenticate.
| |
Port |
The port number of the XMPP service of the server.
| |
Tls |
If true the session will be TLS/SSL-encrypted if the server supports it.
| |
Username |
The username with which to authenticate. In XMPP jargon this is known
as the 'node' part of the JID.
| |
Validate |
A delegate used for verifying the remote Secure Sockets Layer (SSL)
certificate which is used for authentication.
|
Events
Name | Description | |
---|---|---|
Error |
The event that is raised when an unrecoverable error condition occurs.
| |
Iq |
The event that is raised when an IQ-request stanza has been received.
| |
Message |
The event that is raised when a Message stanza has been received.
| |
Presence |
The event that is raised when a Presence stanza has been received.
|