|
Luky Library - 4.1.1 (20061117-1148) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectluky.snmp.AdvancedSnmpManagerObject
public class AdvancedSnmpManagerObject
The AdvancedSnmpManagerObject creates a PDU object that will be used by the
AdvancedSnmpManager for polling of statuses
Revision Changes :
![]() |
![]() |
Constructor Summary | |
---|---|
AdvancedSnmpManagerObject(SnmpContextBasisFace context,
String oid,
Observer obs)
Constructor |
Method Summary | |
---|---|
String |
getHost()
returns the host of this AdvancedSnmpManagerObject |
String |
getOid()
returns the Oid of this AdvancedSnmpManagerObject |
varbind |
performBlockingGet(String oid)
PerformBlockingGet, requests the result and waits for the answer |
varbind |
performBlockingSet(String oid,
String val)
PerformBlockingSet, requests the result and waits for the answer |
void |
performGet()
PerformGet, requests the result, and passes it to the observer |
void |
setRepeatIntervals(int[] repeats)
sets the intervals of the polling, default is { 500, 500, 1000, 2000, 2000, 3000 } (ms) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AdvancedSnmpManagerObject(SnmpContextBasisFace context, String oid, Observer obs)
context
- the SnmpContextBasisFaceoid
- the oidobs
- the Observer that will be notified when the answer is receivedMethod Detail |
---|
public String getHost()
public void setRepeatIntervals(int[] repeats)
public String getOid()
public void performGet() throws PduException, IOException
PduException
IOException
public varbind performBlockingSet(String oid, String val) throws IllegalArgumentException, IOException, PduException
IllegalArgumentException
IOException
PduException
public varbind performBlockingGet(String oid) throws IllegalArgumentException, IOException, PduException
IllegalArgumentException
IOException
PduException
|
Luky Library - 4.1.1 (20061117-1148) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |