public class Snmp4JV1TrapBuilder extends Snmp4JV2TrapBuilder implements SnmpV1TrapBuilder
Modifier | Constructor and Description |
---|---|
protected |
Snmp4JV1TrapBuilder(Snmp4JStrategy strategy) |
Modifier and Type | Method and Description |
---|---|
protected org.snmp4j.PDUv1 |
getPDUv1() |
void |
setAgentAddress(InetAddress agentAddress) |
void |
setEnterprise(SnmpObjId enterpriseId) |
void |
setGeneric(int generic) |
void |
setSpecific(int specific) |
void |
setTimeStamp(long timeStamp) |
addVarBind, getPDU, send, send, sendInform, sendInform, sendTest
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addVarBind, send, sendTest
protected Snmp4JV1TrapBuilder(Snmp4JStrategy strategy)
protected org.snmp4j.PDUv1 getPDUv1()
public void setEnterprise(SnmpObjId enterpriseId)
setEnterprise
in interface SnmpV1TrapBuilder
public void setAgentAddress(InetAddress agentAddress)
setAgentAddress
in interface SnmpV1TrapBuilder
public void setGeneric(int generic)
setGeneric
in interface SnmpV1TrapBuilder
public void setSpecific(int specific)
setSpecific
in interface SnmpV1TrapBuilder
public void setTimeStamp(long timeStamp)
setTimeStamp
in interface SnmpV1TrapBuilder
timeStamp
- A timestamp value, in TimeTicks (centiseconds), not to exceed 2^32-1Copyright © 2021. All rights reserved.