class XrlPolicyV0p1Client


 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Types

Public Methods

Protected Members


Detailed Description

 XrlPolicyV0p1Client (XrlSender* s)

XrlPolicyV0p1Client

 ~XrlPolicyV0p1Client ()

~XrlPolicyV0p1Client

[virtual]

typedef XorpCallback1<void, const XrlError&>::RefPtr CreateTermCB

CreateTermCB

bool  send_create_term ( const char* target_name, const string& policy, const string& term, const CreateTermCB& cb )

send_create_term

Send Xrl intended to:

Create a term in a policy. The term will be the last term in the policy statement.

Parameters:

tgt_nameXrl Target name
policythe name of the policy.
termthe name of the term.
typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteTermCB

DeleteTermCB

bool  send_delete_term ( const char* target_name, const string& policy, const string& term, const DeleteTermCB& cb )

send_delete_term

Send Xrl intended to:

Delete a term in a policy.

Parameters:

tgt_nameXrl Target name
policythe name of the policy.
termthe name of the term.
typedef XorpCallback1<void, const XrlError&>::RefPtr UpdateTermSourceCB

UpdateTermSourceCB

bool  send_update_term_source ( const char* target_name, const string& policy, const string& term, const string& source, const UpdateTermSourceCB& cb )

send_update_term_source

Send Xrl intended to:

Update the source/dest/action block of a term in a policy.

Parameters:

tgt_nameXrl Target name
policythe name of the policy.
termthe name of the term. source/dest/action the un-parsed user configuration of the block.
typedef XorpCallback1<void, const XrlError&>::RefPtr UpdateTermDestCB

UpdateTermDestCB

bool  send_update_term_dest ( const char* target_name, const string& policy, const string& term, const string& dest, const UpdateTermDestCB& cb )

send_update_term_dest

typedef XorpCallback1<void, const XrlError&>::RefPtr UpdateTermActionCB

UpdateTermActionCB

bool  send_update_term_action ( const char* target_name, const string& policy, const string& term, const string& action, const UpdateTermActionCB& cb )

send_update_term_action

typedef XorpCallback1<void, const XrlError&>::RefPtr CreatePolicyCB

CreatePolicyCB

bool  send_create_policy ( const char* target_name, const string& policy, const CreatePolicyCB& cb )

send_create_policy

Send Xrl intended to:

Create a policy.

Parameters:

tgt_nameXrl Target name
policyname of the policy.
typedef XorpCallback1<void, const XrlError&>::RefPtr DeletePolicyCB

DeletePolicyCB

bool  send_delete_policy ( const char* target_name, const string& policy, const DeletePolicyCB& cb )

send_delete_policy

Send Xrl intended to:

Delete a policy.

Parameters:

tgt_nameXrl Target name
policyname of the policy.
typedef XorpCallback1<void, const XrlError&>::RefPtr CreateSetCB

CreateSetCB

bool  send_create_set ( const char* target_name, const string& set, const CreateSetCB& cb )

send_create_set

Send Xrl intended to:

Create a set.

Parameters:

tgt_nameXrl Target name
setname of the set.
typedef XorpCallback1<void, const XrlError&>::RefPtr UpdateSetCB

UpdateSetCB

bool  send_update_set ( const char* target_name, const string& set, const string& elements, const UpdateSetCB& cb )

send_update_set

Send Xrl intended to:

Replace elements in a set.

Parameters:

tgt_nameXrl Target name
setname of the set.
elementscomma delimited list of set elements.
typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteSetCB

DeleteSetCB

bool  send_delete_set ( const char* target_name, const string& set, const DeleteSetCB& cb )

send_delete_set

Send Xrl intended to:

Delete a set.

Parameters:

tgt_nameXrl Target name
setname of the set.
typedef XorpCallback1<void, const XrlError&>::RefPtr DoneGlobalPolicyConfCB

DoneGlobalPolicyConfCB

bool  send_done_global_policy_conf ( const char* target_name, const DoneGlobalPolicyConfCB& cb )

send_done_global_policy_conf

Send Xrl intended to:

Commit the configuration.

Parameters:

tgt_nameXrl Target name
typedef XorpCallback1<void, const XrlError&>::RefPtr ImportCB

ImportCB

bool  send_import ( const char* target_name, const string& protocol, const string& policies, const ImportCB& cb )

send_import

Send Xrl intended to:

Replace import/export policies for a protocol. Will normally cause a delayed commit.

Parameters:

tgt_nameXrl Target name
protocolprotocol for which policies must be replaced.
policiescomma separated list of policies.
typedef XorpCallback1<void, const XrlError&>::RefPtr ExportCB

ExportCB

bool  send_export ( const char* target_name, const string& protocol, const string& policies, const ExportCB& cb )

send_export

typedef XorpCallback2<void, const XrlError&, const string*>::RefPtr GetConfCB

GetConfCB

bool  send_get_conf ( const char* target_name, const GetConfCB& cb )

send_get_conf

Send Xrl intended to:

Get current configuration of all policies.

Parameters:

tgt_nameXrl Target name
XrlSender* _sender

_sender

[protected]


Generated by: pavlin on possum.icir.org on Wed Apr 13 21:52:55 2005, using kdoc $.