Package uk.co.westhawk.snmp.pdu
Class DiscoveryPdu
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.
 
- Version:
 - $Revision: 3.15 $ $Date: 2006/11/29 16:12:50 $
 - Author:
 - Birgit Arkesteijn
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidCannot add any OID.voidCannot add any OID.voidaddOid(AsnObjectId oid) Cannot add any OID.voidaddOid(AsnObjectId oid, AsnObject val) Cannot add any OID.voidCannot add any OID.booleansend()Sends the PDU.Methods inherited from class uk.co.westhawk.snmp.stack.Pdu
getContext, getErrorIndex, getErrorStatus, getErrorStatusString, getMsgType, getReqId, getRequestVarbinds, getResponseVarbinds, getRetryIntervals, isTimedOut, notifyObservers, send, setRetryIntervals, toString, waitForSelfMethods inherited from class java.util.Observable
addObserver, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers 
- 
Constructor Details
- 
DiscoveryPdu
Constructor.- Parameters:
 cntxt- The v3 context of the PDU
 
 - 
 - 
Method Details
- 
addOid
Cannot add any OID. This method is overwritten to prevent users from adding any OID.- Overrides:
 addOidin classPdu- Parameters:
 oid- The oid- Throws:
 IllegalArgumentException- A discovery PDU cannot have any OID.- See Also:
 
 - 
addOid
Cannot add any OID. This method is overwritten to prevent users from adding any OID.- Overrides:
 addOidin classPdu- Parameters:
 oid- The oidval- The value- Throws:
 IllegalArgumentException- A discovery PDU cannot have any OID.- Since:
 - 4_12
 - See Also:
 
 - 
addOid
Cannot add any OID. This method is overwritten to prevent users from adding any OID.- Overrides:
 addOidin classPdu- Parameters:
 oid- The oidval- The value- Throws:
 IllegalArgumentException- A discovery PDU cannot have any OID.- Since:
 - 4_12
 - See Also:
 
 - 
addOid
Cannot add any OID. This method is overwritten to prevent users from adding any OID.- Overrides:
 addOidin classPdu- Parameters:
 var- The varbind- Throws:
 IllegalArgumentException- A discovery PDU cannot have any OID.- See Also:
 
 - 
addOid
Cannot add any OID. This method is overwritten to prevent users from adding any OID.- Overrides:
 addOidin classPdu- Parameters:
 oid- The oid- Throws:
 IllegalArgumentException- A discovery PDU cannot have any OID.- Since:
 - 4_12
 - See Also:
 
 - 
send
Sends the PDU. Note that all properties of the context have to be set before this point.- Overrides:
 sendin classPdu- Throws:
 IOExceptionPduException
 
 -