com.outbackinc.services.protocol.snmp
Interface SnmpCustomer
- public interface SnmpCustomer
Interface passed to the SnmpService for all callback "order" operations.
The SnmpCustomer is guaranteed that all orders (failed or succeeded) will
be delivered.
Method Summary |
void |
deliverFailedOrder(int iOrderNum,
int iErrorStatus)
Notifies the customer that a certain order has failed. |
void |
deliverSuccessfulOrder(int iOrderNum,
SnmpVarBind cSnmpVarBind)
Delivers a successful Inspection or Modification order to the customer. |
deliverSuccessfulOrder
public void deliverSuccessfulOrder(int iOrderNum,
SnmpVarBind cSnmpVarBind)
- Delivers a successful Inspection or Modification order to the customer.
- Parameters:
iOrderNum
- iOrderNumStart (set when the order was placed) + the zero-based
index of the order (e.g. if the client made a modification order
with iOrderNumStart=7 and this is the response to the second
OID, iOrderNum would have the value 8.)cSnmpVarBind
- the VarBind from the get-response PDU
deliverFailedOrder
public void deliverFailedOrder(int iOrderNum,
int iErrorStatus)
- Notifies the customer that a certain order has failed.
- Parameters:
iOrderNum
- iOrderNumStart (set when the order was placed) + the zero-based
index of the order (e.g. if the client made a modification order
with iOrderNumStart=7 and this is the response to the second
OID, iOrderNum would have the value 8.)iErrorStatus
- (noError, tooBig, noSuchName, etc. plus timeouts and others)- See Also:
SnmpConstants
Home Services Products Purchase Contact Us About Us Legal Ceramics
Copyright © 2003-2008 jSNMP Enterprises All rights reserved.