public class AgentXRequest extends org.snmp4j.agent.request.AbstractRequest<AgentXRequest.AgentXSubRequest,AgentXCommandEvent,AgentXResponsePDU>
AgentXRequest class represents AgentX sub-agent requests.
AgentX sub-agent requests are similar to SNMP requests but especially for
SET request processing and query scopes differences apply.| Modifier and Type | Class and Description |
|---|---|
class |
AgentXRequest.AgentXSubRequest
The
AgentXSubRequest implements the SubRequest
interface for AgentX sub-requests. |
class |
AgentXRequest.AgentXSubRequestIterator
The AgentXSubRequestIterator iterates over the subrequests in a AgentX
request.
|
| Modifier and Type | Field and Description |
|---|---|
static org.snmp4j.smi.OctetString |
DEFAULT_CONTEXT |
protected Map<Object,Object> |
processingUserObjects |
| Constructor and Description |
|---|
AgentXRequest(AgentXCommandEvent request) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addRepeaterSubRequest() |
protected void |
assignErrorStatus2Response() |
org.snmp4j.smi.OctetString |
getContext() |
protected int |
getMaxPhase() |
int |
getMaxRepetitions() |
int |
getMessageProcessingModel() |
int |
getNonRepeaters() |
Object |
getProcessingUserObject(Object key) |
AgentXResponsePDU |
getResponse() |
AgentXResponsePDU |
getResponsePDU() |
int |
getSecurityLevel() |
int |
getSecurityModel() |
org.snmp4j.smi.OctetString |
getSecurityName() |
org.snmp4j.smi.OctetString |
getViewName() |
int |
getViewType() |
protected boolean |
is2PC() |
boolean |
isBulkRequest() |
boolean |
isPhaseComplete() |
Iterator<AgentXRequest.AgentXSubRequest> |
iterator() |
static int |
nextTransactionID() |
Object |
setProcessingUserObject(Object key,
Object value) |
void |
setRequestEvent(AgentXCommandEvent source) |
protected void |
setupSubRequests() |
void |
setViewName(org.snmp4j.smi.OctetString viewName) |
int |
size() |
String |
toString() |
equals, find, get, getErrorIndex, getErrorStatus, getPhase, getReprocessCounter, getSource, getTransactionID, hashCode, incReprocessCounter, initSubRequests, isComplete, nextPhase, resetCompletionStatus, resetProcessedStatus, setErrorStatus, setPhasepublic AgentXRequest(AgentXCommandEvent request)
public static int nextTransactionID()
public int size()
public boolean isBulkRequest()
isBulkRequest in class org.snmp4j.agent.request.AbstractRequest<AgentXRequest.AgentXSubRequest,AgentXCommandEvent,AgentXResponsePDU>protected void setupSubRequests()
setupSubRequests in class org.snmp4j.agent.request.AbstractRequest<AgentXRequest.AgentXSubRequest,AgentXCommandEvent,AgentXResponsePDU>public int getMaxRepetitions()
public int getNonRepeaters()
protected int getMaxPhase()
getMaxPhase in class org.snmp4j.agent.request.AbstractRequest<AgentXRequest.AgentXSubRequest,AgentXCommandEvent,AgentXResponsePDU>public void setRequestEvent(AgentXCommandEvent source)
protected void assignErrorStatus2Response()
public AgentXResponsePDU getResponsePDU()
public AgentXResponsePDU getResponse()
getResponse in interface org.snmp4j.agent.request.Request<AgentXCommandEvent,AgentXResponsePDU,AgentXRequest.AgentXSubRequest>getResponse in class org.snmp4j.agent.request.AbstractRequest<AgentXRequest.AgentXSubRequest,AgentXCommandEvent,AgentXResponsePDU>public Iterator<AgentXRequest.AgentXSubRequest> iterator()
protected boolean is2PC()
public org.snmp4j.smi.OctetString getContext()
public org.snmp4j.smi.OctetString getViewName()
public void setViewName(org.snmp4j.smi.OctetString viewName)
public int getSecurityLevel()
public int getSecurityModel()
public org.snmp4j.smi.OctetString getSecurityName()
public int getViewType()
protected void addRepeaterSubRequest()
public int getMessageProcessingModel()
public String toString()
toString in class org.snmp4j.agent.request.AbstractRequest<AgentXRequest.AgentXSubRequest,AgentXCommandEvent,AgentXResponsePDU>public boolean isPhaseComplete()
Copyright © 2020 SNMP4J.org. All rights reserved.