C# 클래스 agsXMPP.protocol.iq.privacy.PrivacyManager

Helper class for managing server side privacy lists (blocking communication)
파일 보기 프로젝트 열기: SiteView/ECC8.13 1 사용 예제들

공개 메소드들

메소드 설명
AddList ( string name, Item rules ) : void

Add a new list with the given name and rules

AddList ( string name, Item rules, IqCB cb, object cbArg ) : void

Add a new list with the given name and rules.

ChangeActiveList ( string name ) : void

Change the active list

ChangeActiveList ( string name, IqCB cb, object cbArg ) : void

Change the active list

ChangeDefaultList ( string name ) : void

Change the default list

ChangeDefaultList ( string name, IqCB cb, object cbArg ) : void

Change the default list

DeclineActiveList ( ) : void

Decline the use of any active list

DeclineActiveList ( IqCB cb, object cbArg ) : void

Decline the use of any active list

DeclineDefaultList ( ) : void

Decline the use of the default list

DeclineDefaultList ( IqCB cb, object cbArg ) : void

Decline the use of the default list

GetList ( string name ) : void

Requests a privacy list from the server by its name

GetList ( string name, IqCB cb, object cbArg ) : void

Requests a privacy list from the server by its name

GetLists ( ) : void

Retrieving all Privacy Lists

GetLists ( IqCB cb, object cbArg ) : void

Retrieving all Privacy Lists

PrivacyManager ( XmppClientConnection con ) : System
RemoveList ( string name ) : void

Remove a privacy list

RemoveList ( string name, IqCB cb, object cbArg ) : void

Remove a privacy list

UpdateList ( string name, Item rules ) : void

Update the list with the given name and rules.

Specify the desired changes to the list by including all elements/rules in the list (not the "delta")

UpdateList ( string name, Item rules, IqCB cb, object cbArg ) : void

Update the list with the given name and rules.

Specify the desired changes to the list by including all elements/rules in the list (not the "delta")

비공개 메소드들

메소드 설명
SendStanza ( agsXMPP.protocol.iq.privacy.PrivacyIq pIq, IqCB cb, object cbArg ) : void

Sends a PrivacyIq over the active connection

메소드 상세

AddList() 공개 메소드

Add a new list with the given name and rules
public AddList ( string name, Item rules ) : void
name string
rules Item
리턴 void

AddList() 공개 메소드

Add a new list with the given name and rules.
public AddList ( string name, Item rules, IqCB cb, object cbArg ) : void
name string
rules Item
cb IqCB Callback for the server result
cbArg object Callback arguments for the result when needed
리턴 void

ChangeActiveList() 공개 메소드

Change the active list
public ChangeActiveList ( string name ) : void
name string
리턴 void

ChangeActiveList() 공개 메소드

Change the active list
public ChangeActiveList ( string name, IqCB cb, object cbArg ) : void
name string
cb IqCB Callback for the server result
cbArg object Callback arguments for the result when needed
리턴 void

ChangeDefaultList() 공개 메소드

Change the default list
public ChangeDefaultList ( string name ) : void
name string name of the new default list
리턴 void

ChangeDefaultList() 공개 메소드

Change the default list
public ChangeDefaultList ( string name, IqCB cb, object cbArg ) : void
name string name of the new default list
cb IqCB Callback for the server result
cbArg object Callback arguments for the result when needed
리턴 void

DeclineActiveList() 공개 메소드

Decline the use of any active list
public DeclineActiveList ( ) : void
리턴 void

DeclineActiveList() 공개 메소드

Decline the use of any active list
public DeclineActiveList ( IqCB cb, object cbArg ) : void
cb IqCB Callback for the server result
cbArg object Callback arguments for the result when needed
리턴 void

DeclineDefaultList() 공개 메소드

Decline the use of the default list
public DeclineDefaultList ( ) : void
리턴 void

DeclineDefaultList() 공개 메소드

Decline the use of the default list
public DeclineDefaultList ( IqCB cb, object cbArg ) : void
cb IqCB Callback for the server result
cbArg object Callback arguments for the result when needed
리턴 void

GetList() 공개 메소드

Requests a privacy list from the server by its name
public GetList ( string name ) : void
name string name of the privacy list to retrieve
리턴 void

GetList() 공개 메소드

Requests a privacy list from the server by its name
public GetList ( string name, IqCB cb, object cbArg ) : void
name string name of the privacy list to retrieve
cb IqCB Callback for the server result
cbArg object Callback arguments for the result when needed
리턴 void

GetLists() 공개 메소드

Retrieving all Privacy Lists
public GetLists ( ) : void
리턴 void

GetLists() 공개 메소드

Retrieving all Privacy Lists
public GetLists ( IqCB cb, object cbArg ) : void
cb IqCB Callback for the server result
cbArg object Callback arguments for the result when needed
리턴 void

PrivacyManager() 공개 메소드

public PrivacyManager ( XmppClientConnection con ) : System
con agsXMPP.XmppClientConnection
리턴 System

RemoveList() 공개 메소드

Remove a privacy list
public RemoveList ( string name ) : void
name string name of the privacy list to remove
리턴 void

RemoveList() 공개 메소드

Remove a privacy list
public RemoveList ( string name, IqCB cb, object cbArg ) : void
name string name of the privacy list to remove
cb IqCB Callback for the server result
cbArg object Callback arguments for the result when needed
리턴 void

UpdateList() 공개 메소드

Update the list with the given name and rules.
Specify the desired changes to the list by including all elements/rules in the list (not the "delta")
public UpdateList ( string name, Item rules ) : void
name string name of the list
rules Item rules of this list
리턴 void

UpdateList() 공개 메소드

Update the list with the given name and rules.
Specify the desired changes to the list by including all elements/rules in the list (not the "delta")
public UpdateList ( string name, Item rules, IqCB cb, object cbArg ) : void
name string name of this list
rules Item rules of this list
cb IqCB Callback for the server result
cbArg object Callback arguments for the result when needed
리턴 void