All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.sun.jaw.snmp.manager.SnmpOptions

java.lang.Object
   |
   +----com.sun.jaw.snmp.manager.SnmpOptions

public final class SnmpOptions
extends Object
implements Serializable
This class is used to configure various options for SnmpSession.
Each session can be tuned to suit a specific needs. Setting these options changes the behaviour of all future requests. The already created requests are also influenced, depending on the nature of the option.
There are currently 3 different options:

See Also:
SnmpSession

Constructor Index

 o SnmpOptions()
Create option with SnmpConst.DefaultOption
 o SnmpOptions(int)
Create option with predefined value.

Method Index

 o getOptions()
Returns all the options set in the object.
 o isMultiplexAllowed()
Indicates if the multiplex is allowed or not.
 o isPduFixedOnError()
Indicates if the PduFixedOnError option is set or not.
 o isTooBigHandled()
Indicates if the TooBigHandled option is set or not.
 o resetToDefault()
Reset to default options.
 o setMultiplexAllowed(boolean)
Set the MultiplexAllowed option.
 o setPduFixedOnError(boolean)
Set the PduFixedOnError option.
 o setTooBigHandled(boolean)
Set the TooBigHandled option.

Constructors

 o SnmpOptions
 public SnmpOptions()
Create option with SnmpConst.DefaultOption

 o SnmpOptions
 public SnmpOptions(int options)
Create option with predefined value.

Methods

 o getOptions
 public synchronized int getOptions()
Returns all the options set in the object.

 o isMultiplexAllowed
 public synchronized boolean isMultiplexAllowed()
Indicates if the multiplex is allowed or not.

 o setMultiplexAllowed
 public synchronized void setMultiplexAllowed(boolean flag)
Set the MultiplexAllowed option.

 o isPduFixedOnError
 public synchronized boolean isPduFixedOnError()
Indicates if the PduFixedOnError option is set or not.

 o setPduFixedOnError
 public synchronized void setPduFixedOnError(boolean flag)
Set the PduFixedOnError option.

 o isTooBigHandled
 public synchronized boolean isTooBigHandled()
Indicates if the TooBigHandled option is set or not.

 o setTooBigHandled
 public synchronized void setTooBigHandled(boolean flag)
Set the TooBigHandled option.

 o resetToDefault
 public synchronized void resetToDefault()
Reset to default options.


All Packages  Class Hierarchy  This Package  Previous  Next  Index