public class V1TrapInformation extends TrapInformation
| Constructor and Description |
|---|
V1TrapInformation(InetAddress agent,
String community,
SnmpPduTrap pdu,
TrapProcessor trapProcessor)
Constructs a new trap information instance that contains the sending
agent, the community string, and the Protocol Data Unit.
|
| Modifier and Type | Method and Description |
|---|---|
protected int |
getPduLength() |
protected long |
getTimeStamp() |
protected InetAddress |
getTrapAddress() |
protected TrapIdentity |
getTrapIdentity() |
protected String |
getVersion() |
protected void |
processVarBindAt(int i) |
getAgent, getAgentAddress, getCommunity, getTrapProcessor, processTrap, processVarBind, validatepublic V1TrapInformation(InetAddress agent, String community, SnmpPduTrap pdu, TrapProcessor trapProcessor)
agent - The sending agent's addresscommunity - The community string from the SNMP packet.pdu - The encapsulated Protocol Data Unit.trapProcessor - The trap processor used to process the trap dataprotected int getPduLength()
getPduLength in class TrapInformationprotected long getTimeStamp()
getTimeStamp in class TrapInformationprotected TrapIdentity getTrapIdentity()
getTrapIdentity in class TrapInformationprotected InetAddress getTrapAddress()
getTrapAddress in class TrapInformationprotected String getVersion()
getVersion in class TrapInformationprotected void processVarBindAt(int i)
processVarBindAt in class TrapInformationCopyright © 2015. All rights reserved.