[SNMP4J] save variable of ResponseEvent
Gustavo Valdés A. ( Practica - Telecomunicaciones )
gvaldes at esval.cl
Fri Feb 11 16:47:15 CET 2005
Did u mean return type of event.getResponse() ?
if so its PDU
like
PDU response = event.getResponse();
really I want something like
.. String response = event.getResponse().toString;
return(response)}
but the method onResponse can't return anything...
On Friday 11 February 2005 21:00, Gustavo Valdés A. ( Practica -
Telecomunicaciones ) wrote:
> Hi, I working with a code very similar to the example in the
documentation
> of snmp class,
> but I have a little problem, I don´t know how return in a variable the
> event.getResponse (like public String void OnResponse(ResponseEvent event
)
> {...}
>
> but it's not posible make it...
> ).
>
> thanks for all, and sorry for my poor english (and for the basic question)
>
> Gustavo Valdés
>
>
> _______________________________________________
> SNMP4J mailing list
> SNMP4J at lists.agentpp.org
> http://lists.agentpp.org/mailman/listinfo/snmp4j
--
Tobby Davasia Kollemmalil
Lead Developer
Poornam Info Vision Pvt. Ltd.
PB NO:5406,
C S E Z P.O.,
Cochin,Kerala,
India - 682 037
Tel - +91-484-2427971, 2428918
Fax - +91-484- 2429331
More information about the SNMP4J
mailing list