|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Address | |
---|---|
org.snmp4j | Provides classes and interfaces for creating, sending, and receiving SNMP messages. |
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.smi | Provides classes for the representation of SMIv1/v2 data types (which also includes some basic ASN.1 primitive data types). |
org.snmp4j.tools.console | |
org.snmp4j.transport | Provides transport protocol mappings for SNMP. |
org.snmp4j.util | Contains table retrieval utilities and multi-threading support classes as well as miscellaneous utility classes. |
Uses of Address in org.snmp4j |
---|
Methods in org.snmp4j that return Address | |
---|---|
Address |
AbstractTarget.getAddress()
Gets the address of this target. |
Address |
Target.getAddress()
Gets the address of this target. |
Address |
TransportMapping.getListenAddress()
Returns the address that represents the incoming address this transport mapping uses to listen for incoming packets. |
Address |
CommandResponderEvent.getPeerAddress()
Gets the transport address of the sending entity. |
Methods in org.snmp4j with parameters of type Address | |
---|---|
boolean |
Snmp.addNotificationListener(Address listenAddress,
CommandResponder listener)
Adds a notification listener to this Snmp instance. |
protected void |
MessageDispatcherImpl.checkOutgoingMsg(Address transportAddress,
int messageProcessingModel,
PDU pdu)
Checks outgoing messages for consistency between PDU and target used. |
byte[] |
Snmp.discoverAuthoritativeEngineID(Address address,
long timeout)
Discovers the engine ID of the SNMPv3 entity denoted by the supplied address. |
protected void |
MessageDispatcherImpl.dispatchMessage(TransportMapping sourceTransport,
MessageProcessingModel mp,
Address incomingAddress,
BERInputStream wholeMessage)
Actually decodes and dispatches an incoming SNMP message using the supplied message processing model. |
TransportMapping |
MessageDispatcher.getTransport(Address destAddress)
Returns a transport mapping that can handle the supplied address. |
TransportMapping |
MessageDispatcherImpl.getTransport(Address destAddress)
Returns a transport mapping that can handle the supplied address. |
void |
MessageDispatcher.processMessage(TransportMapping sourceTransport,
Address incomingAddress,
BERInputStream wholeMessage)
Deprecated. Use MessageDispatcher.processMessage(TransportMapping,Address,ByteBuffer)
instead. |
void |
MessageDispatcherImpl.processMessage(TransportMapping sourceTransport,
Address incomingAddress,
BERInputStream wholeMessage)
|
void |
MessageDispatcher.processMessage(TransportMapping sourceTransport,
Address incomingAddress,
java.nio.ByteBuffer wholeMessage)
Process an incoming SNMP message. |
void |
MessageDispatcherImpl.processMessage(TransportMapping sourceTransport,
Address incomingAddress,
java.nio.ByteBuffer wholeMessage)
|
boolean |
Snmp.removeNotificationListener(Address listenAddress)
Removes (deletes) the notification listener for the specified transport endpoint. |
void |
TransportMapping.sendMessage(Address address,
byte[] message)
Sends a message to the supplied address using this transport. |
protected void |
MessageDispatcherImpl.sendMessage(TransportMapping transport,
Address destAddress,
byte[] message)
Sends a message using the TransportMapping that has been
assigned for the supplied address type. |
PduHandle |
MessageDispatcher.sendPdu(Address transportAddress,
int messageProcessingModel,
int securityModel,
byte[] securityName,
int securityLevel,
PDU pdu,
boolean expectResponse)
Sends a PDU to the supplied transport address. |
PduHandle |
MessageDispatcherImpl.sendPdu(Address transportAddress,
int messageProcessingModel,
int securityModel,
byte[] securityName,
int securityLevel,
PDU pdu,
boolean expectResponse)
|
PduHandle |
MessageDispatcher.sendPdu(TransportMapping transportMapping,
Address transportAddress,
int messageProcessingModel,
int securityModel,
byte[] securityName,
int securityLevel,
PDU pdu,
boolean expectResponse)
Sends a PDU to the supplied transport address. |
PduHandle |
MessageDispatcherImpl.sendPdu(TransportMapping transportMapping,
Address transportAddress,
int messageProcessingModel,
int securityModel,
byte[] securityName,
int securityLevel,
PDU pdu,
boolean expectResponse)
|
PduHandle |
MessageDispatcher.sendPdu(TransportMapping transportMapping,
Address transportAddress,
int messageProcessingModel,
int securityModel,
byte[] securityName,
int securityLevel,
PDU pdu,
boolean expectResponse,
PduHandleCallback callback)
Sends a PDU to the supplied transport address and returns the PduHandle that uniquely identifies the request as response
after the request has been sent and otional, if a
PduHandleCallback is given, it returns also the
PduHandle just before the request is sent through the
the callback interface. |
PduHandle |
MessageDispatcherImpl.sendPdu(TransportMapping transport,
Address transportAddress,
int messageProcessingModel,
int securityModel,
byte[] securityName,
int securityLevel,
PDU pdu,
boolean expectResponse,
PduHandleCallback pduHandleCallback)
|
void |
AbstractTarget.setAddress(Address address)
Sets the address of the target. |
void |
Target.setAddress(Address address)
Sets the address of the target. |
void |
CommandResponderEvent.setPeerAddress(Address peerAddress)
Sets the transport address of the sending entity. |
Constructors in org.snmp4j with parameters of type Address | |
---|---|
AbstractTarget(Address address)
Creates a SNMPv3 target with no retries and a timeout of one second. |
|
CommandResponderEvent(MessageDispatcher messageDispatcher,
TransportMapping transportMapping,
Address sourceAddress,
int messageProcessingModel,
int securityModel,
byte[] securityName,
int securityLevel,
PduHandle pduHandle,
PDU pdu,
int maxSizeResponseScopedPDU,
StateReference stateReference)
Constructs an event for processing an incoming request or notification PDU. |
|
CommunityTarget(Address address,
OctetString community)
Creates a fully specified communtity target. |
|
SecureTarget(Address address,
OctetString securityName)
Creates a SNMPv3 secure target with an address and security name. |
|
UserTarget(Address address,
OctetString securityName,
byte[] authoritativeEngineID)
Creates a SNMPv3 USM target with security level noAuthNoPriv, one second time-out without retries. |
|
UserTarget(Address address,
OctetString securityName,
byte[] authoritativeEngineID,
int securityLevel)
Creates a SNMPv3 USM target with the supplied security level, one second time-out without retries. |
Uses of Address in org.snmp4j.event |
---|
Methods in org.snmp4j.event that return Address | |
---|---|
Address |
AuthenticationFailureEvent.getAddress()
Returns the source address from which the message has been received. |
Address |
SnmpEngineEvent.getEngineAddress()
Returns the transport address of the engine. |
Address |
ResponseEvent.getPeerAddress()
Gets the transport address of the response sender. |
Methods in org.snmp4j.event with parameters of type Address | |
---|---|
protected void |
ResponseEvent.setPeerAddress(Address peerAddress)
|
Constructors in org.snmp4j.event with parameters of type Address | |
---|---|
AuthenticationFailureEvent(java.lang.Object source,
Address sourceAddress,
TransportMapping transport,
int error,
BERInputStream message)
Creates an authentication failure event. |
|
ResponseEvent(java.lang.Object source,
Address peerAddress,
PDU request,
PDU response,
java.lang.Object userObject)
Creates an ResponseEvent instance. |
|
ResponseEvent(java.lang.Object source,
Address peerAddress,
PDU request,
PDU response,
java.lang.Object userObject,
java.lang.Exception error)
Creates an ResponseEvent instance with an exception object
indicating a message processing error. |
|
SnmpEngineEvent(java.lang.Object source,
int type,
OctetString engineID,
Address engineAddress)
|
Uses of Address in org.snmp4j.mp |
---|
Methods in org.snmp4j.mp that return Address | |
---|---|
Address |
StateReference.getAddress()
|
Methods in org.snmp4j.mp with parameters of type Address | |
---|---|
boolean |
MPv3.addEngineID(Address address,
OctetString engineID)
Adds an engine ID (other than the local engine ID) to the internal storage. |
OctetString |
MPv3.getEngineID(Address address)
Gets the engine ID associated with the supplied address from the local storage and fires the corresponding SnmpEngineEvent . |
int |
MessageProcessingModel.prepareDataElements(MessageDispatcher messageDispatcher,
Address transportAddress,
BERInputStream wholeMsg,
Integer32 messageProcessingModel,
Integer32 securityModel,
OctetString securityName,
Integer32 securityLevel,
MutablePDU pdu,
PduHandle sendPduHandle,
Integer32 maxSizeResponseScopedPDU,
StatusInformation statusInformation,
MutableStateReference stateReference)
Prepare data elements from an incoming SNMP message as described in RFC3412 §7.2. |
int |
MPv2c.prepareDataElements(MessageDispatcher messageDispatcher,
Address transportAddress,
BERInputStream wholeMsg,
Integer32 messageProcessingModel,
Integer32 securityModel,
OctetString securityName,
Integer32 securityLevel,
MutablePDU pdu,
PduHandle sendPduHandle,
Integer32 maxSizeResponseScopedPDU,
StatusInformation statusInformation,
MutableStateReference stateReference)
|
int |
MPv1.prepareDataElements(MessageDispatcher messageDispatcher,
Address transportAddress,
BERInputStream wholeMsg,
Integer32 messageProcessingModel,
Integer32 securityModel,
OctetString securityName,
Integer32 securityLevel,
MutablePDU pdu,
PduHandle sendPduHandle,
Integer32 maxSizeResponseScopedPDU,
StatusInformation statusInformation,
MutableStateReference stateReference)
|
int |
MPv3.prepareDataElements(MessageDispatcher messageDispatcher,
Address transportAddress,
BERInputStream wholeMsg,
Integer32 messageProcessingModel,
Integer32 securityModel,
OctetString securityName,
Integer32 securityLevel,
MutablePDU pdu,
PduHandle sendPduHandle,
Integer32 maxSizeResponseScopedPDU,
StatusInformation statusInformation,
MutableStateReference mutableStateReference)
|
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)
Prepares an outgoing message as defined in RFC3412 §7.1. |
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)
|
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)
|
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)
|
OctetString |
MPv3.removeEngineID(Address address)
Removes an engine ID association from the local storage and fires the corresponding SnmpEngineEvent . |
void |
StateReference.setAddress(Address address)
|
Constructors in org.snmp4j.mp with parameters of type Address | |
---|---|
StateReference(int msgID,
int msgFlags,
int maxSizeResponseScopedPDU,
PduHandle pduHandle,
Address peerAddress,
TransportMapping peerTransport,
byte[] secEngineID,
SecurityModel secModel,
byte[] secName,
int secLevel,
byte[] contextEngineID,
byte[] contextName,
SecurityStateReference secStateReference,
int errorCode)
Creates a state reference for SNMPv3 messages. |
|
StateReference(PduHandle pduHandle,
Address peerAddress,
TransportMapping peerTransport,
SecurityModel secModel,
byte[] secName,
int errorCode)
Creates a state reference for community based security models. |
Uses of Address in org.snmp4j.smi |
---|
Classes in org.snmp4j.smi that implement Address | |
---|---|
class |
GenericAddress
The GenericAddress implements the decorator and factory
design pattern to provide a generic address type. |
class |
IpAddress
The IpAddress class represents an IPv4 address SNMP variable. |
class |
SMIAddress
A SMIAddress is an address that is defined by the Structure
of Management Information (SMI) and can be thereby serialized through the
Basic Encoding Rules (BER) used by the SNMP protocol. |
class |
TcpAddress
The TcpAddress represents TCP/IP transport addresses. |
class |
TransportIpAddress
The TransportIpAddress is the abstract base class for all
transport addresses on top of IP network addresses. |
class |
UdpAddress
The UdpAddress represents UDP/IP transport addresses. |
Methods in org.snmp4j.smi that return Address | |
---|---|
Address |
GenericAddress.getAddress()
|
static Address |
GenericAddress.parse(java.lang.String address)
Parses a given transport protocol dependent address string into an Address instance that is subsumed by this
GenericAddress object. |
static Address |
TcpAddress.parse(java.lang.String address)
|
static Address |
TransportIpAddress.parse(java.lang.String address)
|
static Address |
IpAddress.parse(java.lang.String address)
Parses an IP address string and returns the corresponding IpAddress instance. |
static Address |
UdpAddress.parse(java.lang.String address)
|
Uses of Address in org.snmp4j.tools.console |
---|
Methods in org.snmp4j.tools.console that return Address | |
---|---|
Address |
SnmpRequest.getAddress()
|
Methods in org.snmp4j.tools.console with parameters of type Address | |
---|---|
void |
SnmpRequest.setAddress(Address address)
|
Uses of Address in org.snmp4j.transport |
---|
Methods in org.snmp4j.transport that return Address | |
---|---|
Address |
TcpTransportMapping.getListenAddress()
|
Address |
UdpTransportMapping.getListenAddress()
|
Address |
TransportStateEvent.getPeerAddress()
|
Methods in org.snmp4j.transport with parameters of type Address | |
---|---|
boolean |
ConnectionOrientedTransportMapping.close(Address remoteAddress)
Closes the connection to the given remote address (socket). |
boolean |
DefaultTcpTransportMapping.close(Address remoteAddress)
Closes a connection to the supplied remote address, if it is open. |
TransportMapping |
TransportMappings.createTransportMapping(Address transportAddress)
Returns a TransportMapping instance that is initialized with
the supplied transport address. |
protected void |
AbstractTransportMapping.fireProcessMessage(Address address,
java.nio.ByteBuffer buf)
|
void |
TransportListener.processMessage(TransportMapping sourceTransport,
Address incomingAddress,
java.nio.ByteBuffer wholeMessage)
Processes an incoming message. |
abstract void |
AbstractTransportMapping.sendMessage(Address address,
byte[] message)
|
abstract void |
TcpTransportMapping.sendMessage(Address address,
byte[] message)
|
void |
DefaultUdpTransportMapping.sendMessage(Address targetAddress,
byte[] message)
|
abstract void |
UdpTransportMapping.sendMessage(Address address,
byte[] message)
|
void |
DefaultTcpTransportMapping.sendMessage(Address address,
byte[] message)
Sends a SNMP message to the supplied address. |
Constructors in org.snmp4j.transport with parameters of type Address | |
---|---|
TransportStateEvent(java.lang.Object source,
Address peerAddress,
int newState,
java.io.IOException causingException)
|
Uses of Address in org.snmp4j.util |
---|
Methods in org.snmp4j.util with parameters of type Address | |
---|---|
TransportMapping |
MultiThreadedMessageDispatcher.getTransport(Address destAddress)
|
void |
MultiThreadedMessageDispatcher.processMessage(TransportMapping sourceTransport,
Address incomingAddress,
BERInputStream wholeMessage)
|
void |
MultiThreadedMessageDispatcher.processMessage(TransportMapping sourceTransport,
Address incomingAddress,
java.nio.ByteBuffer wholeMessage)
|
PduHandle |
MultiThreadedMessageDispatcher.sendPdu(Address transportAddress,
int messageProcessingModel,
int securityModel,
byte[] securityName,
int securityLevel,
PDU pdu,
boolean expectResponse)
|
PduHandle |
MultiThreadedMessageDispatcher.sendPdu(TransportMapping transportMapping,
Address transportAddress,
int messageProcessingModel,
int securityModel,
byte[] securityName,
int securityLevel,
PDU pdu,
boolean expectResponse)
|
PduHandle |
MultiThreadedMessageDispatcher.sendPdu(TransportMapping transportMapping,
Address transportAddress,
int messageProcessingModel,
int securityModel,
byte[] securityName,
int securityLevel,
PDU pdu,
boolean expectResponse,
PduHandleCallback callback)
|
|
Copyright 2005-2010 Frank Fock (SNMP4J.org) | |||||||||
PREV NEXT | FRAMES NO FRAMES |