com.tivoli.twg.engine
Interface DistConfigAgentResult


public interface DistConfigAgentResult

Listener interface for reporting distributed configuration agent results.


Field Summary
static int RESULT_AGENT_NOT_AVAIL
          Result code - agent not currently available/online
static int RESULT_COMM_ERROR
          Result code - communications error attempting to distribute configuration to target
static int RESULT_ERROR
          Result code - general error
static int RESULT_SUCCESS
          Result code - completed successfully
static int RESULT_UNSUPPORTED
          Result code - agent doesn't support given configuration block
 
Method Summary
 void reportDistConfigAgentRecordDeleted(TWGManagedObject mo, java.lang.String rec_id, long obj_id)
          Callback for reporting delete of specific record on specific managed object.
 void reportDistConfigAgentRecordUpdated(TWGManagedObject mo, java.lang.String rec_id, long obj_id)
          Callback for reporting add/update of specific record on specific managed object.
 void reportDistConfigAgentResult(TWGManagedObject mo, int result_code)
          Callback interface for completion notification on distributed record delivery to a specific agent.
 

Field Detail

RESULT_SUCCESS

public static final int RESULT_SUCCESS
Result code - completed successfully

See Also:
Constant Field Values

RESULT_UNSUPPORTED

public static final int RESULT_UNSUPPORTED
Result code - agent doesn't support given configuration block

See Also:
Constant Field Values

RESULT_COMM_ERROR

public static final int RESULT_COMM_ERROR
Result code - communications error attempting to distribute configuration to target

See Also:
Constant Field Values

RESULT_AGENT_NOT_AVAIL

public static final int RESULT_AGENT_NOT_AVAIL
Result code - agent not currently available/online

See Also:
Constant Field Values

RESULT_ERROR

public static final int RESULT_ERROR
Result code - general error

See Also:
Constant Field Values
Method Detail

reportDistConfigAgentResult

public void reportDistConfigAgentResult(TWGManagedObject mo,
                                        int result_code)
Callback interface for completion notification on distributed record delivery to a specific agent.

Parameters:
mo - - managed object targeted
result_code - - result code

reportDistConfigAgentRecordUpdated

public void reportDistConfigAgentRecordUpdated(TWGManagedObject mo,
                                               java.lang.String rec_id,
                                               long obj_id)
Callback for reporting add/update of specific record on specific managed object. Called before overall result reported.

Parameters:
mo - - managed object targeted
rec_id - - record ID string
obj_id - - object ID for record (MO-ID or Group ID)

reportDistConfigAgentRecordDeleted

public void reportDistConfigAgentRecordDeleted(TWGManagedObject mo,
                                               java.lang.String rec_id,
                                               long obj_id)
Callback for reporting delete of specific record on specific managed object. Called before overall result reported.

Parameters:
mo - - managed object targeted
rec_id - - record ID string
obj_id - - object ID for record (MO-ID or Group ID)