|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.sun.jaw.snmp.manager.SnmpOptions
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:
SnmpSession
, Serialized FormConstructor Summary | |
SnmpOptions()
Creates a new option with the default value SnmpConst.DefaultOption. |
|
SnmpOptions(int options)
Creates a new option with specified value. |
Method Summary | |
int |
getOptions()
Gets all the options set in the object. |
boolean |
isMultiplexAllowed()
Indicates if the multiplex is allowed or not. |
boolean |
isPduFixedOnError()
Indicates if the PduFixedOnError option is set or not. |
boolean |
isTooBigHandled()
Indicates if the TooBigHandled option is set or not. |
void |
resetToDefault()
Resets to default options. |
void |
setMultiplexAllowed(boolean flag)
Sets the MultiplexAllowed option. |
void |
setPduFixedOnError(boolean flag)
Sets the PduFixedOnError option. |
void |
setTooBigHandled(boolean flag)
Sets the TooBigHandled option. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public SnmpOptions()
public SnmpOptions(int options)
options
- The initializing options.Method Detail |
public int getOptions()
public boolean isMultiplexAllowed()
public void setMultiplexAllowed(boolean flag)
flag
- The MultiplexAllowed option value.public boolean isPduFixedOnError()
public void setPduFixedOnError(boolean flag)
flag
- The PduFixedOnError option value.public boolean isTooBigHandled()
public void setTooBigHandled(boolean flag)
flag
- The TooBigHandled option value.public void resetToDefault()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |