Uses of Class
org.snmp4j.asn1.BERInputStream
-
Packages that use BERInputStream Package Description org.snmp4j Provides classes and interfaces for creating, sending, and receiving SNMP messages.org.snmp4j.asn1 Provides classes and interfaces for the mapping between Abstract Syntax Notation One (ASN.1) formatted values and their transfer syntax according to the Basic Encoding Rules (BER).org.snmp4j.event Provides classes and interfaces for SNMP4J event processing.org.snmp4j.mp Provides classes and interfaces for the SNMP message processing.org.snmp4j.security Provides classes and interfaces for authentication and privacy of SNMP(v3) messages.org.snmp4j.smi Provides classes for the representation of SMIv1/v2 data types (which also includes some basic ASN.1 primitive data types). -
-
Uses of BERInputStream in org.snmp4j
Methods in org.snmp4j with parameters of type BERInputStream Modifier and Type Method Description voidPDU. decodeBER(BERInputStream inputStream)voidPDUv1. decodeBER(BERInputStream inputStream)Decodes aVariablefrom anBERInputStream.voidScopedPDU. decodeBER(BERInputStream inputStream)Decodes aScopedPDUfrom anInputStream.static java.util.ArrayList<VariableBinding>PDU. decodeVariableBindings(BERInputStream inputStream)protected <A extends Address>
voidMessageDispatcherImpl. dispatchMessage(TransportMapping<? super A> sourceTransport, MessageProcessingModel mp, A incomingAddress, BERInputStream wholeMessage, TransportStateReference tmStateReference)Actually decodes and dispatches an incoming SNMP message using the supplied message processing model.<A extends Address>
voidMessageDispatcherImpl. processMessage(TransportMapping<? super A> sourceTransport, A incomingAddress, BERInputStream wholeMessage, TransportStateReference tmStateReference) -
Uses of BERInputStream in org.snmp4j.asn1
Methods in org.snmp4j.asn1 with parameters of type BERInputStream Modifier and Type Method Description voidBERSerializable. decodeBER(BERInputStream inputStream)Decodes aVariablefrom anInputStream.static java.math.BigIntegerBER. decodeBigInteger(BERInputStream is, BER.MutableByte type)static intBER. decodeHeader(BERInputStream is, BER.MutableByte type)Decodes an ASN.1 header for an object with the ID and length specified.static intBER. decodeHeader(BERInputStream is, BER.MutableByte type, boolean checkLength)Decodes an ASN.1 header for an object with the ID and length specified.static intBER. decodeInteger(BERInputStream is, BER.MutableByte type)static intBER. decodeLength(BERInputStream is)Decodes a ASN.1 length.static intBER. decodeLength(BERInputStream is, boolean checkLength)Decodes a ASN.1 length.static voidBER. decodeNull(BERInputStream is, BER.MutableByte type)static int[]BER. decodeOID(BERInputStream is, BER.MutableByte type)static byte[]BER. decodeString(BERInputStream is, BER.MutableByte type)static longBER. decodeUnsignedInt64(BERInputStream is, BER.MutableByte type)static longBER. decodeUnsignedInteger(BERInputStream is, BER.MutableByte type)static java.lang.StringBER. getPositionMessage(BERInputStream is) -
Uses of BERInputStream in org.snmp4j.event
Methods in org.snmp4j.event that return BERInputStream Modifier and Type Method Description BERInputStreamAuthenticationFailureEvent. getMessage()Returns the message received.Constructors in org.snmp4j.event with parameters of type BERInputStream Constructor Description AuthenticationFailureEvent(TransportListener source, A sourceAddress, TransportMapping<? super A> transport, int error, BERInputStream message)Creates an authentication failure event. -
Uses of BERInputStream in org.snmp4j.mp
Methods in org.snmp4j.mp with parameters of type BERInputStream Modifier and Type Method Description voidMPv3.HeaderData. decodeBER(BERInputStream message)<A extends Address>
intMessageProcessingModel. prepareDataElements(MessageDispatcher messageDispatcher, A transportAddress, BERInputStream wholeMsg, TransportStateReference tmStateReference, Integer32 messageProcessingModel, Integer32 securityModel, OctetString securityName, Integer32 securityLevel, MutablePDU pdu, PduHandle sendPduHandle, Integer32 maxSizeResponseScopedPDU, StatusInformation statusInformation, MutableStateReference<A> mutableStateReference)Prepare data elements from an incoming SNMP message as described in RFC3412 ยง7.2.<A extends Address>
intMPv1. prepareDataElements(MessageDispatcher messageDispatcher, A transportAddress, BERInputStream wholeMsg, TransportStateReference tmStateReference, Integer32 messageProcessingModel, Integer32 securityModel, OctetString securityName, Integer32 securityLevel, MutablePDU pdu, PduHandle sendPduHandle, Integer32 maxSizeResponseScopedPDU, StatusInformation statusInformation, MutableStateReference<A> mutableStateReference)<A extends Address>
intMPv2c. prepareDataElements(MessageDispatcher messageDispatcher, A transportAddress, BERInputStream wholeMsg, TransportStateReference tmStateReference, Integer32 messageProcessingModel, Integer32 securityModel, OctetString securityName, Integer32 securityLevel, MutablePDU pdu, PduHandle sendPduHandle, Integer32 maxSizeResponseScopedPDU, StatusInformation statusInformation, MutableStateReference<A> mutableStateReference)<A extends Address>
intMPv3. prepareDataElements(MessageDispatcher messageDispatcher, A transportAddress, BERInputStream wholeMsg, TransportStateReference tmStateReference, Integer32 messageProcessingModel, Integer32 securityModel, OctetString securityName, Integer32 securityLevel, MutablePDU pdu, PduHandle sendPduHandle, Integer32 maxSizeResponseScopedPDU, StatusInformation statusInformation, MutableStateReference<A> mutableStateReference) -
Uses of BERInputStream in org.snmp4j.security
Methods in org.snmp4j.security with parameters of type BERInputStream Modifier and Type Method Description protected static byte[]SNMPv3SecurityModel. buildMessageBuffer(BERInputStream scopedPDU)voidTsmSecurityParameters. decodeBER(BERInputStream inputStream)voidUsmSecurityParameters. decodeBER(BERInputStream inputStream)intSecurityModel. generateRequestMessage(int messageProcessingModel, byte[] globalData, int maxMessageSize, int securityModel, byte[] securityEngineID, byte[] securityName, int securityLevel, BERInputStream scopedPDU, SecurityParameters securityParameters, BEROutputStream wholeMsg, TransportStateReference tmStateReference, SecurityStateReference securityStateReference)Generate a request message.intTSM. generateRequestMessage(int messageProcessingModel, byte[] globalData, int maxMessageSize, int securityModel, byte[] securityEngineID, byte[] securityName, int securityLevel, BERInputStream scopedPDU, SecurityParameters securityParameters, BEROutputStream wholeMsg, TransportStateReference tmStateReference, SecurityStateReference securityStateReference)intUSM. generateRequestMessage(int snmpVersion, byte[] globalData, int maxMessageSize, int securityModel, byte[] securityEngineID, byte[] securityName, int securityLevel, BERInputStream scopedPDU, SecurityParameters securityParameters, BEROutputStream wholeMsg, TransportStateReference tmStateReference, SecurityStateReference securityStateReference)intSecurityModel. generateResponseMessage(int messageProcessingModel, byte[] globalData, int maxMessageSize, int securityModel, byte[] securityEngineID, byte[] securityName, int securityLevel, BERInputStream scopedPDU, SecurityStateReference securityStateReference, SecurityParameters securityParameters, BEROutputStream wholeMsg)Generates a response message.intTSM. generateResponseMessage(int messageProcessingModel, byte[] globalData, int maxMessageSize, int securityModel, byte[] securityEngineID, byte[] securityName, int securityLevel, BERInputStream scopedPDU, SecurityStateReference securityStateReference, SecurityParameters securityParameters, BEROutputStream wholeMsg)intUSM. generateResponseMessage(int snmpVersion, byte[] globalData, int maxMessageSize, int securityModel, byte[] securityEngineID, byte[] securityName, int securityLevel, BERInputStream scopedPDU, SecurityStateReference securityStateReference, SecurityParameters securityParameters, BEROutputStream wholeMsg)intSecurityModel. processIncomingMsg(int messageProcessingModel, int maxMessageSize, SecurityParameters securityParameters, SecurityModel securityModel, int securityLevel, BERInputStream wholeMsg, TransportStateReference tmStateReference, OctetString securityEngineID, OctetString securityName, BEROutputStream scopedPDU, Integer32 maxSizeResponseScopedPDU, SecurityStateReference securityStateReference, StatusInformation statusInfo)Processes an incoming message and returns its plaintext payload.intTSM. processIncomingMsg(int messageProcessingModel, int maxMessageSize, SecurityParameters securityParameters, SecurityModel securityModel, int securityLevel, BERInputStream wholeMsg, TransportStateReference tmStateReference, OctetString securityEngineID, OctetString securityName, BEROutputStream scopedPDU, Integer32 maxSizeResponseScopedPDU, SecurityStateReference securityStateReference, StatusInformation statusInfo)intUSM. processIncomingMsg(int snmpVersion, int maxMessageSize, SecurityParameters securityParameters, SecurityModel securityModel, int securityLevel, BERInputStream wholeMsg, TransportStateReference tmStateReference, OctetString securityEngineID, OctetString securityName, BEROutputStream scopedPDU, Integer32 maxSizeResponseScopedPDU, SecurityStateReference securityStateReference, StatusInformation statusInfo) -
Uses of BERInputStream in org.snmp4j.smi
Methods in org.snmp4j.smi with parameters of type BERInputStream Modifier and Type Method Description static VariableAbstractVariable. createFromBER(BERInputStream inputStream)Creates aVariablefrom a BER encodedBERInputStream.abstract voidAbstractVariable. decodeBER(BERInputStream inputStream)Decodes aVariablefrom anBERInputStream.voidBitString. decodeBER(BERInputStream inputStream)voidCounter32. decodeBER(BERInputStream inputStream)voidCounter64. decodeBER(BERInputStream inputStream)voidGenericAddress. decodeBER(BERInputStream inputStream)voidInteger32. decodeBER(BERInputStream inputStream)voidIpAddress. decodeBER(BERInputStream inputStream)voidNull. decodeBER(BERInputStream inputStream)voidOctetString. decodeBER(BERInputStream inputStream)voidOID. decodeBER(BERInputStream inputStream)voidOpaque. decodeBER(BERInputStream inputStream)voidTimeTicks. decodeBER(BERInputStream inputStream)voidTransportIpAddress. decodeBER(BERInputStream inputStream)voidUnsignedInteger32. decodeBER(BERInputStream inputStream)voidVariableBinding. decodeBER(BERInputStream inputStream)voidVariantVariable. decodeBER(BERInputStream inputStream)
-