com.tivoli.twg.snmp
Interface SNMPRemoteResponse
- public interface SNMPRemoteResponse
This interface is designed to work in conjunction with SNMPRemoteRequest. It is to be implemented by
user of that interface to allow the results to be communicated back. Since all operations of the
SNMPRemoteRequest interface methods complete asyncronously, the methods of this interface act as
callback or response handlers. For coorelation purposes, each method carries a reference to
the instance of SNMPRemoteRequest that originated the request.
- See Also:
SNMPRemoteRequest
Method Summary |
void |
response(SNMPRemoteRequest caller,
long moid,
int requestType,
long requestID,
VariableBinding[] vbl,
long errorIndex)
Called by the implemention of SNMPRemoteRequest when a SNMP request has completed successfully. |
GET
public static final int GET
- See Also:
- Constant Field Values
GETNEXT
public static final int GETNEXT
- See Also:
- Constant Field Values
SET
public static final int SET
- See Also:
- Constant Field Values
GETBULK
public static final int GETBULK
- See Also:
- Constant Field Values
INFORM
public static final int INFORM
- See Also:
- Constant Field Values
NO_ERROR
public static final long NO_ERROR
- See Also:
- Constant Field Values
TOO_BIG
public static final long TOO_BIG
- See Also:
- Constant Field Values
NO_SUCH_NAME
public static final long NO_SUCH_NAME
- See Also:
- Constant Field Values
BAD_VALUE
public static final long BAD_VALUE
- See Also:
- Constant Field Values
READ_ONLY
public static final long READ_ONLY
- See Also:
- Constant Field Values
GENERAL_ERROR
public static final long GENERAL_ERROR
- See Also:
- Constant Field Values
NO_ACCESS
public static final long NO_ACCESS
- See Also:
- Constant Field Values
WRONG_TYPE
public static final long WRONG_TYPE
- See Also:
- Constant Field Values
WRONG_LENGTH
public static final long WRONG_LENGTH
- See Also:
- Constant Field Values
WRONG_ENCODING
public static final long WRONG_ENCODING
- See Also:
- Constant Field Values
WRONG_VALUE
public static final long WRONG_VALUE
- See Also:
- Constant Field Values
NO_CREATION
public static final long NO_CREATION
- See Also:
- Constant Field Values
INCONSISTENT_VALUE
public static final long INCONSISTENT_VALUE
- See Also:
- Constant Field Values
RESOURCE_UNAVAILABLE
public static final long RESOURCE_UNAVAILABLE
- See Also:
- Constant Field Values
COMMIT_FAILED
public static final long COMMIT_FAILED
- See Also:
- Constant Field Values
UNDO_FAILED
public static final long UNDO_FAILED
- See Also:
- Constant Field Values
AUTHORIZATION_ERROR
public static final long AUTHORIZATION_ERROR
- See Also:
- Constant Field Values
NOT_WRITEABLE
public static final long NOT_WRITEABLE
- See Also:
- Constant Field Values
INCONSISTENT_NAME
public static final long INCONSISTENT_NAME
- See Also:
- Constant Field Values
TIMEOUT
public static final long TIMEOUT
- See Also:
- Constant Field Values
SEND_ERROR
public static final long SEND_ERROR
- See Also:
- Constant Field Values
SESSION_CLOSED
public static final long SESSION_CLOSED
- See Also:
- Constant Field Values
DECODE_ERROR
public static final long DECODE_ERROR
- See Also:
- Constant Field Values
WRONG_VERSION
public static final long WRONG_VERSION
- See Also:
- Constant Field Values
response
public void response(SNMPRemoteRequest caller,
long moid,
int requestType,
long requestID,
VariableBinding[] vbl,
long errorIndex)
- Called by the implemention of SNMPRemoteRequest when a SNMP request has completed successfully.
- Parameters:
caller
- the object that sent the PDUmoid
- the target moidrequestType
- one of 5 request types that expect reponses, Get, GetNext, etcrequestID
- ID of the request PDU correlated to this repsonsevbl
- a VariableBinding with oids, types, and valueserrorIndex
- value of the error code- See Also:
SNMPRemoteRequest
,
VariableBinding