C# Class agsXMPP.protocol.client.PresenceManager

Helper class for managing presence and subscriptions
Mostrar archivo Open project: SiteView/ECC8.13 Class Usage Examples

Public Methods

Method Description
ApproveSubscriptionRequest ( Jid to ) : void

Approve a subscription request

PresenceManager ( XmppClientConnection con ) : System
RefuseSubscriptionRequest ( Jid to ) : void

Refuse subscription request

Subcribe ( Jid to ) : void

Subscribe to a contact

Subcribe ( Jid to, string message ) : void

Subscribe to a contact

Unsubcribe ( Jid to ) : void

Unsubscribe from a contact

Method Details

ApproveSubscriptionRequest() public method

Approve a subscription request
public ApproveSubscriptionRequest ( Jid to ) : void
to Jid Bare Jid to approve
return void

PresenceManager() public method

public PresenceManager ( XmppClientConnection con ) : System
con XmppClientConnection
return System

RefuseSubscriptionRequest() public method

Refuse subscription request
public RefuseSubscriptionRequest ( Jid to ) : void
to Jid Bare Jid to approve
return void

Subcribe() public method

Subscribe to a contact
public Subcribe ( Jid to ) : void
to Jid Bare Jid of the rosteritem we want to subscribe
return void

Subcribe() public method

Subscribe to a contact
public Subcribe ( Jid to, string message ) : void
to Jid Bare Jid of the rosteritem we want to subscribe
message string a message which normally contains the reason why we want to subscibe to this contact
return void

Unsubcribe() public method

Unsubscribe from a contact
public Unsubcribe ( Jid to ) : void
to Jid Bare Jid of the rosteritem we want to unsubscribe
return void