|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--com.adventnet.snmp.snmp2.agent.SimpleRequestHandler
|
+--com.adventnet.snmp.snmp2.agent.BaseTableRequestHandler
|
+--com.adventnet.snmp.snmp2.agent.notification.SnmpNotifyFilterProfileTableRequestHandler
Handles all requests under snmpNotifyFilterProfileTable group.
| Field Summary | |
(package private) SnmpAgent |
agentName
|
(package private) SnmpAPI |
api
|
(package private) static int |
COLUMNCOUNT
|
(package private) java.lang.String |
fileDir
|
(package private) java.lang.String |
format
|
(package private) SnmpNotifyFilterProfileTable |
notifyFilterProfileTable
|
(package private) java.util.Vector |
snmpNotifyFilterProfileEntryVector
|
(package private) static int |
SNMPNOTIFYFILTERPROFILENAME
|
(package private) static int |
SNMPNOTIFYFILTERPROFILEROWSTATUS
|
(package private) static int |
SNMPNOTIFYFILTERPROFILESTORTYPE
|
(package private) SnmpNotifyFilterProfileTableXMLToVector |
xmlToVector
|
| Fields inherited from class com.adventnet.snmp.snmp2.agent.BaseTableRequestHandler |
agentName,
listenerList,
tModelComplete |
| Fields inherited from class com.adventnet.snmp.snmp2.agent.SimpleRequestHandler |
instrumentHandler,
listener,
tableListener,
writeEachTime |
| Constructor Summary | |
SnmpNotifyFilterProfileTableRequestHandler(SnmpAgent agentRef)
The Primary Constructor with the agent Name. |
|
SnmpNotifyFilterProfileTableRequestHandler(SnmpAgent agentRef,
java.lang.String dirStr,
java.lang.String fileName,
java.lang.String format)
The Secondary Constructor with the agent Name and Persistence Support. |
|
| Method Summary | |
(package private) boolean |
checkForRowStatus(SnmpNotifyFilterProfileEntry entry)
|
boolean |
createAndAddSnmpNotifyFilterProfileEntry(java.lang.String targetParamsName,
java.lang.String profileName,
java.lang.Integer storageType,
java.lang.Integer rowStatus)
The Method to Create and Add a new SnmpNotifyFilterProfileEntry to SnmpNotifyFilterProfileTable. |
static SnmpNotifyFilterProfileEntry |
createSnmpNotifyFilterProfileEntry(java.lang.String targetParamsName,
java.lang.String profileName,
java.lang.Integer storageType,
java.lang.Integer rowStatus)
The Static Method to create a SnmpNotifyFilterProfileEntry. |
int[] |
getOidRep()
Retrives the integer representation of OID |
static int[] |
getSnmpNotifyFilterProfileTableOidRep()
Getter for the Snmp Notify filter profile table oid representation. |
protected int[] |
getSubidList()
Gets the subid list of the oid. |
java.util.Vector |
getTableVector()
The method to return the Vector of SnmpNotifyFilterProfileEntries present in the SnmpNotifyFilterProfileTable. |
protected void |
processGetNextRequest(SnmpVarBind varb,
AgentNode node,
VarBindRequestEvent pe)
Process the GetNext Request message which is received from PduRequestHandler. |
protected void |
processGetRequest(SnmpVarBind varb,
AgentNode node,
VarBindRequestEvent pe)
Process the Get Request message which is received from PduRequestHandler. |
protected void |
processGetRequest(SnmpVarBind varb,
int req,
VarBindRequestEvent pe,
SnmpNotifyFilterProfileEntry entry,
byte[] paramsName)
Process the Get Request message for the given params. |
protected void |
processSetRequest(SnmpVarBind varb,
AgentNode node,
VarBindRequestEvent pe)
Process the Set Request message which is received from PduRequestHandler. |
void |
serialize(java.io.ObjectOutputStream outMain)
This method Serializes the Output Stream. |
void |
setTableVector(java.util.Vector notifyFilterVec)
The method to set the Vector of SnmpNotifyFilterProfileEntries. |
| Methods inherited from class com.adventnet.snmp.snmp2.agent.BaseTableRequestHandler |
addChangeListener,
createChangeEvent,
fireChangeEvent,
removeChangeListener |
| Methods inherited from class com.adventnet.snmp.snmp2.agent.SimpleRequestHandler |
addInstrumentHandler,
addRegistrationListener,
addTableListener,
addUpdateListener,
getInstrument,
getMibVarHash,
getNextRequest,
getObjectHash,
getObjectTypeHash,
getRequest,
getTableListener,
isWriteEachTime,
processGetNextRequest,
processGetRequest,
processSetRequest,
removeRegistrationListener,
removeUpdateListener,
setRequest,
setWriteEachTime,
writeIntoFile |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
static final int SNMPNOTIFYFILTERPROFILENAME
static final int SNMPNOTIFYFILTERPROFILESTORTYPE
static final int SNMPNOTIFYFILTERPROFILEROWSTATUS
static final int COLUMNCOUNT
SnmpAgent agentName
SnmpAPI api
SnmpNotifyFilterProfileTable notifyFilterProfileTable
java.util.Vector snmpNotifyFilterProfileEntryVector
SnmpNotifyFilterProfileTableXMLToVector xmlToVector
java.lang.String format
java.lang.String fileDir
| Constructor Detail |
public SnmpNotifyFilterProfileTableRequestHandler(SnmpAgent agentRef)
agentRef - The Agent Name Reference.
public SnmpNotifyFilterProfileTableRequestHandler(SnmpAgent agentRef,
java.lang.String dirStr,
java.lang.String fileName,
java.lang.String format)
agentRef - The Agent Name Reference.dirStr - the directory location String of the File.fileName - The fileName String.format - The file format("xml").| Method Detail |
public static int[] getSnmpNotifyFilterProfileTableOidRep()
public int[] getOidRep()
protected int[] getSubidList()
protected void processGetRequest(SnmpVarBind varb,
AgentNode node,
VarBindRequestEvent pe)
throws AgentSnmpException
varb - The received varbind .node - The node for which Get Request is to be done.pe - The VarBind Request Event created by this Get request.
protected void processGetRequest(SnmpVarBind varb,
int req,
VarBindRequestEvent pe,
SnmpNotifyFilterProfileEntry entry,
byte[] paramsName)
throws AgentSnmpException
varb - The received VarBind.req - The request given.pe - The Varbind Request Event created after thid Event.entry - The Snmp Notify Filter Profile Entry for the Request.paramsName - The Parameter name of the Notify Filter Table.
protected void processSetRequest(SnmpVarBind varb,
AgentNode node,
VarBindRequestEvent pe)
throws AgentSnmpException
varb - The received varbind.node - The node for which Get Next Request is to be done.pe - The VarBind Request Event created by this GetNext request.
protected void processGetNextRequest(SnmpVarBind varb,
AgentNode node,
VarBindRequestEvent pe)
throws AgentSnmpException
varb - The received varbind.node - The node for which Get Next Request is to be done.pe - The VarBind Request Event created by this GetNext request.
boolean checkForRowStatus(SnmpNotifyFilterProfileEntry entry)
throws AgentException
public boolean createAndAddSnmpNotifyFilterProfileEntry(java.lang.String targetParamsName,
java.lang.String profileName,
java.lang.Integer storageType,
java.lang.Integer rowStatus)
targetParamsName - The targetParamsName with which the entry
is to be created.profileName - The profileName with which the entry
is to be created.storageType - The storageType for the Entry.rowStatus - The RowStatus Integer for the Entry.createSnmpNotifyFilterProfileEntry.
public static SnmpNotifyFilterProfileEntry createSnmpNotifyFilterProfileEntry(java.lang.String targetParamsName,
java.lang.String profileName,
java.lang.Integer storageType,
java.lang.Integer rowStatus)
targetParamsName - The targetParamsName with which the entry
is to be created.profileName - The profileName with which the entry
is to be created.storageType - The storageType for the Entry.rowStatus - The RowStatus Integer for the Entry.createAndAddSnmpNotifyFilterProfileEntry.public void setTableVector(java.util.Vector notifyFilterVec)
The - Vector of SnmpNotifyFilterProfileEntries.public java.util.Vector getTableVector()
public void serialize(java.io.ObjectOutputStream outMain)
outMain - The objet Output stream to be serialized.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||