RequestId Property
The request-id to mark outgoing packets with.
Syntax
ANSI (Cross Platform) int GetRequestId();
int SetRequestId(int iRequestId); Unicode (Windows) INT GetRequestId();
INT SetRequestId(INT iRequestId);
@property (nonatomic,readwrite,assign,getter=requestId,setter=setRequestId:) int requestId; - (int)requestId; - (void)setRequestId:(int)newRequestId;
#define PID_SNMPTCPTRAPMGR_REQUESTID 11 IPWORKSSNMP_EXTERNAL void* IPWORKSSNMP_CALL IPWorksSNMP_SNMPTCPTrapMgr_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSSNMP_EXTERNAL int IPWORKSSNMP_CALL IPWorksSNMP_SNMPTCPTrapMgr_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
1
Remarks
If a custom value is needed for RequestId, the property must be set before sending the request. The class increments RequestId automatically after sending each packet.
This property is not available at design time.
Data Type
Integer