Methods Summary |
---|
public com.sun.jmx.snmp.SnmpMsg | decodeMessage(byte[] inputBytes, int byteCount, java.net.InetAddress address, int port)Decodes the specified bytes and initializes itself with the received
response.
|
public com.sun.jmx.snmp.SnmpPdu | decodeSnmpPdu()Gets the request PDU encoded in the received response.
This method decodes the data field and returns the resulting PDU.
|
public java.net.InetAddress | getAddress()Returns the source address.
|
public byte[] | getContextName()Gets the incoming response context name.
|
public int | getPort()Returns the source port.
|
public int | getRequestId(byte[] data)Returns the response request Id.
|
public int | getSecurityLevel()Gets the incoming response security level. This level is defined in
{@link com.sun.jmx.snmp.SnmpEngine SnmpEngine}.
|
public int | getSecurityModel()Gets the incoming response security model.
|
public com.sun.jmx.snmp.SnmpSecurityParameters | getSecurityParameters()Gets the incoming response security parameters.
|
public java.lang.String | printMessage()Returns a stringified form of the message to send.
|
public void | setSecurityCache(com.sun.jmx.snmp.internal.SnmpSecurityCache cache)Call this method in order to reuse SnmpOutgoingRequest cache.
|