The XmppIm type exposes the following members.

Constructors

  NameDescription
Public methodXmppIm(String, Int32, Boolean, RemoteCertificateValidationCallback)
Initializes a new instance of the XmppIm.
Public methodXmppIm(String, String, String, Int32, Boolean, RemoteCertificateValidationCallback)
Initializes a new instance of the XmppIm.

Methods

  NameDescription
Public methodAddToRoster
Adds the specified item to the user's roster.
Public methodApproveSubscriptionRequest
Approves a subscription request received from the contact with the specified JID.
Public methodAutenticate
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 XmppIm class.
Protected methodDispose(Boolean)
Releases all resources used by the current instance of the XmppIm class, optionally disposing of managed resource.
Public methodEditPrivacyList
Creates or updates the privacy list with the name of the specified list on the user's server.
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 methodGetActivePrivacyList
Returns the name of the currently active privacy list.
Public methodGetDefaultPrivacyList
Returns the name of the default privacy list.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetPrivacyList
Retrieves the privacy list with the specified name from the server.
Public methodGetPrivacyLists
Returns an enumerable collection of privacy lists stored on the user's server.
Public methodGetRoster
Retrieves the user's roster.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRefuseSubscriptionRequest
Refuses a subscription request received from the contact with the specified JID.
Public methodRemoveFromRoster(Jid)
Removes the item with the specified JID from the user's roster.
Public methodRemoveFromRoster(RosterItem)
Removes the specified item from the user's roster.
Public methodRemovePrivacyList
Removes the privacy list with the specified name.
Public methodRequestSubscription
Sends a request to subscribe to the presence of the contact with the specified JID.
Public methodRevokeSubscription
Revokes the previously-approved subscription of the contact with the specified JID.
Public methodSendMessage(Message)
Sends the specified chat message.
Public methodSendMessage(Jid, IDictionary<(Of <<'(String, String>)>>), IDictionary<(Of <<'(String, String>)>>), String, MessageType, CultureInfo)
Sends a chat message with the specified content to the specified JID.
Public methodSendMessage(Jid, String, String, String, MessageType, CultureInfo)
Sends a chat message with the specified content to the specified JID.
Public methodSetActivePrivacyList
Activates the privacy list with the specified name.
Public methodSetDefaultPrivacyList
Makes the privacy list with the specified name the default privacy list.
Public methodSetStatus(Status)
Sets the availability status.
Public methodSetStatus(Availability, Dictionary<(Of <<'(String, String>)>>), SByte)
Sets the availability status.
Public methodSetStatus(Availability, String, SByte, CultureInfo)
Sets the availability status.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUnsubscribe
Unsubscribes from the presence of the contact with the specified JID.

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 propertyPassword
The password with which to authenticate.
Public propertyPort
The port number of the XMPP service of the server.
Public propertySubscriptionRequest
A callback method to invoke when a request for a subscription is received from another XMPP user.
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 eventMessage
The event that is raised when a chat message is received.
Public eventRosterUpdated
The event that is raised when the roster of the user has been updated, i.e. a contact has been added, removed or updated.
Public eventStatus
The event that is raised when a status notification from a contact has been received.
Public eventSubscriptionApproved
The event that is raised when a subscription request made by the JID associated with this instance has been approved.
Public eventSubscriptionRefused
The event that is raised when a subscription request made by the JID associated with this instance has been refused.
Public eventUnsubscribed
The event that is raised when a user or resource has unsubscribed from receiving presence notifications of the JID associated with this instance.

See Also