public abstract class TrapInformation extends Object implements TrapNotification
Modifier | Constructor and Description |
---|---|
protected |
TrapInformation(InetAddress agent,
String community,
TrapProcessor trapProcessor) |
Modifier and Type | Method and Description |
---|---|
protected InetAddress |
getAgent()
Returns the sending agent's internet address
|
protected InetAddress |
getAgentAddress() |
protected String |
getCommunity()
Returns the SNMP community string from the received packet.
|
protected abstract int |
getPduLength() |
protected abstract Integer |
getRequestId() |
protected abstract long |
getTimeStamp() |
protected abstract InetAddress |
getTrapAddress() |
protected abstract TrapIdentity |
getTrapIdentity() |
TrapProcessor |
getTrapProcessor() |
protected abstract String |
getVersion() |
protected void |
processTrap() |
protected void |
processVarBind(SnmpObjId name,
SnmpValue value) |
protected abstract void |
processVarBindAt(int i) |
protected void |
validate() |
protected TrapInformation(InetAddress agent, String community, TrapProcessor trapProcessor)
protected abstract InetAddress getTrapAddress()
protected InetAddress getAgent()
protected String getCommunity()
protected void validate()
protected InetAddress getAgentAddress()
public TrapProcessor getTrapProcessor()
getTrapProcessor
in interface TrapNotification
protected abstract String getVersion()
protected abstract int getPduLength()
protected abstract long getTimeStamp()
protected abstract TrapIdentity getTrapIdentity()
protected abstract Integer getRequestId()
protected void processTrap()
protected abstract void processVarBindAt(int i)
Copyright © 2017. All rights reserved.