|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--com.adventnet.utils.agent.AgentEventObject
|
+--com.adventnet.snmp.snmp2.agent.ChangeEvent
This class is used to give control to the user class from the xxxRequestHandler if a request is made.
| Fields inherited from class com.adventnet.utils.agent.AgentEventObject |
source |
| Constructor Summary | |
ChangeEvent(java.lang.Object changeEventSource)
Constructor for the ChangeEvent |
|
ChangeEvent(java.lang.Object changeEventSource,
byte reqType,
int[] oidArray,
java.lang.Object value)
Constructor for Change Event. |
|
ChangeEvent(java.lang.Object changeEventSource,
byte reqType,
int subId,
java.lang.Object value,
int[] oidArray)
Constructor for the ChangeEvent. |
|
| Method Summary | |
int[] |
getOIDArray()
Getter for the OID. |
byte |
getRequestType()
Getter of the request type. |
int |
getSubId()
Getter of the subId. |
java.lang.Object |
getValue()
Getter of the Object value. |
void |
setOIDArray(int[] oidArray)
Setter for the OID. |
void |
setRequestType(byte reqType)
Setter for the request rype. |
void |
setSubId(int subId)
Setter for the subId. |
void |
setValue(java.lang.Object value)
Setter for the Object value. |
| Methods inherited from class com.adventnet.utils.agent.AgentEventObject |
getSource,
toString |
| Methods inherited from class java.lang.Object |
|
| Constructor Detail |
public ChangeEvent(java.lang.Object changeEventSource,
byte reqType,
int[] oidArray,
java.lang.Object value)
changeEventSource - The Object source for the event.reqType - The chnage Event type Required.oidArray - The integer array representing the OID.value - The Object value.
public ChangeEvent(java.lang.Object changeEventSource,
byte reqType,
int subId,
java.lang.Object value,
int[] oidArray)
ChangeEventSource - the originator of this event.reqType - The Change event type required.subId - The Sub ID value.value - The Object value.public ChangeEvent(java.lang.Object changeEventSource)
changeEventSource - the originator of this event| Method Detail |
public byte getRequestType()
public void setRequestType(byte reqType)
reqType - Byte value for the requested type.public int getSubId()
public void setSubId(int subId)
subId - The Sub Id value to be set.public java.lang.Object getValue()
public void setValue(java.lang.Object value)
value - The Object Value to be set.public int[] getOIDArray()
public void setOIDArray(int[] oidArray)
oidArray - The Integer Array representing the OID to be set.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||