public class JoeSnmpValueFactory extends Object implements SnmpValueFactory
Constructor and Description |
---|
JoeSnmpValueFactory() |
Modifier and Type | Method and Description |
---|---|
SnmpValue |
getCounter32(long val) |
SnmpValue |
getCounter64(BigInteger val) |
SnmpValue |
getGauge32(long val) |
SnmpValue |
getInt32(int val) |
SnmpValue |
getIpAddress(InetAddress val) |
SnmpValue |
getNull() |
SnmpValue |
getObjectId(SnmpObjId objId) |
SnmpValue |
getOctetString(byte[] bytes) |
SnmpValue |
getOpaque(byte[] bs) |
SnmpValue |
getTimeTicks(long val) |
SnmpValue |
getValue(int type,
byte[] bytes) |
public SnmpValue getOctetString(byte[] bytes)
getOctetString
in interface SnmpValueFactory
public SnmpValue getCounter32(long val)
getCounter32
in interface SnmpValueFactory
public SnmpValue getCounter64(BigInteger val)
getCounter64
in interface SnmpValueFactory
public SnmpValue getGauge32(long val)
getGauge32
in interface SnmpValueFactory
public SnmpValue getInt32(int val)
getInt32
in interface SnmpValueFactory
public SnmpValue getIpAddress(InetAddress val)
getIpAddress
in interface SnmpValueFactory
public SnmpValue getObjectId(SnmpObjId objId)
getObjectId
in interface SnmpValueFactory
public SnmpValue getTimeTicks(long val)
getTimeTicks
in interface SnmpValueFactory
public SnmpValue getNull()
getNull
in interface SnmpValueFactory
public SnmpValue getValue(int type, byte[] bytes)
getValue
in interface SnmpValueFactory
public SnmpValue getOpaque(byte[] bs)
getOpaque
in interface SnmpValueFactory
Copyright © 2021. All rights reserved.