[SNMP4J] TableEvent example

Frank Fock fock at agentpp.com
Wed Oct 19 20:40:26 CEST 2005


Hi Afnan,

I do not understand why you want to initialize anything you get from
getTable(..)?

Why do you write:

List list = new Vector(tableUtils.getTable(target, columns,
lowerBoundIndex, upperBoundIndex));

instead of

List list = tableUtils.getTable(target, columns,
lowerBoundIndex, upperBoundIndex);

?

Best regards,
Frank

Afnan Chowdhury wrote:

>Hi,
>
>I need an urgent help with geting snmp table information. Can anyone
>please help me with initializing TableEvent? I am retrieving table for
>my NMS applicatoin and got stuck at the point (code below) where I
>call getTable method which returens row-by-row as a list of TableEvent
>instances. Now from here how do I initialize the list of TableEvents I
>got from the agent.
>
>Regards
>
>afnan
>
>List list = new Vector(tableUtils.getTable(target, columns,
>lowerBoundIndex, upperBoundIndex);
>_______________________________________________
>SNMP4J mailing list
>SNMP4J at agentpp.org
>http://lists.agentpp.org/mailman/listinfo/snmp4j
>
>
>  
>


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





More information about the SNMP4J mailing list