[SNMP4J] DisplayString

Frank Fock fock at agentpp.com
Wed Nov 26 21:22:28 CET 2008



Lakshmi Vijaya Sarathi wrote:
> If a DisplayString type OID is part of the trap definition, how can a
> VariableBinding object be created in java code -?

VariableBinding vb =
new VariableBinding(
new OID("1.3.6.1"),
new OctetString("Hello World"));

Regards,
Frank


-- 
AGENT++
http://www.agentpp.com
http://www.mibexplorer.com
http://www.mibdesigner.com




More information about the SNMP4J mailing list