Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
C
D
E
F
G
H
I
M
N
O
P
R
S
T
V
A
ASNTYPE
- Static variable in class org.opennms.protocols.snmp.
SnmpCounter32
Defines the ASN.1 type for this object.
ASNTYPE
- Static variable in class org.opennms.protocols.snmp.
SnmpCounter64
The ASN.1 value for an unsigned integer value.
ASNTYPE
- Static variable in class org.opennms.protocols.snmp.
SnmpEndOfMibView
The ASN.1 value that defines this variable.
ASNTYPE
- Static variable in class org.opennms.protocols.snmp.
SnmpGauge32
Defines the ASN.1 type for this object.
ASNTYPE
- Static variable in class org.opennms.protocols.snmp.
SnmpIPAddress
Defines the ASN.1 type for this object.
ASNTYPE
- Static variable in class org.opennms.protocols.snmp.
SnmpInt32
The ASN.1 type as defined by the SNMP SMI specification.
ASNTYPE
- Static variable in class org.opennms.protocols.snmp.
SnmpNoSuchInstance
The ASN.1 value that defines this variable.
ASNTYPE
- Static variable in class org.opennms.protocols.snmp.
SnmpNoSuchObject
The ASN.1 value that defines this variable.
ASNTYPE
- Static variable in class org.opennms.protocols.snmp.
SnmpNull
Defines the ASN.1 value for the SnmpNull class.
ASNTYPE
- Static variable in class org.opennms.protocols.snmp.
SnmpObjectId
Defines the SNMP SMI type for this particular object.
ASNTYPE
- Static variable in class org.opennms.protocols.snmp.
SnmpOctetString
The ASN.1 value for the OCTET STRING type.
ASNTYPE
- Static variable in class org.opennms.protocols.snmp.
SnmpOpaque
The ASN.1 type for this class.
ASNTYPE
- Static variable in class org.opennms.protocols.snmp.
SnmpTimeTicks
Defines the ASN.1 type for this object.
ASNTYPE
- Static variable in class org.opennms.protocols.snmp.
SnmpUInt32
The ASN.1 value for an unsigned integer value.
ASNTYPE
- Static variable in class org.opennms.protocols.snmp.
SnmpV2PartyClock
Deprecated.
The ASN.1 type for this object
ASNTYPE
- Static variable in class org.opennms.protocols.snmp.
SnmpVarBind
The ASN.1 identifier used to mark SNMP variables
addVarBind(SnmpVarBind)
- Method in class org.opennms.protocols.snmp.
SnmpPduPacket
Adds a new variable to the protocol data unit.
addVarBind(SnmpVarBind)
- Method in class org.opennms.protocols.snmp.
SnmpPduTrap
Adds a new variable to the protocol data unit.
addVarBindAt(int, SnmpVarBind)
- Method in class org.opennms.protocols.snmp.
SnmpPduPacket
Adds a variable at a specific index.
addVarBindAt(int, SnmpVarBind)
- Method in class org.opennms.protocols.snmp.
SnmpPduTrap
Adds a variable at a specific index.
append(int[])
- Method in class org.opennms.protocols.snmp.
SnmpObjectId
Appends the specified identifiers to the current object.
append(String)
- Method in class org.opennms.protocols.snmp.
SnmpObjectId
Converts the passed string to an object identifier and appends them to the current object.
append(SnmpObjectId)
- Method in class org.opennms.protocols.snmp.
SnmpObjectId
Appends the passed SnmpObjectId object to self.
assumeString(byte[])
- Method in class org.opennms.protocols.snmp.
SnmpOctetString
This can be used by a derived class to
force
the data contained by the octet string.
C
cancel(int)
- Method in class org.opennms.protocols.snmp.
SnmpSession
Cancels the current outstanding reqeust as defined by the SnmpPduPacket's requestId method.
clone()
- Method in class org.opennms.protocols.snmp.
SnmpCounter32
Creates a new object that is a duplicate of the current object.
clone()
- Method in class org.opennms.protocols.snmp.
SnmpCounter64
Returns a duplicte of the current object
clone()
- Method in class org.opennms.protocols.snmp.
SnmpEndOfMibView
Returns a duplicate object of self.
clone()
- Method in class org.opennms.protocols.snmp.
SnmpGauge32
Creates a new object that is a duplicate of the current object.
clone()
- Method in class org.opennms.protocols.snmp.
SnmpIPAddress
Create a new object that is a duplicate of the current object.
clone()
- Method in class org.opennms.protocols.snmp.
SnmpInt32
Returns a duplicate of the current object.
clone()
- Method in class org.opennms.protocols.snmp.
SnmpNoSuchInstance
Returns a duplicate object of self.
clone()
- Method in class org.opennms.protocols.snmp.
SnmpNoSuchObject
Returns a duplicate object of self.
clone()
- Method in class org.opennms.protocols.snmp.
SnmpNull
Used to get a duplicate of the current object so that it can be modified without affecting the creating object.
clone()
- Method in class org.opennms.protocols.snmp.
SnmpObjectId
Implements the cloneable interface.
clone()
- Method in class org.opennms.protocols.snmp.
SnmpOctetString
Creates a duplicate copy of the object and returns it to the caller.
clone()
- Method in class org.opennms.protocols.snmp.
SnmpOpaque
Returns a duplicate of the current object.
clone()
- Method in class org.opennms.protocols.snmp.
SnmpParameters
Used to get a newly created duplicate of the current object.
clone()
- Method in class org.opennms.protocols.snmp.
SnmpPduBulk
Creates a new duplicate object of self that shares no references with the original PDU.
clone()
- Method in class org.opennms.protocols.snmp.
SnmpPduPacket
Defined for derived classes to return a duplicate of self.
clone()
- Method in class org.opennms.protocols.snmp.
SnmpPduRequest
Used to get a duplicate of self.
clone()
- Method in class org.opennms.protocols.snmp.
SnmpPduTrap
clone()
- Method in class org.opennms.protocols.snmp.
SnmpPeer
Used to get a newly created copy of the current object.
clone()
- Method in class org.opennms.protocols.snmp.
SnmpTimeTicks
Creates a new object that is a duplicate of the current object.
clone()
- Method in class org.opennms.protocols.snmp.
SnmpUInt32
Returns a duplicte of the current object
clone()
- Method in class org.opennms.protocols.snmp.
SnmpV2Error
Returns a duplicate of the current object.
clone()
- Method in class org.opennms.protocols.snmp.
SnmpV2PartyClock
Deprecated.
Creates and returns a duplicate object of self.
clone()
- Method in class org.opennms.protocols.snmp.
SnmpVarBind
Returns a newly created duplicate object to the caller
close()
- Method in class org.opennms.protocols.snmp.
SnmpSession
Used to close the session.
close()
- Method in class org.opennms.protocols.snmp.
SnmpTrapSession
Used to close the session.
compare(int[])
- Method in class org.opennms.protocols.snmp.
SnmpObjectId
Lexigraphically compares the object identifer to the array of identifiers.
compare(int[], int)
- Method in class org.opennms.protocols.snmp.
SnmpObjectId
Lexigraphically compares the object identifer to the array of identifiers.
compare(SnmpObjectId)
- Method in class org.opennms.protocols.snmp.
SnmpObjectId
Lexigraphically compares the object identifer to the passed object identifer.
convertToIpAddress()
- Method in class org.opennms.protocols.snmp.
SnmpIPAddress
Converts the current Application String to an IPv4Address object.
D
DEFAULT_PORT
- Static variable in class org.opennms.protocols.snmp.
SnmpTrapSession
This is the default port where traps should be sent and received as defined by the RFC.
decodeASN(byte[], int, AsnEncoder)
- Method in class org.opennms.protocols.snmp.
SnmpCounter64
Used to decode the integer value from the ASN.1 buffer.
decodeASN(byte[], int, AsnEncoder)
- Method in class org.opennms.protocols.snmp.
SnmpIPAddress
Decodes the ASN.1 octet string from the passed buffer.
decodeASN(byte[], int, AsnEncoder)
- Method in class org.opennms.protocols.snmp.
SnmpInt32
Used to decode the integer value from the ASN.1 buffer.
decodeASN(byte[], int, AsnEncoder)
- Method in class org.opennms.protocols.snmp.
SnmpNull
Used to decode the null value from the ASN.1 buffer.
decodeASN(byte[], int, AsnEncoder)
- Method in class org.opennms.protocols.snmp.
SnmpObjectId
Decodes the ASN.1 object identifer from the passed buffer.
decodeASN(byte[], int, AsnEncoder)
- Method in class org.opennms.protocols.snmp.
SnmpOctetString
Decodes the ASN.1 octet string from the passed buffer.
decodeASN(byte[], int, AsnEncoder)
- Method in class org.opennms.protocols.snmp.
SnmpPduPacket
Decodes the protocol data unit from the passed buffer.
decodeASN(byte[], int, AsnEncoder)
- Method in class org.opennms.protocols.snmp.
SnmpPduTrap
Decodes the protocol data unit from the passed buffer.
decodeASN(byte[], int, AsnEncoder)
- Method in interface org.opennms.protocols.snmp.
SnmpSyntax
Decodes the ASN.1 buffer and sets the values in the SnmpSyntax object.
decodeASN(byte[], int, AsnEncoder)
- Method in class org.opennms.protocols.snmp.
SnmpUInt32
Used to decode the integer value from the ASN.1 buffer.
decodeASN(byte[], int, AsnEncoder)
- Method in class org.opennms.protocols.snmp.
SnmpV2Error
Decodes the passed buffer and updates the object to match the encoded information.
decodeASN(byte[], int, AsnEncoder)
- Method in class org.opennms.protocols.snmp.
SnmpVarBind
Used to recover the encoded variable data from the passed ASN.1 buffer.
defaultCommunity
- Static variable in class org.opennms.protocols.snmp.
SnmpParameters
The default read-only community string
defaultEncoder
- Static variable in class org.opennms.protocols.snmp.
SnmpParameters
The AsnEncoder used by default.
defaultRemotePort
- Static variable in class org.opennms.protocols.snmp.
SnmpPeer
The default remote port.
defaultRetries
- Static variable in class org.opennms.protocols.snmp.
SnmpPeer
The library default for the number of retries.
defaultTimeout
- Static variable in class org.opennms.protocols.snmp.
SnmpPeer
The library default for the number of milliseconds to wait for a reply from the remote agent.
defaultVersion
- Static variable in class org.opennms.protocols.snmp.
SnmpParameters
The SNMP protocol version used by default.
duplicate()
- Method in class org.opennms.protocols.snmp.
SnmpCounter32
Creates a new object that is a duplicate of the current object.
duplicate()
- Method in class org.opennms.protocols.snmp.
SnmpCounter64
Returns a duplicte of the current object
duplicate()
- Method in class org.opennms.protocols.snmp.
SnmpEndOfMibView
Returns a duplicate object of self.
duplicate()
- Method in class org.opennms.protocols.snmp.
SnmpGauge32
Creates a new object that is a duplicate of the current object.
duplicate()
- Method in class org.opennms.protocols.snmp.
SnmpIPAddress
Create a new object that is a duplicate of the current object.
duplicate()
- Method in class org.opennms.protocols.snmp.
SnmpInt32
Returns a duplicate of the current object.
duplicate()
- Method in class org.opennms.protocols.snmp.
SnmpNoSuchInstance
Returns a duplicate object of self.
duplicate()
- Method in class org.opennms.protocols.snmp.
SnmpNoSuchObject
Returns a duplicate object of self.
duplicate()
- Method in class org.opennms.protocols.snmp.
SnmpNull
Used to get a duplicate of the current object so that it can be modified without affecting the creating object.
duplicate()
- Method in class org.opennms.protocols.snmp.
SnmpObjectId
Serves the same purpose as the method clone().
duplicate()
- Method in class org.opennms.protocols.snmp.
SnmpOctetString
Creates a duplicate copy of the object and returns it to the caller.
duplicate()
- Method in class org.opennms.protocols.snmp.
SnmpOpaque
Returns a duplicate of the current object.
duplicate()
- Method in class org.opennms.protocols.snmp.
SnmpPduBulk
Creates a new duplicate object of self that shares no references with the original PDU.
duplicate()
- Method in class org.opennms.protocols.snmp.
SnmpPduPacket
Defined for derived classes to return a duplicate of self.
duplicate()
- Method in class org.opennms.protocols.snmp.
SnmpPduRequest
Used to get a duplicate of self.
duplicate()
- Method in class org.opennms.protocols.snmp.
SnmpPduTrap
duplicate()
- Method in interface org.opennms.protocols.snmp.
SnmpSyntax
Creates a duplicate (in memory) object of the caller.
duplicate()
- Method in class org.opennms.protocols.snmp.
SnmpTimeTicks
Creates a new object that is a duplicate of the current object.
duplicate()
- Method in class org.opennms.protocols.snmp.
SnmpUInt32
Returns a duplicte of the current object
duplicate()
- Method in class org.opennms.protocols.snmp.
SnmpV2Error
Returns a duplicate of the current object.
duplicate()
- Method in class org.opennms.protocols.snmp.
SnmpV2PartyClock
Deprecated.
Creates and returns a duplicate object of self.
duplicate()
- Method in class org.opennms.protocols.snmp.
SnmpVarBind
Returns a newly created duplicate object to the caller
E
ERROR_ENCODING
- Static variable in class org.opennms.protocols.snmp.
SnmpSession
This is the command passed to the SnmpHandler if an encoding exception is generated when attempting to send an SnmpPduRequest message
ERROR_EXCEPTION
- Static variable in class org.opennms.protocols.snmp.
SnmpTrapSession
Defines a error due to a thown exception.
ERROR_INVALID_PDU
- Static variable in class org.opennms.protocols.snmp.
SnmpTrapSession
Defines an error condition with an invalid PDU.
ERROR_IOEXCEPTION
- Static variable in class org.opennms.protocols.snmp.
SnmpSession
This is the command passed to the SnmpHandler if an IOException occurs while attempting to transmit the request
ERROR_TIMEOUT
- Static variable in class org.opennms.protocols.snmp.
SnmpSession
This is the command passed to the SnmpHandler if a timeout occurs.
ErrAuthorizationError
- Static variable in class org.opennms.protocols.snmp.
SnmpPduPacket
The authorization failed.
ErrBadValue
- Static variable in class org.opennms.protocols.snmp.
SnmpPduPacket
If the object type does not match the object value in the agent's tables.
ErrCommitFailed
- Static variable in class org.opennms.protocols.snmp.
SnmpPduPacket
Unable to commit the required values.
ErrGenError
- Static variable in class org.opennms.protocols.snmp.
SnmpPduPacket
A generic SNMPv1 error occured.
ErrInconsistentName
- Static variable in class org.opennms.protocols.snmp.
SnmpPduPacket
The passed object identifier is not consistent.
ErrInconsistentValue
- Static variable in class org.opennms.protocols.snmp.
SnmpPduPacket
The specified value are not consistant.
ErrNoAccess
- Static variable in class org.opennms.protocols.snmp.
SnmpPduPacket
The specified SET request could not access the specified instance.
ErrNoCreation
- Static variable in class org.opennms.protocols.snmp.
SnmpPduPacket
The manager does not have the permission to create the specified object(s).
ErrNoError
- Static variable in class org.opennms.protocols.snmp.
SnmpPduPacket
No error occured in the request.
ErrNoSuchName
- Static variable in class org.opennms.protocols.snmp.
SnmpPduPacket
There was no such object identifier defined in the agent's tables.
ErrNotWritable
- Static variable in class org.opennms.protocols.snmp.
SnmpPduPacket
The specified instance or table is not writable
ErrReadOnly
- Static variable in class org.opennms.protocols.snmp.
SnmpPduPacket
Attempting to set a read-only object in the agent's tables.
ErrResourceUnavailable
- Static variable in class org.opennms.protocols.snmp.
SnmpPduPacket
The requested resource are not available.
ErrTooBig
- Static variable in class org.opennms.protocols.snmp.
SnmpPduPacket
The PDU was too large for the agent to process
ErrUndoFailed
- Static variable in class org.opennms.protocols.snmp.
SnmpPduPacket
Unable to perform the undo request
ErrWrongEncoding
- Static variable in class org.opennms.protocols.snmp.
SnmpPduPacket
The specified object is not correctly encoded.
ErrWrongLength
- Static variable in class org.opennms.protocols.snmp.
SnmpPduPacket
The specified object is not the correct length.
ErrWrongType
- Static variable in class org.opennms.protocols.snmp.
SnmpPduPacket
The specified object is not the correct type.
ErrWrongValue
- Static variable in class org.opennms.protocols.snmp.
SnmpPduPacket
The specified object doe not have the correct value.
encodeASN(byte[], int, AsnEncoder)
- Method in class org.opennms.protocols.snmp.
SnmpCounter64
Used to encode the integer value into an ASN.1 buffer.
encodeASN(byte[], int, AsnEncoder)
- Method in class org.opennms.protocols.snmp.
SnmpInt32
Used to encode the integer value into an ASN.1 buffer.
encodeASN(byte[], int, AsnEncoder)
- Method in class org.opennms.protocols.snmp.
SnmpNull
Used to encode the null value into an ASN.1 buffer.
encodeASN(byte[], int, AsnEncoder)
- Method in class org.opennms.protocols.snmp.
SnmpObjectId
Encodes the ASN.1 object identifier using the passed encoder and stores the results in the passed buffer.
encodeASN(byte[], int, AsnEncoder)
- Method in class org.opennms.protocols.snmp.
SnmpOctetString
Encodes the ASN.1 octet string using the passed encoder and stores the results in the passed buffer.
encodeASN(byte[], int, AsnEncoder)
- Method in class org.opennms.protocols.snmp.
SnmpPduPacket
Encodes the protocol data unit using the passed encoder and stores the results in the passed buffer.
encodeASN(byte[], int, AsnEncoder)
- Method in class org.opennms.protocols.snmp.
SnmpPduTrap
Encodes the protocol data unit using the passed encoder and stores the results in the passed buffer.
encodeASN(byte[], int, AsnEncoder)
- Method in interface org.opennms.protocols.snmp.
SnmpSyntax
Encodes the data object in the specified buffer using the AsnEncoder object
encodeASN(byte[], int, AsnEncoder)
- Method in class org.opennms.protocols.snmp.
SnmpUInt32
Used to encode the integer value into an ASN.1 buffer.
encodeASN(byte[], int, AsnEncoder)
- Method in class org.opennms.protocols.snmp.
SnmpV2Error
Encodes the SNMPv2 error into the passed buffer using the encoder object.
encodeASN(byte[], int, AsnEncoder)
- Method in class org.opennms.protocols.snmp.
SnmpVarBind
Encodes the SnmpVarBind object into the passed buffer.
equals(Object)
- Method in class org.opennms.protocols.snmp.
SnmpObjectId
Test for equality.
F
fix()
- Method in class org.opennms.protocols.snmp.
SnmpPduRequest
Fixes a PDU in error.
G
GET
- Static variable in class org.opennms.protocols.snmp.
SnmpPduPacket
Defines a SNMPv1 Get Request PDU message.
GETBULK
- Static variable in class org.opennms.protocols.snmp.
SnmpPduPacket
Defines a SNMPv2 Get Bulk Request message.
GETNEXT
- Static variable in class org.opennms.protocols.snmp.
SnmpPduPacket
Defines a SNMPv1 Get Next Request PDU message.
GenericAuthenticationFailure
- Static variable in class org.opennms.protocols.snmp.
SnmpPduTrap
Generic trap type: authentication-failure.
GenericColdStart
- Static variable in class org.opennms.protocols.snmp.
SnmpPduTrap
Generic trap type: cold start.
GenericEgpNeighborLoss
- Static variable in class org.opennms.protocols.snmp.
SnmpPduTrap
Generic trap type: EGP Neighbor Loss.
GenericEnterpriseSpecific
- Static variable in class org.opennms.protocols.snmp.
SnmpPduTrap
Generic trap type: Enterprise Specific.
GenericLinkDown
- Static variable in class org.opennms.protocols.snmp.
SnmpPduTrap
Generic trap type: link down.
GenericLinkUp
- Static variable in class org.opennms.protocols.snmp.
SnmpPduTrap
Generic trap type: link up.
GenericWarmStart
- Static variable in class org.opennms.protocols.snmp.
SnmpPduTrap
Generic trap type: warm start.
getAgentAddress()
- Method in class org.opennms.protocols.snmp.
SnmpPduTrap
Gets the remote agent's IP address.
getAsnEncoder()
- Method in class org.opennms.protocols.snmp.
SnmpSession
Gets the AsnEncoder for the session.
getAsnEncoder()
- Method in class org.opennms.protocols.snmp.
SnmpTrapSession
Gets the AsnEncoder for the session.
getCommand()
- Method in class org.opennms.protocols.snmp.
SnmpPduPacket
Returns the type of PDU.
getDefaultHandler()
- Method in class org.opennms.protocols.snmp.
SnmpSession
Gets the default SnmpHandler for the session.
getEncoder()
- Method in class org.opennms.protocols.snmp.
SnmpParameters
Retreives the current ASN.1 encoder object.
getEnterprise()
- Method in class org.opennms.protocols.snmp.
SnmpPduTrap
Used to get the enterpise identifier of the trap.
getErrorIndex()
- Method in class org.opennms.protocols.snmp.
SnmpPduRequest
Returns the index of the variable in error if the error status is non-zero.
getErrorStatus()
- Method in class org.opennms.protocols.snmp.
SnmpPduRequest
Returns the error status for the request.
getGeneric()
- Method in class org.opennms.protocols.snmp.
SnmpPduTrap
Returns the generic code for the trap.
getHandler()
- Method in class org.opennms.protocols.snmp.
SnmpTrapSession
Returns the trap handler for this trap session.
getIdentifiers()
- Method in class org.opennms.protocols.snmp.
SnmpObjectId
Gets the array of object identifiers from the object.
getLength()
- Method in class org.opennms.protocols.snmp.
SnmpObjectId
Gets the number of object identifiers in the object.
getLength()
- Method in class org.opennms.protocols.snmp.
SnmpOctetString
Returns the internal length of the octet string.
getLength()
- Method in class org.opennms.protocols.snmp.
SnmpPduPacket
/** Returns the number of variables in the data unit.
getLength()
- Method in class org.opennms.protocols.snmp.
SnmpPduTrap
Returns the number of variables contained in the PDU.
getMaxRepititions()
- Method in class org.opennms.protocols.snmp.
SnmpPduBulk
Used to retreive the number of reptitions to get for the repeating variables.
getName()
- Method in class org.opennms.protocols.snmp.
SnmpVarBind
Returns the object identifier that names the variable.
getNonRepeaters()
- Method in class org.opennms.protocols.snmp.
SnmpPduBulk
Returns the number of non-repeating elements
getOutstandingCount()
- Method in class org.opennms.protocols.snmp.
SnmpSession
Returns the number of outstanding request for the agent.
getParameters()
- Method in class org.opennms.protocols.snmp.
SnmpPeer
Retuns the current parameters for the peer agent.
getPeer()
- Method in class org.opennms.protocols.snmp.
SnmpPduPacket
Returns the current peer for this packet.
getPeer()
- Method in class org.opennms.protocols.snmp.
SnmpPeer
Returns the peer agent's internet address to the caller
getPeer()
- Method in class org.opennms.protocols.snmp.
SnmpSession
Gets the current peer object.
getPort()
- Method in class org.opennms.protocols.snmp.
SnmpPeer
Returns the remote agent's port for communications
getReadCommunity()
- Method in class org.opennms.protocols.snmp.
SnmpParameters
Retreives the current read community string from the parameters.
getRequestId()
- Method in class org.opennms.protocols.snmp.
SnmpPduPacket
Returns the current request id for this packet.
getRetries()
- Method in class org.opennms.protocols.snmp.
SnmpPeer
Returns the currently set number of retries defined by this peer
getServerPort()
- Method in class org.opennms.protocols.snmp.
SnmpPeer
Returns the local agent's port for communications
getSpecific()
- Method in class org.opennms.protocols.snmp.
SnmpPduTrap
Returns the specific code for the trap.
getString()
- Method in class org.opennms.protocols.snmp.
SnmpOctetString
Returns a reference to the internal object string.
getTimeStamp()
- Method in class org.opennms.protocols.snmp.
SnmpPduTrap
Returns the timeticks from the trap.
getTimeout()
- Method in class org.opennms.protocols.snmp.
SnmpPeer
Retreives the currently configured timeout for the remote agent in milliseconds (1/1000th second).
getValue()
- Method in class org.opennms.protocols.snmp.
SnmpCounter64
Used to retreive the 64-bit unsigned value.
getValue()
- Method in class org.opennms.protocols.snmp.
SnmpInt32
Used to access the internal 32-bit signed quantity.
getValue()
- Method in class org.opennms.protocols.snmp.
SnmpUInt32
Used to retreive the 32-bit unsigned value.
getValue()
- Method in class org.opennms.protocols.snmp.
SnmpVarBind
Retreives the variable's value.
getVarBindAt(int)
- Method in class org.opennms.protocols.snmp.
SnmpPduPacket
Retrieves the variable at the specific index.
getVarBindAt(int)
- Method in class org.opennms.protocols.snmp.
SnmpPduTrap
Retrieves the variable at the specific index.
getVersion()
- Method in class org.opennms.protocols.snmp.
SnmpParameters
Returns the current SNMP version defined by the parameters.
getWriteCommunity()
- Method in class org.opennms.protocols.snmp.
SnmpParameters
Retreives the current write community string set in the parameters.
H
hashCode()
- Method in class org.opennms.protocols.snmp.
SnmpObjectId
Returns a computed hash code value for the object identifier.
I
INFORM
- Static variable in class org.opennms.protocols.snmp.
SnmpPduPacket
Defines a SNMPv2 Inform Request message
isClosed()
- Method in class org.opennms.protocols.snmp.
SnmpSession
Returns true if the
close
method has been called.
isClosed()
- Method in class org.opennms.protocols.snmp.
SnmpTrapSession
Returns true if the
close
method has been called.
isRootOf(SnmpObjectId)
- Method in class org.opennms.protocols.snmp.
SnmpObjectId
Compares the passed object identifier against self to determine if self is the root of the passed object.
M
m_errIndex
- Variable in class org.opennms.protocols.snmp.
SnmpPduPacket
The error index in a normal pdu, it is used as the maximum repititions in the get bulk pdu.
m_errStatus
- Variable in class org.opennms.protocols.snmp.
SnmpPduPacket
The error status in a normal pdu, is is used as the non-repeaters in the getbulk.
N
nextSequence()
- Static method in class org.opennms.protocols.snmp.
SnmpPduPacket
Use to sequence the all pdu request across the entire library.
O
org.opennms.protocols.snmp
- package org.opennms.protocols.snmp
P
prepend(int[])
- Method in class org.opennms.protocols.snmp.
SnmpObjectId
Prepends the passed set of identifiers to the front of the object.
prepend(String)
- Method in class org.opennms.protocols.snmp.
SnmpObjectId
Converts the passed string to an object identifier and prepends them to the current object.
prepend(SnmpObjectId)
- Method in class org.opennms.protocols.snmp.
SnmpObjectId
Prepends the passed SnmpObjectId object to self.
printStackTrace()
- Method in class org.opennms.protocols.snmp.
SnmpBadConversionException
Prints the stack trace of the exception.
printStackTrace(PrintWriter)
- Method in class org.opennms.protocols.snmp.
SnmpBadConversionException
Prints the stack trace of the exception.
printStackTrace(PrintStream)
- Method in class org.opennms.protocols.snmp.
SnmpBadConversionException
Prints the stack trace of the exception.
R
REPORT
- Static variable in class org.opennms.protocols.snmp.
SnmpPduPacket
Defines a SNMPv2 Report message.
RESPONSE
- Static variable in class org.opennms.protocols.snmp.
SnmpPduPacket
Defines a SNMPv1 Response PDU message.
raise()
- Method in class org.opennms.protocols.snmp.
SnmpSession
If an exception occurs in the SNMP receiver thread then raise() will rethrow the exception.
raise()
- Method in class org.opennms.protocols.snmp.
SnmpTrapSession
If an exception occurs in the SNMP receiver thread then raise() will rethrow the exception.
registerSyntaxObject(SnmpSyntax)
- Static method in class org.opennms.protocols.snmp.
SnmpSession
Allows library users to register new ASN.1 types with the SNMP library.
removeVarBindAt(int)
- Method in class org.opennms.protocols.snmp.
SnmpPduPacket
Removes the variable as defined by the index
removeVarBindAt(int)
- Method in class org.opennms.protocols.snmp.
SnmpPduTrap
Removes the variable as defined by the index
S
SET
- Static variable in class org.opennms.protocols.snmp.
SnmpPduPacket
Defines a SNMPv1 PDU Set Request message.
SMI_APPSTRING
- Static variable in class org.opennms.protocols.snmp.
SnmpSMI
An application string is a sequence of octets defined at the application level.
SMI_COUNTER32
- Static variable in class org.opennms.protocols.snmp.
SnmpSMI
A non-negative integer that may be incremented, but not decremented.
SMI_COUNTER64
- Static variable in class org.opennms.protocols.snmp.
SnmpSMI
Defines a 64-bit unsigned counter.
SMI_ENDOFMIBVIEW
- Static variable in class org.opennms.protocols.snmp.
SnmpSMI
The SNMPv2 error representing the End-Of-Mib-View.
SMI_GAUGE32
- Static variable in class org.opennms.protocols.snmp.
SnmpSMI
Represents a non-negative integer that may increase or decrease with a maximum value of 2^32-1.
SMI_INTEGER
- Static variable in class org.opennms.protocols.snmp.
SnmpSMI
Defines the positive and negative whole numbers, including zero.
SMI_IPADDRESS
- Static variable in class org.opennms.protocols.snmp.
SnmpSMI
An IP Address is an application string of length four and is indistinguishable from the SMI_APPSTRING value.
SMI_NOSUCHINSTANCE
- Static variable in class org.opennms.protocols.snmp.
SnmpSMI
The SNMPv2 error representing that there is No-Such-Instance for a particular object identifier.
SMI_NOSUCHOBJECT
- Static variable in class org.opennms.protocols.snmp.
SnmpSMI
The SNMPv2 error representing that there is No-Such-Object for a particular object identifier.
SMI_NULL
- Static variable in class org.opennms.protocols.snmp.
SnmpSMI
A Null value.
SMI_OBJECTID
- Static variable in class org.opennms.protocols.snmp.
SnmpSMI
A set of values associated with the information objects defined by the standard.
SMI_OPAQUE
- Static variable in class org.opennms.protocols.snmp.
SnmpSMI
Used to support the transport of arbitrary data.
SMI_STRING
- Static variable in class org.opennms.protocols.snmp.
SnmpSMI
A sequence of zero or more octets, where an octet is an 8-bit quantity.
SMI_TIMETICKS
- Static variable in class org.opennms.protocols.snmp.
SnmpSMI
This represents a non-negative integer that counts time, modulo 2^32.
SMI_UNSIGNED32
- Static variable in class org.opennms.protocols.snmp.
SnmpSMI
Used to represent the integers in the range of 0 to 2^32-1.
SNMPV1
- Static variable in class org.opennms.protocols.snmp.
SnmpSMI
The value for a SNMP V1 protocol session
SNMPV2
- Static variable in class org.opennms.protocols.snmp.
SnmpSMI
The value for a SNMP V2 protocol session.
SnmpBadConversionException
- exception org.opennms.protocols.snmp.
SnmpBadConversionException
.
Constructed when the library is unable to covert a value to another.
SnmpBadConversionException(String)
- Constructor for class org.opennms.protocols.snmp.
SnmpBadConversionException
The exception constructor.
SnmpBadConversionException(String, Exception)
- Constructor for class org.opennms.protocols.snmp.
SnmpBadConversionException
The exception constructor
SnmpBadConversionException()
- Constructor for class org.opennms.protocols.snmp.
SnmpBadConversionException
The exception constructor
SnmpBadConversionException(Exception)
- Constructor for class org.opennms.protocols.snmp.
SnmpBadConversionException
Constructs a new exception which is based upon a previous exception.
SnmpCounter32
- class org.opennms.protocols.snmp.
SnmpCounter32
.
Defines a SNMPv1 32-bit counter object.
SnmpCounter32()
- Constructor for class org.opennms.protocols.snmp.
SnmpCounter32
Constructs the default counter object.
SnmpCounter32(long)
- Constructor for class org.opennms.protocols.snmp.
SnmpCounter32
Constructs the object with the specified value.
SnmpCounter32(Long)
- Constructor for class org.opennms.protocols.snmp.
SnmpCounter32
Constructs the object with the specified value.
SnmpCounter32(SnmpCounter32)
- Constructor for class org.opennms.protocols.snmp.
SnmpCounter32
Constructs a new object with the same value as the passed object.
SnmpCounter32(SnmpUInt32)
- Constructor for class org.opennms.protocols.snmp.
SnmpCounter32
Constructs a new object with the value constained in the SnmpUInt32 object.
SnmpCounter32(String)
- Constructor for class org.opennms.protocols.snmp.
SnmpCounter32
Simple class constructor that is used to create an initialize the new instance with the unsigned value decoded from the passed String argument.
SnmpCounter64
- class org.opennms.protocols.snmp.
SnmpCounter64
.
This class defines the 64-bit SNMP counter object used to transmit 64-bit unsigned number.
SnmpCounter64()
- Constructor for class org.opennms.protocols.snmp.
SnmpCounter64
Default class constructor.
SnmpCounter64(long)
- Constructor for class org.opennms.protocols.snmp.
SnmpCounter64
Constructs a SnmpCounter64 object with the specified value.
SnmpCounter64(BigInteger)
- Constructor for class org.opennms.protocols.snmp.
SnmpCounter64
Constructs a SnmpCounter64 object with the specified value.
SnmpCounter64(SnmpCounter64)
- Constructor for class org.opennms.protocols.snmp.
SnmpCounter64
Class copy constructor.
SnmpCounter64(String)
- Constructor for class org.opennms.protocols.snmp.
SnmpCounter64
Simple class constructor that is used to create an initialize the new instance with the unsigned value decoded from the passed String argument.
SnmpEndOfMibView
- class org.opennms.protocols.snmp.
SnmpEndOfMibView
.
The SnmpEndOfMibView object is typically returned by an SNMPv2 agent when there is no lexagraphically next object identifier in its tables.
SnmpEndOfMibView()
- Constructor for class org.opennms.protocols.snmp.
SnmpEndOfMibView
The default class construtor.
SnmpEndOfMibView(SnmpEndOfMibView)
- Constructor for class org.opennms.protocols.snmp.
SnmpEndOfMibView
The class copy constructor.
SnmpGauge32
- class org.opennms.protocols.snmp.
SnmpGauge32
.
Defines a SNMPv1 32-bit gauge object.
SnmpGauge32()
- Constructor for class org.opennms.protocols.snmp.
SnmpGauge32
Constructs the default counter object.
SnmpGauge32(long)
- Constructor for class org.opennms.protocols.snmp.
SnmpGauge32
Constructs the object with the specified value.
SnmpGauge32(Long)
- Constructor for class org.opennms.protocols.snmp.
SnmpGauge32
Constructs the object with the specified value.
SnmpGauge32(SnmpGauge32)
- Constructor for class org.opennms.protocols.snmp.
SnmpGauge32
Constructs a new object with the same value as the passed object.
SnmpGauge32(SnmpUInt32)
- Constructor for class org.opennms.protocols.snmp.
SnmpGauge32
Constructs a new object with the value constained in the SnmpUInt32 object.
SnmpGauge32(String)
- Constructor for class org.opennms.protocols.snmp.
SnmpGauge32
Simple class constructor that is used to create an initialize the new instance with the unsigned value decoded from the passed String argument.
SnmpHandler
- interface org.opennms.protocols.snmp.
SnmpHandler
.
The SnmpHandler interface is implemented by an object that wishs to receive callbacks when a SNMP protocol data unit is received from an agent.
SnmpHandlerNotDefinedException
- exception org.opennms.protocols.snmp.
SnmpHandlerNotDefinedException
.
Defines a runtime exception when the program attempts to send a SnmpPduPacket and there is no default handler defined.
SnmpHandlerNotDefinedException(String)
- Constructor for class org.opennms.protocols.snmp.
SnmpHandlerNotDefinedException
The exception constructor
SnmpHandlerNotDefinedException()
- Constructor for class org.opennms.protocols.snmp.
SnmpHandlerNotDefinedException
Default exception constructor
SnmpIPAddress
- class org.opennms.protocols.snmp.
SnmpIPAddress
.
This SnmpIPAddress is used to extend the Snmp Octet String SMI class.
SnmpIPAddress()
- Constructor for class org.opennms.protocols.snmp.
SnmpIPAddress
Constructs a default object with a length of zero.
SnmpIPAddress(byte[])
- Constructor for class org.opennms.protocols.snmp.
SnmpIPAddress
Constructs an Application String with the passed data.
SnmpIPAddress(SnmpIPAddress)
- Constructor for class org.opennms.protocols.snmp.
SnmpIPAddress
Copy constructor.
SnmpIPAddress(SnmpOctetString)
- Constructor for class org.opennms.protocols.snmp.
SnmpIPAddress
Copy constructor based on the base class.
SnmpIPAddress(InetAddress)
- Constructor for class org.opennms.protocols.snmp.
SnmpIPAddress
Constructs a new instance of the class with the IP Address recovered from the passed address object.
SnmpIPAddress(String)
- Constructor for class org.opennms.protocols.snmp.
SnmpIPAddress
Constructs a new instance of the class with the IP address of the evaluated argument.
SnmpInt32
- class org.opennms.protocols.snmp.
SnmpInt32
.
This class defines the SNMP 32-bit signed integer used by the SNMP SMI.
SnmpInt32()
- Constructor for class org.opennms.protocols.snmp.
SnmpInt32
Default constructor.
SnmpInt32(int)
- Constructor for class org.opennms.protocols.snmp.
SnmpInt32
Constructs a SnmpInt32 object with the passed value.
SnmpInt32(Integer)
- Constructor for class org.opennms.protocols.snmp.
SnmpInt32
Constructs a SnmpInt32 object with the specified value.
SnmpInt32(SnmpInt32)
- Constructor for class org.opennms.protocols.snmp.
SnmpInt32
Class copy constructor.
SnmpInt32(String)
- Constructor for class org.opennms.protocols.snmp.
SnmpInt32
Simple class constructor that attempts to parse the passed string into a valid integer value.
SnmpNoSuchInstance
- class org.opennms.protocols.snmp.
SnmpNoSuchInstance
.
The SnmpNoSuchInstance object is typically returned by an SNMPv2 agent when there is no matching object identifier instance in its tables.
SnmpNoSuchInstance()
- Constructor for class org.opennms.protocols.snmp.
SnmpNoSuchInstance
The default class construtor.
SnmpNoSuchInstance(SnmpNoSuchInstance)
- Constructor for class org.opennms.protocols.snmp.
SnmpNoSuchInstance
The class copy constructor.
SnmpNoSuchObject
- class org.opennms.protocols.snmp.
SnmpNoSuchObject
.
The SnmpNoSuchObject object is typically returned by an SNMPv2 agent when there is no matching object identifier for the agent.
SnmpNoSuchObject()
- Constructor for class org.opennms.protocols.snmp.
SnmpNoSuchObject
The default class construtor.
SnmpNoSuchObject(SnmpNoSuchObject)
- Constructor for class org.opennms.protocols.snmp.
SnmpNoSuchObject
The class copy constructor.
SnmpNull
- class org.opennms.protocols.snmp.
SnmpNull
.
Implements the SNMP Null object as defined by the SNMPv1 and SNMPv2 SMI.
SnmpNull()
- Constructor for class org.opennms.protocols.snmp.
SnmpNull
Constructs a default SnmpNull class
SnmpNull(SnmpNull)
- Constructor for class org.opennms.protocols.snmp.
SnmpNull
Copy constructor.
SnmpObjectId
- class org.opennms.protocols.snmp.
SnmpObjectId
.
Defines the SNMP object identifier class for naming variables.
SnmpObjectId()
- Constructor for class org.opennms.protocols.snmp.
SnmpObjectId
Creates a default empty object identifier.
SnmpObjectId(int[])
- Constructor for class org.opennms.protocols.snmp.
SnmpObjectId
Creates an object identifier from the passed array of identifiers.
SnmpObjectId(SnmpObjectId)
- Constructor for class org.opennms.protocols.snmp.
SnmpObjectId
Creates a duplicate object.
SnmpObjectId(String)
- Constructor for class org.opennms.protocols.snmp.
SnmpObjectId
Creates an object identifier from the pased dotted decimal object identifier string.
SnmpOctetString
- class org.opennms.protocols.snmp.
SnmpOctetString
.
Implements the ASN1.UNIVERSAL Octet String datatype.
SnmpOctetString()
- Constructor for class org.opennms.protocols.snmp.
SnmpOctetString
The default class constructor.
SnmpOctetString(byte[])
- Constructor for class org.opennms.protocols.snmp.
SnmpOctetString
Constructs an octet string with the inital value equal to data.
SnmpOctetString(SnmpOctetString)
- Constructor for class org.opennms.protocols.snmp.
SnmpOctetString
Class copy constructor.
SnmpOpaque
- class org.opennms.protocols.snmp.
SnmpOpaque
.
The SnmpOpaque class is an extension of the octet string class and is used to pass opaque data.
SnmpOpaque()
- Constructor for class org.opennms.protocols.snmp.
SnmpOpaque
The default constructor for this class.
SnmpOpaque(byte[])
- Constructor for class org.opennms.protocols.snmp.
SnmpOpaque
Constructs an opaque object with the passed data.
SnmpOpaque(SnmpOpaque)
- Constructor for class org.opennms.protocols.snmp.
SnmpOpaque
Constructs an object that is a duplicate of the passed object.
SnmpOpaque(SnmpOctetString)
- Constructor for class org.opennms.protocols.snmp.
SnmpOpaque
Constructs an object that is a duplicate of the passed object.
SnmpParameters
- class org.opennms.protocols.snmp.
SnmpParameters
.
The SnmpParameters class is used to define the parameters for an SnmpSession.
SnmpParameters()
- Constructor for class org.opennms.protocols.snmp.
SnmpParameters
The default class constructor.
SnmpParameters(SnmpParameters)
- Constructor for class org.opennms.protocols.snmp.
SnmpParameters
Constructs a copy of the parameters defined in the object second.
SnmpParameters(int)
- Constructor for class org.opennms.protocols.snmp.
SnmpParameters
Constructs a default object with the specified SNMP protocol version.
SnmpParameters(String)
- Constructor for class org.opennms.protocols.snmp.
SnmpParameters
Constructs a default object with the specified read-only community string.
SnmpParameters(String, String)
- Constructor for class org.opennms.protocols.snmp.
SnmpParameters
Constructs an object with the specified read-only and write-only community strings.
SnmpPduBulk
- class org.opennms.protocols.snmp.
SnmpPduBulk
.
This class defines the SNMPv2 GetBulk request sent from the management platform to the agent.
SnmpPduBulk()
- Constructor for class org.opennms.protocols.snmp.
SnmpPduBulk
Constructs a default get bulk request.
SnmpPduBulk(SnmpPduBulk)
- Constructor for class org.opennms.protocols.snmp.
SnmpPduBulk
Constructs a duplicate get bulk request that is an identical copy of the passed object.
SnmpPduBulk(int, int, SnmpVarBind[])
- Constructor for class org.opennms.protocols.snmp.
SnmpPduBulk
Constructs a get bulk request with the specified variables, non-repeaters, and maximum repititions.
SnmpPduEncodingException
- exception org.opennms.protocols.snmp.
SnmpPduEncodingException
.
This class is thrown by the SNMP classes when an encoding exception occurs at the SNMP level and not via the AsnEncoder class.
SnmpPduEncodingException()
- Constructor for class org.opennms.protocols.snmp.
SnmpPduEncodingException
The default exception constructor
SnmpPduEncodingException(String)
- Constructor for class org.opennms.protocols.snmp.
SnmpPduEncodingException
The exception constructor
SnmpPduPacket
- class org.opennms.protocols.snmp.
SnmpPduPacket
.
Base class for all Protocol Data Unit (PDU) implementations.
SnmpPduPacket()
- Constructor for class org.opennms.protocols.snmp.
SnmpPduPacket
Default class constructor.
SnmpPduPacket(SnmpPduPacket)
- Constructor for class org.opennms.protocols.snmp.
SnmpPduPacket
Class copy constructor.
SnmpPduPacket(int)
- Constructor for class org.opennms.protocols.snmp.
SnmpPduPacket
creates a new pdu with the command set to the passed value.
SnmpPduPacket(int, SnmpVarBind[])
- Constructor for class org.opennms.protocols.snmp.
SnmpPduPacket
Creates a new pdu with the spcified command and the list of variables.
SnmpPduRequest
- class org.opennms.protocols.snmp.
SnmpPduRequest
.
The SnmpPduRequest defines the SNMPv1 and SNMPv2 Protocol Data Unit (PDU) for certian message types.
SnmpPduRequest()
- Constructor for class org.opennms.protocols.snmp.
SnmpPduRequest
Default class constructor.
SnmpPduRequest(SnmpPduRequest)
- Constructor for class org.opennms.protocols.snmp.
SnmpPduRequest
Class copy constructor.
SnmpPduRequest(int)
- Constructor for class org.opennms.protocols.snmp.
SnmpPduRequest
Constructs a new PDU Request with the specified command.
SnmpPduRequest(int, SnmpVarBind[])
- Constructor for class org.opennms.protocols.snmp.
SnmpPduRequest
Constructs the PDU with the specified command and the passed variables.
SnmpPduTrap
- class org.opennms.protocols.snmp.
SnmpPduTrap
.
The SnmpPduTrap object represents the SNMP Protoco Data Unit for an SNMP Trap.
SnmpPduTrap()
- Constructor for class org.opennms.protocols.snmp.
SnmpPduTrap
Constructs a new SnmpPduTrap with the default values.
SnmpPduTrap(SnmpPduTrap)
- Constructor for class org.opennms.protocols.snmp.
SnmpPduTrap
Constructs a new trap pdu that is identical to the passed pdu.
SnmpPeer
- class org.opennms.protocols.snmp.
SnmpPeer
.
The peer object defines a SNMP peer agent that is communicated with.
SnmpPeer(InetAddress)
- Constructor for class org.opennms.protocols.snmp.
SnmpPeer
Class constructor.
SnmpPeer(InetAddress, int)
- Constructor for class org.opennms.protocols.snmp.
SnmpPeer
Class constructor.
SnmpPeer(SnmpPeer)
- Constructor for class org.opennms.protocols.snmp.
SnmpPeer
Class copy constructor.
SnmpPortal
- class org.opennms.protocols.snmp.
SnmpPortal
.
Abstracts the communication related details from the SnmpSession and SnmpTrapSession.
SnmpSMI
- class org.opennms.protocols.snmp.
SnmpSMI
.
SNMP SMI v1 & v2 constants.
SnmpSMI()
- Constructor for class org.opennms.protocols.snmp.
SnmpSMI
SnmpSession
- class org.opennms.protocols.snmp.
SnmpSession
.
The SnmpSession is the main connection between the SNMP manager and the SNMP Agent.
SnmpSession(InetAddress)
- Constructor for class org.opennms.protocols.snmp.
SnmpSession
The default SnmpSession constructor.
SnmpSession(SnmpPeer)
- Constructor for class org.opennms.protocols.snmp.
SnmpSession
Constructs the SnmpSession with the specific SnmpPeer.
SnmpSession(InetAddress, SnmpParameters)
- Constructor for class org.opennms.protocols.snmp.
SnmpSession
Constructs the SnmpSession with the specific parameters.
SnmpSyntax
- interface org.opennms.protocols.snmp.
SnmpSyntax
.
This class defines the interface that must be implemented by all object that can be passed or received to/from a SNMP agent and manager.
SnmpTimeTicks
- class org.opennms.protocols.snmp.
SnmpTimeTicks
.
Defines a SNMPv1 32-bit time ticks object.
SnmpTimeTicks()
- Constructor for class org.opennms.protocols.snmp.
SnmpTimeTicks
Constructs the default counter object.
SnmpTimeTicks(long)
- Constructor for class org.opennms.protocols.snmp.
SnmpTimeTicks
Constructs the object with the specified value.
SnmpTimeTicks(Long)
- Constructor for class org.opennms.protocols.snmp.
SnmpTimeTicks
Constructs the object with the specified value.
SnmpTimeTicks(SnmpTimeTicks)
- Constructor for class org.opennms.protocols.snmp.
SnmpTimeTicks
Constructs a new object with the same value as the passed object.
SnmpTimeTicks(SnmpUInt32)
- Constructor for class org.opennms.protocols.snmp.
SnmpTimeTicks
Constructs a new object with the value constained in the SnmpUInt32 object.
SnmpTimeTicks(String)
- Constructor for class org.opennms.protocols.snmp.
SnmpTimeTicks
Simple class constructor that is used to create an initialize the new instance with the unsigned value decoded from the passed String argument.
SnmpTrapHandler
- interface org.opennms.protocols.snmp.
SnmpTrapHandler
.
The SnmpTrapHandler interface is implemented by an object that wishs to receive callbacks when a SNMP trap protocol data unit is received from an agent.
SnmpTrapSession
- class org.opennms.protocols.snmp.
SnmpTrapSession
.
The trap session is used to send and receives SNMPv1 & v2 trap messages.
SnmpTrapSession(SnmpTrapHandler)
- Constructor for class org.opennms.protocols.snmp.
SnmpTrapSession
The default SnmpTrapSession constructor.
SnmpTrapSession(SnmpTrapHandler, int)
- Constructor for class org.opennms.protocols.snmp.
SnmpTrapSession
The default SnmpTrapSession constructor that takes a packet handler as parameter.
SnmpUInt32
- class org.opennms.protocols.snmp.
SnmpUInt32
.
This class defines the 32-bit unsigned SNMP object used to transmit 32-bit unsigned number.
SnmpUInt32()
- Constructor for class org.opennms.protocols.snmp.
SnmpUInt32
Default class constructor.
SnmpUInt32(long)
- Constructor for class org.opennms.protocols.snmp.
SnmpUInt32
Constructs a SnmpUInt32 object with the specified value.
SnmpUInt32(Long)
- Constructor for class org.opennms.protocols.snmp.
SnmpUInt32
Constructs a SnmpUInt32 object with the specified value.
SnmpUInt32(SnmpUInt32)
- Constructor for class org.opennms.protocols.snmp.
SnmpUInt32
Class copy constructor.
SnmpUInt32(String)
- Constructor for class org.opennms.protocols.snmp.
SnmpUInt32
Simple class constructor that recovers the unsigned value from the passed string.
SnmpV2Error
- class org.opennms.protocols.snmp.
SnmpV2Error
.
This class provides the base class for the SNMP V2 error class.
SnmpV2Error()
- Constructor for class org.opennms.protocols.snmp.
SnmpV2Error
Default constructor.
SnmpV2Error(SnmpV2Error)
- Constructor for class org.opennms.protocols.snmp.
SnmpV2Error
Copy constructor.
SnmpV2PartyClock
- class org.opennms.protocols.snmp.
SnmpV2PartyClock
.
Deprecated.
Obsoleted in RFC 1902.
SnmpV2PartyClock()
- Constructor for class org.opennms.protocols.snmp.
SnmpV2PartyClock
Deprecated.
The class constructor.
SnmpV2PartyClock(long)
- Constructor for class org.opennms.protocols.snmp.
SnmpV2PartyClock
Deprecated.
Creates a SNMPv2 Party Clock with the specific value.
SnmpV2PartyClock(Long)
- Constructor for class org.opennms.protocols.snmp.
SnmpV2PartyClock
Deprecated.
Creates a SNMPv2 Party Clock with the specific value.
SnmpV2PartyClock(SnmpV2PartyClock)
- Constructor for class org.opennms.protocols.snmp.
SnmpV2PartyClock
Deprecated.
Class copy constructor.
SnmpV2PartyClock(SnmpUInt32)
- Constructor for class org.opennms.protocols.snmp.
SnmpV2PartyClock
Deprecated.
Constructs a SNMPv2 Party Clock with the specified value.
SnmpVarBind
- class org.opennms.protocols.snmp.
SnmpVarBind
.
This class defined the SNMP variables that are transmitted to and from an agent.
SnmpVarBind()
- Constructor for class org.opennms.protocols.snmp.
SnmpVarBind
The default class constructor.
SnmpVarBind(SnmpObjectId)
- Constructor for class org.opennms.protocols.snmp.
SnmpVarBind
Constructs a specific variable with the "name" equal to the passed object identifier.
SnmpVarBind(SnmpObjectId, SnmpSyntax)
- Constructor for class org.opennms.protocols.snmp.
SnmpVarBind
Constructs a variable with the passed name and value.
SnmpVarBind(String)
- Constructor for class org.opennms.protocols.snmp.
SnmpVarBind
Constructs a new variable with the give name.
SnmpVarBind(String, SnmpSyntax)
- Constructor for class org.opennms.protocols.snmp.
SnmpVarBind
Constructs a new variable with the passed name and value.
SnmpVarBind(SnmpVarBind)
- Constructor for class org.opennms.protocols.snmp.
SnmpVarBind
Class copy constructor.
send(SnmpPduPacket, SnmpHandler)
- Method in class org.opennms.protocols.snmp.
SnmpSession
Send the SNMP PDU to the remote agent and invokes the specified handler when the packet is recieve.
send(SnmpPduPacket)
- Method in class org.opennms.protocols.snmp.
SnmpSession
Sends the SNMP PDU to the remote agent and uses the default SnmpHandler to process the request.
send(SnmpPduTrap, SnmpHandler)
- Method in class org.opennms.protocols.snmp.
SnmpSession
Send the SNMP PDU Trap to the remote agent.
send(SnmpPduTrap)
- Method in class org.opennms.protocols.snmp.
SnmpSession
Sends the SNMP PDU Trap to the remote agent.
send(SnmpPeer, SnmpPduTrap)
- Method in class org.opennms.protocols.snmp.
SnmpTrapSession
Transmits the specified SnmpPduTrap to the SnmpPeer defined The SnmpPduTrap is encoded using the peer AsnEncoder, as defined by the SnmpParameters.
send(SnmpPeer, SnmpPduPacket)
- Method in class org.opennms.protocols.snmp.
SnmpTrapSession
Transmits the specified SnmpRequest to the SnmpPeer defined.
setAgentAddress(SnmpIPAddress)
- Method in class org.opennms.protocols.snmp.
SnmpPduTrap
Sets the remote agent's IP address.
setAsnEncoder(AsnEncoder)
- Method in class org.opennms.protocols.snmp.
SnmpSession
Sets the default encoder.
setAsnEncoder(AsnEncoder)
- Method in class org.opennms.protocols.snmp.
SnmpTrapSession
Sets the default encoder.
setCommand(int)
- Method in class org.opennms.protocols.snmp.
SnmpPduPacket
Sets the PDU's current command
setDefaultHandler(SnmpHandler)
- Method in class org.opennms.protocols.snmp.
SnmpSession
Sets the default SnmpHandler.
setEncoder(AsnEncoder)
- Method in class org.opennms.protocols.snmp.
SnmpParameters
Sets the ASN.1 encoder.
setEnterprise(SnmpObjectId)
- Method in class org.opennms.protocols.snmp.
SnmpPduTrap
Sets the enterprise identifier for the trap.
setEnterprise(String)
- Method in class org.opennms.protocols.snmp.
SnmpPduTrap
Sets the enterprise identifier for the trap.
setErrorIndex(int)
- Method in class org.opennms.protocols.snmp.
SnmpPduRequest
Sets the current error index in the PDU.
setErrorStatus(int)
- Method in class org.opennms.protocols.snmp.
SnmpPduRequest
Used to set the value of the error status member.
setGeneric(int)
- Method in class org.opennms.protocols.snmp.
SnmpPduTrap
Sets the generic code for the trap.
setHandler(SnmpTrapHandler)
- Method in class org.opennms.protocols.snmp.
SnmpTrapSession
Sets the trap handler for the session.
setIdentifiers(int[])
- Method in class org.opennms.protocols.snmp.
SnmpObjectId
Sets the object to the passed object identifier
setIdentifiers(String)
- Method in class org.opennms.protocols.snmp.
SnmpObjectId
Sets the object to the passed dotted decimal object identifier string.
setMaxRepititions(int)
- Method in class org.opennms.protocols.snmp.
SnmpPduBulk
Used to set the number of maximum repititions to be collected by the PDU.
setName(SnmpObjectId)
- Method in class org.opennms.protocols.snmp.
SnmpVarBind
Sets the variable's object identifier name.
setName(String)
- Method in class org.opennms.protocols.snmp.
SnmpVarBind
Sets the variable's name to passed value.
setNonRepeaters(int)
- Method in class org.opennms.protocols.snmp.
SnmpPduBulk
Sets the number of non-repeating elements in this PDU.
setParameters(SnmpParameters)
- Method in class org.opennms.protocols.snmp.
SnmpPeer
Used to set the current parameters for the SnmpPeer object.
setPeer(SnmpPeer)
- Method in class org.opennms.protocols.snmp.
SnmpPduPacket
Sets the Peer for the Packet
setPeer(InetAddress)
- Method in class org.opennms.protocols.snmp.
SnmpPeer
Used to set the peer's internet address for the remote agent.
setPeer(InetAddress, int)
- Method in class org.opennms.protocols.snmp.
SnmpPeer
Used to set the peer's internet address and port for communications.
setPeer(SnmpPeer)
- Method in class org.opennms.protocols.snmp.
SnmpSession
Sets the passed SnmpPeer object to the one used for all new SNMP communications.
setPort(int)
- Method in class org.opennms.protocols.snmp.
SnmpPeer
Used to set the remote communication port
setReadCommunity(String)
- Method in class org.opennms.protocols.snmp.
SnmpParameters
Used to set the parameters read community string.
setRequestId(int)
- Method in class org.opennms.protocols.snmp.
SnmpPduPacket
Sets the protocol data unit's sequence identifer
setRetries(int)
- Method in class org.opennms.protocols.snmp.
SnmpPeer
Used to set the default number of retries for this peer agent.
setServerPort(int)
- Method in class org.opennms.protocols.snmp.
SnmpPeer
Used to set the local communication port
setSpecific(int)
- Method in class org.opennms.protocols.snmp.
SnmpPduTrap
Sets the specific type for the trap.
setString(byte[])
- Method in class org.opennms.protocols.snmp.
SnmpIPAddress
Sets the internal string array so that it is identical to the passed array.
setString(String)
- Method in class org.opennms.protocols.snmp.
SnmpIPAddress
Sets the internal octet string equal to the converted stirng via the method getBytes().
setString(byte[])
- Method in class org.opennms.protocols.snmp.
SnmpOctetString
Sets the internal string array so that it is identical to the passed array.
setString(String)
- Method in class org.opennms.protocols.snmp.
SnmpOctetString
Sets the internal octet string equal to the converted stirng via the method getBytes().
setTimeStamp(long)
- Method in class org.opennms.protocols.snmp.
SnmpPduTrap
Set's the timeticks in the trap.
setTimeout(int)
- Method in class org.opennms.protocols.snmp.
SnmpPeer
Sets the millisecond timeout for the communications with the remote agent.
setValue(BigInteger)
- Method in class org.opennms.protocols.snmp.
SnmpCounter64
Used to set the 64-bit unsigned quantity.
setValue(int)
- Method in class org.opennms.protocols.snmp.
SnmpInt32
Used to set the 32-bit signed quantity
setValue(Integer)
- Method in class org.opennms.protocols.snmp.
SnmpInt32
Used to set the 32-bit signed quantity
setValue(long)
- Method in class org.opennms.protocols.snmp.
SnmpUInt32
Used to set the 32-bit unsigned quantity.
setValue(Long)
- Method in class org.opennms.protocols.snmp.
SnmpUInt32
Used to set the 32-bit unsigned quantity.
setValue(SnmpSyntax)
- Method in class org.opennms.protocols.snmp.
SnmpVarBind
Sets the value for the variable
setVarBindAt(int, SnmpVarBind)
- Method in class org.opennms.protocols.snmp.
SnmpPduPacket
Sets the specific variable at the requested location.
setVarBindAt(int, SnmpVarBind)
- Method in class org.opennms.protocols.snmp.
SnmpPduTrap
Sets the specific variable at the requested location.
setVersion(int)
- Method in class org.opennms.protocols.snmp.
SnmpParameters
Use to set the SNMP protocol version.
setWriteCommunity(String)
- Method in class org.opennms.protocols.snmp.
SnmpParameters
Used to set the parameters write community string.
snmpInternalError(SnmpSession, int, SnmpSyntax)
- Method in interface org.opennms.protocols.snmp.
SnmpHandler
This method is invoked when an internal error occurs for the session.
snmpReceivedPdu(SnmpSession, int, SnmpPduPacket)
- Method in interface org.opennms.protocols.snmp.
SnmpHandler
This method is invoked when a pdu is successfully returned from the peer agent.
snmpReceivedTrap(SnmpTrapSession, InetAddress, int, SnmpOctetString, SnmpPduPacket)
- Method in interface org.opennms.protocols.snmp.
SnmpTrapHandler
This method is defined to handle SNMPv2 traps that are received by the session.
snmpReceivedTrap(SnmpTrapSession, InetAddress, int, SnmpOctetString, SnmpPduTrap)
- Method in interface org.opennms.protocols.snmp.
SnmpTrapHandler
This method is define to handle SNMPv1 traps that are received by the session.
snmpTimeoutError(SnmpSession, SnmpSyntax)
- Method in interface org.opennms.protocols.snmp.
SnmpHandler
This method is invoked when an agent fails to respond in the required time.
snmpTrapSessionError(SnmpTrapSession, int, Object)
- Method in interface org.opennms.protocols.snmp.
SnmpTrapHandler
This method is invoked if an error occurs in the trap session.
T
TRAP
- Static variable in class org.opennms.protocols.snmp.
SnmpPduTrap
The ASN.1 type for the SNMPv1 Trap.
toString()
- Method in class org.opennms.protocols.snmp.
SnmpCounter64
Returns the string representation of the object.
toString()
- Method in class org.opennms.protocols.snmp.
SnmpEndOfMibView
Returns the string representation of the object.
toString()
- Method in class org.opennms.protocols.snmp.
SnmpIPAddress
Returns the application string as a IPv4 dotted decimal address
toString()
- Method in class org.opennms.protocols.snmp.
SnmpInt32
Returns the string representation of the object.
toString()
- Method in class org.opennms.protocols.snmp.
SnmpNoSuchInstance
Returns the string representation of the object.
toString()
- Method in class org.opennms.protocols.snmp.
SnmpNoSuchObject
Returns the string representation of the object.
toString()
- Method in class org.opennms.protocols.snmp.
SnmpNull
Returns a string representation of the SNMP Null object
toString()
- Method in class org.opennms.protocols.snmp.
SnmpObjectId
Converts the object identifier to a dotted decimal string representation.
toString()
- Method in class org.opennms.protocols.snmp.
SnmpOctetString
Returns a string representation of the object.
toString()
- Method in class org.opennms.protocols.snmp.
SnmpOpaque
Returns a string representation of the object.
toString()
- Method in class org.opennms.protocols.snmp.
SnmpTimeTicks
Returns the string representation of the object.
toString()
- Method in class org.opennms.protocols.snmp.
SnmpUInt32
Returns the string representation of the object.
toString()
- Method in class org.opennms.protocols.snmp.
SnmpV2PartyClock
Deprecated.
Returns the string representation of the object.
toString()
- Method in class org.opennms.protocols.snmp.
SnmpVarBind
Converts the object to a string representation
toVarBindArray()
- Method in class org.opennms.protocols.snmp.
SnmpPduPacket
Returns a list of all the variables managed by this protocol data unit.
toVarBindArray()
- Method in class org.opennms.protocols.snmp.
SnmpPduTrap
Returns a list of all the variables managed by this protocol data unit.
typeId()
- Method in class org.opennms.protocols.snmp.
SnmpCounter32
Returns the ASN.1 type specific to this object.
typeId()
- Method in class org.opennms.protocols.snmp.
SnmpCounter64
Used to retreive the ASN.1 type for this object.
typeId()
- Method in class org.opennms.protocols.snmp.
SnmpEndOfMibView
Returns the ASN.1 type for this particular object.
typeId()
- Method in class org.opennms.protocols.snmp.
SnmpGauge32
Returns the ASN.1 type specific to this object.
typeId()
- Method in class org.opennms.protocols.snmp.
SnmpIPAddress
Returns the ASN.1 type for this object.
typeId()
- Method in class org.opennms.protocols.snmp.
SnmpInt32
Used to retreive the ASN.1 type for this object.
typeId()
- Method in class org.opennms.protocols.snmp.
SnmpNoSuchInstance
Returns the ASN.1 type for this particular object.
typeId()
- Method in class org.opennms.protocols.snmp.
SnmpNoSuchObject
Returns the ASN.1 type for this particular object.
typeId()
- Method in class org.opennms.protocols.snmp.
SnmpNull
Used to retreive the ASN.1 type for this object.
typeId()
- Method in class org.opennms.protocols.snmp.
SnmpObjectId
Used to get the ASN.1 type for this particular object.
typeId()
- Method in class org.opennms.protocols.snmp.
SnmpOctetString
Returns the ASN.1 type identifier for the Octet String.
typeId()
- Method in class org.opennms.protocols.snmp.
SnmpOpaque
Returns the defined ASN.1 type identifier.
typeId()
- Method in class org.opennms.protocols.snmp.
SnmpPduPacket
Returns the PDU commmand in an 8-bit format
typeId()
- Method in class org.opennms.protocols.snmp.
SnmpPduTrap
Returns the PDU commmand in an 8-bit format
typeId()
- Method in interface org.opennms.protocols.snmp.
SnmpSyntax
Returns the ASN.1 type of the implementor object.
typeId()
- Method in class org.opennms.protocols.snmp.
SnmpTimeTicks
Returns the ASN.1 type specific to this object.
typeId()
- Method in class org.opennms.protocols.snmp.
SnmpUInt32
Used to retreive the ASN.1 type for this object.
typeId()
- Method in class org.opennms.protocols.snmp.
SnmpV2Error
Returns the ASN.1 type identifier for the SNMPv2 error.
typeId()
- Method in class org.opennms.protocols.snmp.
SnmpV2PartyClock
Deprecated.
Used to retreive the ASN.1 value for this object.
typeId()
- Method in class org.opennms.protocols.snmp.
SnmpVarBind
Returns the ASN.1 type id for the object.
V
V2TRAP
- Static variable in class org.opennms.protocols.snmp.
SnmpPduPacket
Defines a SNMPv2 Trap message
A
C
D
E
F
G
H
I
M
N
O
P
R
S
T
V
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes