|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.adventnet.snmp.snmp2.agent.NativeSnmpTrap
Aeadll.dll invokes this class to get the trap varibles to send it across to the managers configured in the box.
| Field Summary | |
java.lang.String |
enterprise
Deprecated. The enterprise OID String Value. |
int |
genericType
Deprecated. This tells the Generic Trap type. |
int |
specificType
Deprecated. This shows the Specific Trap type |
long |
timeTicks
Deprecated. This gives the Time Ticks value. |
java.util.Vector |
trapVector
Deprecated. This specifies the Trap vector. |
| Constructor Summary | |
NativeSnmpTrap(java.lang.String enterprise,
int trapIndex,
long timeTicks,
java.util.Vector trapVector)
Deprecated. Constructor to supply all variable to generate SnmpV1 Trap |
|
| Method Summary | |
NativeSnmpVar |
getElementAt(int index)
Deprecated. Getter for the Elements at the specified Index. |
java.lang.String |
getEnterprise()
Deprecated. Getter for the Enterprose OID. |
void |
getTrapIndex(int specificType,
int genericType)
Deprecated. |
long |
timeTicks()
Deprecated. Returns timeTicks value |
int |
varBindSize()
Deprecated. Returns number of NativeSnmpVar components in the Vector Element. |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
public java.lang.String enterprise
public int specificType
public int genericType
public java.util.Vector trapVector
public long timeTicks
| Constructor Detail |
public NativeSnmpTrap(java.lang.String enterprise,
int trapIndex,
long timeTicks,
java.util.Vector trapVector)
throws AgentSnmpException
enterprise - Enterprise OID in String formattrapIndex - Trap IndextimeTicks - System Up Time Ticks valuetrapVector - Vector containing NativeSnmpVar elements to be send
as Varbind in the Trap.NativeSnmpVar| Method Detail |
public java.lang.String getEnterprise()
public void getTrapIndex(int specificType,
int genericType)
specificType - the specificType trap indexgenericType - the genericType trap indexpublic long timeTicks()
public int varBindSize()
public NativeSnmpVar getElementAt(int index)
index - Index of the Vector.
If the index is not available it returns null
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||