The XmppCore type exposes the following members.

Constructors

  NameDescription
Public methodXmppCore(String, Int32, Boolean, RemoteCertificateValidationCallback)
Initializes a new instance of the XmppCore class.
Public methodXmppCore(String, String, String, Int32, Boolean, RemoteCertificateValidationCallback)
Initializes a new instance of the XmppCore class.

Methods

  NameDescription
Public methodAuthenticate
Authenticates with the XMPP server using the specified username and password.
Public methodClose
Closes the connection with the XMPP server. This automatically disposes of the object.
Public methodConnect
Establishes a connection to the XMPP server.
Public methodDispose()()()()
Releases all resources used by the current instance of the XmppCore class.
Protected methodDispose(Boolean)
Releases all resources used by the current instance of the XmppCore class, optionally disposing of managed resource.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIqRequest(Iq, Int32)
Performs an IQ set/get request and blocks until the response IQ comes in.
Public methodIqRequest(IqType, Jid, Jid, XmlElement, CultureInfo, Int32)
Performs an IQ set/get request and blocks until the response IQ comes in.
Public methodIqRequestAsync(Iq, Action<(Of <<'(String, Iq>)>>))
Performs an IQ set/get request asynchronously and optionally invokes a callback method when the IQ response comes in.
Public methodIqRequestAsync(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.
Public methodIqResponse(Iq)
Sends an IQ response for the IQ request with the specified id.
Public methodIqResponse(IqType, String, Jid, Jid, XmlElement, CultureInfo)
Sends an IQ response for the IQ request with the specified id.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSendMessage(Message)
Sends the specified message stanza to the server.
Public methodSendMessage(Jid, Jid, XmlElement, String, CultureInfo)
Sends a Message stanza with the specified attributes and content to the server.
Public methodSendPresence(Presence)
Sends the specified presence stanza to the server.
Public methodSendPresence(Jid, Jid, String, CultureInfo, array<XmlElement>[]()[][])
Sends a Presence stanza with the specified attributes and content to the server.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)

Properties

  NameDescription
Public propertyAuthenticated
Determines whether the instance has been authenticated.
Public propertyConnected
Determines whether the instance is connected to the XMPP server.
Public propertyHostname
The hostname of the XMPP server to connect to.
Public propertyIsEncrypted
Determines whether the session with the server is TLS/SSL encrypted.
Public propertyJid
The address of the Xmpp entity.
Public propertyLanguage
The default language of the XML stream.
Public propertyPassword
The password with which to authenticate.
Public propertyPort
The port number of the XMPP service of the server.
Public propertyTls
If true the session will be TLS/SSL-encrypted if the server supports it.
Public propertyUsername
The username with which to authenticate. In XMPP jargon this is known as the 'node' part of the JID.
Public propertyValidate
A delegate used for verifying the remote Secure Sockets Layer (SSL) certificate which is used for authentication.

Events

  NameDescription
Public eventError
The event that is raised when an unrecoverable error condition occurs.
Public eventIq
The event that is raised when an IQ-request stanza has been received.
Public eventMessage
The event that is raised when a Message stanza has been received.
Public eventPresence
The event that is raised when a Presence stanza has been received.

See Also