public class EventCreator extends Object implements TrapProcessor
EventCreator class.
Constructor and Description |
---|
EventCreator(TrapdIpMgr trapdIpMgr) |
Modifier and Type | Method and Description |
---|---|
Event |
getEvent() |
void |
processVarBind(SnmpObjId name,
SnmpValue value) |
void |
setAgentAddress(InetAddress agentAddress) |
void |
setCommunity(String community) |
void |
setTimeStamp(long timeStamp) |
void |
setTrapAddress(InetAddress trapAddress) |
void |
setTrapIdentity(TrapIdentity trapIdentity) |
void |
setVersion(String version) |
public EventCreator(TrapdIpMgr trapdIpMgr)
public void setCommunity(String community)
setCommunity
in interface TrapProcessor
public void setTimeStamp(long timeStamp)
setTimeStamp
in interface TrapProcessor
public void setVersion(String version)
setVersion
in interface TrapProcessor
public void setAgentAddress(InetAddress agentAddress)
setAgentAddress
in interface TrapProcessor
public void processVarBind(SnmpObjId name, SnmpValue value)
processVarBind
in interface TrapProcessor
public void setTrapAddress(InetAddress trapAddress)
setTrapAddress
in interface TrapProcessor
public void setTrapIdentity(TrapIdentity trapIdentity)
setTrapIdentity
in interface TrapProcessor
public Event getEvent()
Copyright © 2017. All rights reserved.