[SNMP4J] TestAgent : refresh GET

Frank Fock fock at agentpp.com
Thu Jun 22 22:54:29 CEST 2006


Hi Trick,

Trick wrote:
> I reply to myself because I found in the mailing list this answer
> :
> 
> 1. You can implement your own MOColumn or MOMutableColum
> subclass
> and overwrite the get(..), prepare(..), commit(..) etc. methods.
> 
> 2. You can implement your own MOTableModel.
> 
> 3. You can implement your own MOTable implementation or simply
> extending the DefaultMOTable class by overwriting the
> ManagedObject
> methods.
> 
> The way I understand it, if I want my DefaultMOTable to refresh I
> have to create a class that extends DefaultMOTable and overwrite
> the get(request) method so it can return my updated
> DefaultMOTable?
>
Yes, you can update your table model from the GET method
or you can update your model whenever your management information
changes or you can implement a virtual table model that
operates directly on the management information.

Best regards,
Frank




More information about the SNMP4J mailing list