|
SNMP Stack 5_1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.util.Observable
|
+--uk.co.westhawk.snmp.stack.Pdu
|
+--uk.co.westhawk.snmp.stack.GetPdu
|
+--uk.co.westhawk.snmp.pdu.DiscoveryPdu
This class is used to perform the SNMPv3 USM discovery. This PDU cannot have any OIDs.
| Field Summary |
| Fields inherited from class uk.co.westhawk.snmp.stack.Pdu |
added, answered, context, encodedPacket, errind, errstat, msg_type, reqVarbinds, respVarbinds, snmpv3MsgId |
| Constructor Summary | |
DiscoveryPdu(SnmpContextv3Face cntxt)
Constructor. |
|
| Method Summary | |
void |
addOid(AsnObjectId oid)
Cannot add any OID. |
void |
addOid(AsnObjectId oid,
AsnObject val)
Cannot add any OID. |
void |
addOid(java.lang.String oid)
Cannot add any OID. |
void |
addOid(java.lang.String oid,
AsnObject val)
Cannot add any OID. |
void |
addOid(varbind var)
Cannot add any OID. |
boolean |
send()
Sends the PDU. |
| Methods inherited from class uk.co.westhawk.snmp.stack.Pdu |
addToTrans, getContext, getErrorIndex, getErrorStatus, getErrorStatusString, getMsgType, getReqId, getRequestVarbinds, getResponseVarbinds, isExpectingResponse, isTimedOut, new_value, notifyObservers, printVars, send, send, sendme, setErrorIndex, setErrorStatus, setErrorStatus, setMsgType, setRetryIntervals, tell_them, toString, toString, waitForSelf |
| Methods inherited from class java.util.Observable |
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, setChanged |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public DiscoveryPdu(SnmpContextv3Face cntxt)
| Method Detail |
public void addOid(java.lang.String oid)
throws java.lang.IllegalArgumentException
addOid in class Pduoid - The oid
java.lang.IllegalArgumentException - A discovery PDU cannot have any
OID.Pdu.addOid(varbind),
varbind
public void addOid(java.lang.String oid,
AsnObject val)
addOid in class Pduoid - The oidval - The value
java.lang.IllegalArgumentException - A discovery PDU cannot have any
OID.Pdu.addOid(java.lang.String),
varbind
public void addOid(AsnObjectId oid,
AsnObject val)
addOid in class Pduoid - The oidval - The value
java.lang.IllegalArgumentException - A discovery PDU cannot have any
OID.Pdu.addOid(java.lang.String),
varbind
public void addOid(varbind var)
throws java.lang.IllegalArgumentException
addOid in class Pduvar - The varbind
java.lang.IllegalArgumentException - A discovery PDU cannot have any
OID.Pdu.addOid(String)public void addOid(AsnObjectId oid)
addOid in class Pduoid - The oid
java.lang.IllegalArgumentException - A discovery PDU cannot have any
OID.Pdu.addOid(varbind),
varbind
public boolean send()
throws java.io.IOException,
PduException
send in class Pdujava.io.IOException
PduException
|
SNMP Stack 5_1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||