|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.management.snmp.SnmpPdu
com.sun.management.snmp
in
preference to classes in this package. This class may be removed
in a future version of Java DMK.
Is the fully decoded representation of an SNMP packet.
Classes are derived from SnmpPdu
to
represent the different forms of SNMP packets
(SnmpPduPacket
,
SnmpScopedPduPacket
)
The SnmpPdu
class defines the attributes
common to every form of SNMP packets.
SnmpMessage
,
SnmpPduFactory
,
Serialized FormField Summary | |
InetAddress |
address
Deprecated. Source or destination address. |
int |
port
Deprecated. Source or destination port. |
int |
requestId
Deprecated. Request identifier. |
int |
type
Deprecated. PDU type. |
SnmpVarBind[] |
varBindList
Deprecated. List of variables. |
int |
version
Deprecated. Protocol version. |
Constructor Summary | |
SnmpPdu()
Deprecated. |
Method Summary | |
static String |
pduTypeToString(int cmd)
Deprecated. Returns the String representation of a PDU type. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public int type
SnmpDefinitions
.
public int version
SnmpDefinitions
.
public SnmpVarBind[] varBindList
public int requestId
SnmpPduTrap
.
public InetAddress address
For an incoming PDU it's the source.
For an outgoing PDU it's the destination.
public int port
For an incoming PDU it's the source.
For an outgoing PDU it's the destination.
Constructor Detail |
public SnmpPdu()
Method Detail |
public static String pduTypeToString(int cmd)
String
representation of a PDU type.
For instance, if the PDU type is SnmpDefinitions.pduGetRequestPdu
,
the method will return "SnmpGet".
cmd
- The integer representation of the PDU type.
String
representation of the PDU type.
|
FCS Release jdmk-5_1-b34.2 2005.11.29_16:24:00_MET |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |