Package | Description |
---|---|
org.snmp4j |
Provides classes and interfaces for creating, sending, and receiving SNMP
messages.
|
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.transport |
Provides transport protocol mappings for SNMP.
|
org.snmp4j.transport.ssh | |
org.snmp4j.util |
Contains table retrieval utilities and multi-threading support classes as
well as miscellaneous utility classes.
|
Modifier and Type | Method and Description |
---|---|
TransportStateReference |
CommandResponderEvent.getTmStateReference()
Gets the transport model state reference as defined by RFC 5590.
|
Modifier and Type | Method and Description |
---|---|
protected void |
MessageDispatcherImpl.dispatchMessage(TransportMapping sourceTransport,
MessageProcessingModel mp,
Address incomingAddress,
BERInputStream wholeMessage,
TransportStateReference tmStateReference)
Actually decodes and dispatches an incoming SNMP message using the supplied
message processing model.
|
void |
MessageDispatcherImpl.processMessage(TransportMapping sourceTransport,
Address incomingAddress,
BERInputStream wholeMessage,
TransportStateReference tmStateReference) |
void |
MessageDispatcherImpl.processMessage(TransportMapping sourceTransport,
Address incomingAddress,
ByteBuffer wholeMessage,
TransportStateReference tmStateReference) |
void |
MessageDispatcher.processMessage(TransportMapping sourceTransport,
Address incomingAddress,
ByteBuffer wholeMessage,
TransportStateReference tmStateReference)
Process an incoming SNMP message.
|
void |
TransportMapping.sendMessage(A address,
byte[] message,
TransportStateReference tmStateReference)
Sends a message to the supplied address using this transport.
|
protected void |
MessageDispatcherImpl.sendMessage(TransportMapping transport,
Address destAddress,
byte[] message,
TransportStateReference tmStateReference)
Sends a message using the
TransportMapping that has been
assigned for the supplied address type. |
void |
CommandResponderEvent.setTmStateReference(TransportStateReference tmStateReference)
Sets the transport model state reference as defined by RFC 5590.
|
Modifier and Type | Method and Description |
---|---|
int |
MPv1.prepareDataElements(MessageDispatcher messageDispatcher,
Address transportAddress,
BERInputStream wholeMsg,
TransportStateReference tmStateReference,
Integer32 messageProcessingModel,
Integer32 securityModel,
OctetString securityName,
Integer32 securityLevel,
MutablePDU pdu,
PduHandle sendPduHandle,
Integer32 maxSizeResponseScopedPDU,
StatusInformation statusInformation,
MutableStateReference mutableStateReference) |
int |
MPv2c.prepareDataElements(MessageDispatcher messageDispatcher,
Address transportAddress,
BERInputStream wholeMsg,
TransportStateReference tmStateReference,
Integer32 messageProcessingModel,
Integer32 securityModel,
OctetString securityName,
Integer32 securityLevel,
MutablePDU pdu,
PduHandle sendPduHandle,
Integer32 maxSizeResponseScopedPDU,
StatusInformation statusInformation,
MutableStateReference mutableStateReference) |
int |
MessageProcessingModel.prepareDataElements(MessageDispatcher messageDispatcher,
Address transportAddress,
BERInputStream wholeMsg,
TransportStateReference tmStateReference,
Integer32 messageProcessingModel,
Integer32 securityModel,
OctetString securityName,
Integer32 securityLevel,
MutablePDU pdu,
PduHandle sendPduHandle,
Integer32 maxSizeResponseScopedPDU,
StatusInformation statusInformation,
MutableStateReference mutableStateReference)
Prepare data elements from an incoming SNMP message as described in
RFC3412 §7.2.
|
int |
MPv3.prepareDataElements(MessageDispatcher messageDispatcher,
Address transportAddress,
BERInputStream wholeMsg,
TransportStateReference tmStateReference,
Integer32 messageProcessingModel,
Integer32 securityModel,
OctetString securityName,
Integer32 securityLevel,
MutablePDU pdu,
PduHandle sendPduHandle,
Integer32 maxSizeResponseScopedPDU,
StatusInformation statusInformation,
MutableStateReference mutableStateReference) |
int |
MPv1.prepareOutgoingMessage(Address transportAddress,
int maxMessageSize,
int messageProcessingModel,
int securityModel,
byte[] securityName,
int securityLevel,
PDU pdu,
boolean expectResponse,
PduHandle sendPduHandle,
Address destTransportAddress,
BEROutputStream outgoingMessage,
TransportStateReference tmStateReference) |
int |
MPv2c.prepareOutgoingMessage(Address transportAddress,
int maxMessageSize,
int messageProcessingModel,
int securityModel,
byte[] securityName,
int securityLevel,
PDU pdu,
boolean expectResponse,
PduHandle sendPduHandle,
Address destTransportAddress,
BEROutputStream outgoingMessage,
TransportStateReference tmStateReference) |
int |
MessageProcessingModel.prepareOutgoingMessage(Address transportAddress,
int maxMsgSize,
int messageProcessingModel,
int securityModel,
byte[] securityName,
int securityLevel,
PDU pdu,
boolean expectResponse,
PduHandle sendPduHandle,
Address destTransportAddress,
BEROutputStream outgoingMessage,
TransportStateReference tmStateReference)
Prepares an outgoing message as defined in RFC3412 §7.1.
|
int |
MPv3.prepareOutgoingMessage(Address transportAddress,
int maxMessageSize,
int messageProcessingModel,
int securityModel,
byte[] securityName,
int securityLevel,
PDU pdu,
boolean expectResponse,
PduHandle sendPduHandle,
Address destTransportAddress,
BEROutputStream outgoingMessage,
TransportStateReference tmStateReference) |
Modifier and Type | Method and Description |
---|---|
TransportStateReference |
TsmSecurityStateReference.getTmStateReference() |
Modifier and Type | Method and Description |
---|---|
int |
SecurityModel.generateRequestMessage(int messageProcessingModel,
byte[] globalData,
int maxMessageSize,
int securityModel,
byte[] securityEngineID,
byte[] securityName,
int securityLevel,
BERInputStream scopedPDU,
SecurityParameters securityParameters,
BEROutputStream wholeMsg,
TransportStateReference tmStateReference)
Generate a request message.
|
int |
TSM.generateRequestMessage(int messageProcessingModel,
byte[] globalData,
int maxMessageSize,
int securityModel,
byte[] securityEngineID,
byte[] securityName,
int securityLevel,
BERInputStream scopedPDU,
SecurityParameters securityParameters,
BEROutputStream wholeMsg,
TransportStateReference tmStateReference) |
int |
USM.generateRequestMessage(int snmpVersion,
byte[] globalData,
int maxMessageSize,
int securityModel,
byte[] securityEngineID,
byte[] securityName,
int securityLevel,
BERInputStream scopedPDU,
SecurityParameters securityParameters,
BEROutputStream wholeMsg,
TransportStateReference tmStateReference) |
int |
SecurityModel.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.
|
int |
TSM.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) |
int |
USM.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) |
void |
TsmSecurityStateReference.setTmStateReference(TransportStateReference tmStateReference) |
Modifier and Type | Method and Description |
---|---|
X509TrustManager |
TLSTM.TLSTMTrustManagerFactory.create(X509TrustManager trustManager,
boolean useClientMode,
TransportStateReference tmStateReference) |
protected void |
AbstractTransportMapping.fireProcessMessage(Address address,
ByteBuffer buf,
TransportStateReference tmStateReference) |
SSLContext |
TLSTM.DefaultSSLEngineConfiguration.getSSLContext(boolean useClientMode,
TransportStateReference transportStateReference) |
protected SshSession |
DefaultSshTransportMapping.openSession(SshAddress address,
TransportStateReference tmStateReference,
int maxMessageSize) |
void |
TransportListener.processMessage(TransportMapping sourceTransport,
Address incomingAddress,
ByteBuffer wholeMessage,
TransportStateReference tmStateReference)
Processes an incoming message.
|
abstract void |
AbstractTransportMapping.sendMessage(A address,
byte[] message,
TransportStateReference tmStateReference) |
void |
DummyTransport.sendMessage(A address,
byte[] message,
TransportStateReference tmStateReference) |
void |
DummyTransport.DummyTransportResponder.sendMessage(A address,
byte[] message,
TransportStateReference tmStateReference) |
void |
DefaultSshTransportMapping.sendMessage(SshAddress address,
byte[] message,
TransportStateReference tmStateReference) |
void |
TLSTM.sendMessage(TcpAddress address,
byte[] message,
TransportStateReference tmStateReference)
Sends a SNMP message to the supplied address.
|
void |
DefaultTcpTransportMapping.sendMessage(TcpAddress address,
byte[] message,
TransportStateReference tmStateReference)
Sends a SNMP message to the supplied address.
|
abstract void |
TcpTransportMapping.sendMessage(TcpAddress address,
byte[] message,
TransportStateReference tmStateReference) |
abstract void |
UdpTransportMapping.sendMessage(UdpAddress address,
byte[] message,
TransportStateReference tmStateReference) |
void |
DefaultUdpTransportMapping.sendMessage(UdpAddress targetAddress,
byte[] message,
TransportStateReference tmStateReference) |
Constructor and Description |
---|
TlsTrustManager(X509TrustManager trustManager,
boolean useClientMode,
TransportStateReference tmStateReference) |
Modifier and Type | Method and Description |
---|---|
TransportStateReference |
SshSession.getTransportStateReference() |
Modifier and Type | Method and Description |
---|---|
SshSession<I> |
SshTransportAdapter.openClientSession(TransportStateReference tmStateReference,
int maxMessageSize) |
SshSession<I> |
SshTransportAdapter.openServerSession(TransportStateReference tmStateReference,
int maxMessageSize) |
void |
SshSession.setTransportStateReference(TransportStateReference tmStateReference) |
Modifier and Type | Method and Description |
---|---|
void |
MultiThreadedMessageDispatcher.processMessage(TransportMapping sourceTransport,
Address incomingAddress,
ByteBuffer wholeMessage,
TransportStateReference tmStateReference) |
Copyright © 2024 SNMP4J.org. All rights reserved.