OverView Index Help                                                                WebNMS Agent Toolkit C Edition 6 

delayact.c -
File contains function definitions for delayed activation.
Return Type Method Summary
CHAR AddToPendingBuffer(InputCmdType* incmd, INT32 sesID)
             Adds input message to pending buffer.
INT32 CancelDA(INT32 ordno, INT32 sesid, INT32 flag)
             Cancels the specified Delay activation input message.
INT32 ExecManualAct(INT32 ordno, INT32 sesid, INT32 flag)
             executes manual or automatic activation command.
CHAR* RetreiveDA(CHAR *ordNum, INT32 tType , CHAR *tTmGe, CHAR *tTmLe , INT32 *count, INT32 sessid)
             Retreives the list of pending Delay activation input messages which meet the given input criteria.
   
Method Details

AddToPendingBuffer

CHAR AddToPendingBuffer(InputCmdType* incmd,INT32 sesID)

Adds input message to pending buffer.

Arguments:
1. Input command message to be activated later.
2. Session ID
Return type:
SUCCESS/FAILURE
Bugs:
null
See Also:

CancelDA

INT32 CancelDA(INT32 ordno,INT32 sesid,INT32 flag)

Cancels the specified Delay activation input message.

Arguments:
1. Order number
2. Session Id
3. Flag indicating ALL or an Order number
Return type:
SUCCESS/FAILURE
Bugs:
null
See Also:

ExecManualAct

INT32 ExecManualAct(INT32 ordno,INT32 sesid,INT32 flag)

executes manual or automatic activation command.

Arguments:
1. Order number
2. Session Id
3. Flag indicating ALL or an Order number
Return type:
SUCCESS/FAILURE
Bugs:
null
See Also:

RetreiveDA

CHAR* RetreiveDA(CHAR *ordNum,INT32 tType ,CHAR *tTmGe,CHAR *tTmLe ,INT32 *count,INT32 sessid)

Retreives the list of pending Delay activation input messages which meet the given input criteria.

Arguments:
1. Order number
2. Trigger Type
3. Trigger time greater than or equal to
4. Trigger time less than or equal to
5. Counts the number of DA input messages checked
6. Session ID
Return type:
Output message to be displayed
Bugs:
null
See Also:


OverView Index Help                                                                WebNMS Agent Toolkit C Edition 6 

Copyright (c) 2009 ZOHO Corp. All Rights Reserved.