Uses of Class
org.snmp4j.TransportStateReference
Packages that use TransportStateReference
Package
Description
Provides classes and interfaces for creating, sending, and receiving SNMP
messages.
Provides classes and interfaces for the SNMP message processing.
Provides classes and interfaces for authentication and privacy of SNMP(v3)
messages.
Provides transport protocol mappings for SNMP.
Contains table retrieval utilities and multi-threading support classes as
well as miscellaneous utility classes.
-
Uses of TransportStateReference in org.snmp4j
Fields in org.snmp4j declared as TransportStateReferenceModifier and TypeFieldDescriptionprivate TransportStateReferenceCommandResponderEvent.tmStateReferenceMethods in org.snmp4j that return TransportStateReferenceModifier and TypeMethodDescriptionCommandResponderEvent.getTmStateReference()Gets the transport model state reference as defined by RFC 5590.Methods in org.snmp4j with parameters of type TransportStateReferenceModifier and TypeMethodDescriptionprotected <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.static booleanTransportStateReference.hasCertifiedIdentity(TransportStateReference transportStateReference) Check if the givenTransportStateReferencehasCertifiedIdentityinformation.<A extends Address>
voidMessageDispatcher.processMessage(TransportMapping<? super A> sourceTransport, A incomingAddress, ByteBuffer wholeMessage, TransportStateReference tmStateReference) Process an incoming SNMP message.<A extends Address>
voidMessageDispatcherImpl.processMessage(TransportMapping<? super A> sourceTransport, A incomingAddress, ByteBuffer wholeMessage, TransportStateReference tmStateReference) <A extends Address>
voidMessageDispatcherImpl.processMessage(TransportMapping<? super A> sourceTransport, A incomingAddress, BERInputStream wholeMessage, TransportStateReference tmStateReference) protected <A extends Address>
voidMessageDispatcherImpl.sendMessage(TransportMapping<? super A> transport, A destAddress, byte[] message, TransportStateReference tmStateReference, long timeoutMillis, int maxRetries) Sends a message using theTransportMappingthat has been assigned for the supplied address type.voidTransportMapping.sendMessage(A address, byte[] message, TransportStateReference tmStateReference, long timeoutMillis, int maxRetries) Sends a message to the supplied address using this transport.voidCommandResponderEvent.setTmStateReference(TransportStateReference tmStateReference) Sets the transport model state reference as defined by RFC 5590. -
Uses of TransportStateReference in org.snmp4j.mp
Methods in org.snmp4j.mp with parameters of type TransportStateReferenceModifier and TypeMethodDescription<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) <A extends Address>
intMessageProcessingModel.prepareOutgoingMessage(A transportAddress, int maxMsgSize, int messageProcessingModel, int securityModel, byte[] securityName, int securityLevel, PDU pdu, boolean expectResponse, PduHandle sendPduHandle, BEROutputStream outgoingMessage, TransportStateReference tmStateReference) Prepares an outgoing message as defined in RFC3412 §7.1.<A extends Address>
intMPv1.prepareOutgoingMessage(A transportAddress, int maxMessageSize, int messageProcessingModel, int securityModel, byte[] securityName, int securityLevel, PDU pdu, boolean expectResponse, PduHandle sendPduHandle, BEROutputStream outgoingMessage, TransportStateReference tmStateReference) <A extends Address>
intMPv2c.prepareOutgoingMessage(A transportAddress, int maxMessageSize, int messageProcessingModel, int securityModel, byte[] securityName, int securityLevel, PDU pdu, boolean expectResponse, PduHandle sendPduHandle, BEROutputStream outgoingMessage, TransportStateReference tmStateReference) <A extends Address>
intMPv3.prepareOutgoingMessage(A transportAddress, int maxMessageSize, int messageProcessingModel, int securityModel, byte[] securityName, int securityLevel, PDU pdu, boolean expectResponse, PduHandle sendPduHandle, BEROutputStream outgoingMessage, TransportStateReference tmStateReference) -
Uses of TransportStateReference in org.snmp4j.security
Fields in org.snmp4j.security declared as TransportStateReferenceModifier and TypeFieldDescriptionprivate TransportStateReferenceTsmSecurityStateReference.tmStateReferenceMethods in org.snmp4j.security that return TransportStateReferenceMethods in org.snmp4j.security with parameters of type TransportStateReferenceModifier and TypeMethodDescriptionprivate intTSM.generateMessage(int messageProcessingModel, byte[] globalData, int maxMessageSize, int securityModel, byte[] securityEngineID, byte[] securityName, int securityLevel, BERInputStream scopedPDU, SecurityStateReference securityStateReference, SecurityParameters securityParameters, BEROutputStream wholeMsg, TransportStateReference tmStateReference) 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.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) voidTsmSecurityStateReference.setTmStateReference(TransportStateReference tmStateReference) -
Uses of TransportStateReference in org.snmp4j.tools.console
Methods in org.snmp4j.tools.console with parameters of type TransportStateReferenceModifier and TypeMethodDescription<A extends Address>
voidSnmpCommand.processMessage(TransportMapping<? super A> sourceTransport, A incomingAddress, ByteBuffer wholeMessage, TransportStateReference tmStateReference) <A extends Address>
voidSnmpCommand.SnmpCommandMessageDispatcher.processMessage(TransportMapping<? super A> sourceTransport, A incomingAddress, ByteBuffer wholeMessage, TransportStateReference tmStateReference) protected <A extends Address>
voidSnmpCommand.SnmpCommandMessageDispatcher.sendMessage(TransportMapping<? super A> transport, A destAddress, byte[] message, TransportStateReference tmStateReference, long timeoutMillis, int maxRetries) -
Uses of TransportStateReference in org.snmp4j.transport
Fields in org.snmp4j.transport declared as TransportStateReferenceModifier and TypeFieldDescriptionprivate final TransportStateReferenceDTLSTM.SocketEntry.tmStateReferenceprivate TransportStateReferenceTLSTM.SocketEntry.tmStateReferenceMethods in org.snmp4j.transport with parameters of type TransportStateReferenceModifier and TypeMethodDescriptionvoidDTLSTM.SocketEntry.checkTransportStateReference(TransportStateReference tmStateReference) DTLSTM.DefaultDTLSTMTrustManagerFactory.create(X509TrustManager trustManager, boolean useClientMode, TransportStateReference tmStateReference) TLSTM.DefaultTLSTMTrustManagerFactory.create(X509TrustManager trustManager, boolean useClientMode, TransportStateReference tmStateReference) private voidTLSTM.ServerThread.dispatchMessage(TcpAddress incomingAddress, ByteBuffer byteBuffer, long bytesRead, Object sessionID, TransportStateReference tmStateReference) protected voidAbstractTransportMapping.fireProcessMessage(A address, ByteBuffer buf, TransportStateReference tmStateReference) protected voidDefaultUdpTransportMapping.fireProcessMessage(DatagramPacket packet, ByteBuffer bis, TransportStateReference stateReference) protected voidDTLSTM.fireProcessMessage(DatagramPacket packet, ByteBuffer bis, TransportStateReference stateReference) protected voidAbstractTransportMapping.handleDroppedMessageToSend(A address, byte[] message, TransportStateReference transportStateReference, long timeoutMillis, int maxRetries) Handle a message that could not be send to the specified address, because there is no server socket for receiving responses.private booleanTLSTM.matchingStateReferences(TransportStateReference tmStateReferenceNew, TransportStateReference tmStateReferenceExisting) protected ByteBufferDefaultUdpTransportMapping.prepareInPacket(DatagramPacket packet, byte[] buf, TransportStateReference tmStateReference) Prepare an network packet for the application.protected ByteBufferDTLSTM.prepareInPacket(DatagramPacket packet, byte[] buf, TransportStateReference tmStateReference) protected List<DatagramPacket> DefaultUdpTransportMapping.prepareOutPackets(UdpAddress targetAddress, byte[] message, TransportStateReference tmStateReference, DatagramSocket socket, long timeoutMillis, int maxRetries) Prepare an application message for sending over the network to the specified target address.protected List<DatagramPacket> DTLSTM.prepareOutPackets(UdpAddress targetAddress, byte[] message, TransportStateReference tmStateReference, DatagramSocket socket, long timeoutMillis, int maxRetries) <A extends Address>
voidTransportListener.processMessage(TransportMapping<? super A> sourceTransport, A incomingAddress, ByteBuffer wholeMessage, TransportStateReference tmStateReference) Processes an incoming message.abstract voidAbstractTransportMapping.sendMessage(A address, byte[] message, TransportStateReference tmStateReference, long timeoutMillis, int maxRetries) Sends a message to the supplied address using this transport.voidDefaultTcpTransportMapping.sendMessage(TcpAddress address, byte[] message, TransportStateReference tmStateReference, long timeoutMillis, int maxRetries) Sends a SNMP message to the supplied address.voidDefaultTcpTransportMapping.ServerThread.sendMessage(Address address, byte[] message, TransportStateReference tmStateReference) voidDefaultUdpTransportMapping.sendMessage(UdpAddress targetAddress, byte[] message, TransportStateReference tmStateReference, long timeoutMillis, int maxRetries) voidDummyTransport.DummyTransportResponder.sendMessage(A address, byte[] message, TransportStateReference tmStateReference, long timeoutMillis, int retries) voidDummyTransport.sendMessage(A address, byte[] message, TransportStateReference tmStateReference, long timeoutMillis, int retries) abstract voidTcpTransportMapping.sendMessage(TcpAddress address, byte[] message, TransportStateReference tmStateReference, long timeoutMillis, int maxRetries) voidTLSTM.sendMessage(TcpAddress address, byte[] message, TransportStateReference tmStateReference, long timeoutMillis, int maxRetries) Sends an SNMP message to the supplied address.voidTLSTM.ServerThread.sendMessage(Address address, byte[] message, TransportStateReference tmStateReference) abstract voidUdpTransportMapping.sendMessage(UdpAddress address, byte[] message, TransportStateReference tmStateReference, long timeoutMillis, int maxRetries) Constructors in org.snmp4j.transport with parameters of type TransportStateReferenceModifierConstructorDescriptionSocketEntry(UdpAddress address, boolean useClientMode, TransportStateReference tmStateReference) SocketEntry(TcpAddress address, Socket socket, boolean useClientMode, TransportStateReference tmStateReference) -
Uses of TransportStateReference in org.snmp4j.transport.tls
Fields in org.snmp4j.transport.tls declared as TransportStateReferenceModifier and TypeFieldDescriptionprivate final TransportStateReferenceTLSTMExtendedTrustManager.tmStateReferenceprivate TransportStateReferenceTlsTrustManager.tmStateReferenceDeprecated.Methods in org.snmp4j.transport.tls with parameters of type TransportStateReferenceModifier and TypeMethodDescriptionTLSTMExtendedTrustManagerFactory.create(X509TrustManager trustManager, boolean useClientMode, TransportStateReference tmStateReference) TLSTMTrustManagerFactory.create(X509TrustManager trustManager, boolean useClientMode, TransportStateReference tmStateReference) static SSLContextTLSTMUtil.createSSLContext(String protocol, String keyStore, String keyStorePassword, String trustStore, String trustStorePassword, TransportStateReference transportStateReference, TLSTMTrustManagerFactory trustManagerFactory, boolean useClientMode, TlsTmSecurityCallback<X509Certificate> securityCallback, String localCertificateAlias, PKIXRevocationChecker pkixRevocationChecker, String crlURI) private static voidTLSTMUtil.filterCertificates(KeyStore ks, TransportStateReference transportStateReference, TlsTmSecurityCallback<X509Certificate> securityCallback, String localCertificateAlias) DefaultSSLEngineConfiguration.getSSLContext(boolean useClientMode, TransportStateReference transportStateReference) SSLEngineConfigurator.getSSLContext(boolean useClientMode, TransportStateReference transportStateReference) Gets the SSLContext for this SSL connection.Constructors in org.snmp4j.transport.tls with parameters of type TransportStateReferenceModifierConstructorDescriptionTLSTMExtendedTrustManager(CounterSupport tlstmCounters, TlsTmSecurityCallback<X509Certificate> securityCallback, X509TrustManager trustManager, boolean useClientMode, TransportStateReference tmStateReference) TlsTrustManager(X509TrustManager trustManager, boolean useClientMode, TransportStateReference tmStateReference, CounterSupport tlstmCounters, TlsTmSecurityCallback<X509Certificate> securityCallback) Deprecated.Creates a newTlsTrustManager. -
Uses of TransportStateReference in org.snmp4j.util
Fields in org.snmp4j.util declared as TransportStateReferenceModifier and TypeFieldDescriptionprivate final TransportStateReferenceMultiThreadedMessageDispatcher.MessageTask.tmStateReferenceMethods in org.snmp4j.util with parameters of type TransportStateReferenceModifier and TypeMethodDescription<A extends Address>
voidMultiThreadedMessageDispatcher.processMessage(TransportMapping<? super A> sourceTransport, A incomingAddress, ByteBuffer wholeMessage, TransportStateReference tmStateReference) Constructors in org.snmp4j.util with parameters of type TransportStateReferenceModifierConstructorDescriptionMessageTask(TransportMapping<? super A> sourceTransport, A incomingAddress, ByteBuffer wholeMessage, TransportStateReference tmStateReference)