KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > jmx > snmp > SnmpPduPacket


1 /*
2  * @(#)file SnmpPduPacket.java
3  * @(#)author Sun Microsystems, Inc.
4  * @(#)version 4.14
5  * @(#)date 08/02/09
6  *
7  * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
8  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
9  *
10  */

11 // Copyright (c) 1995-96 by Cisco Systems, Inc.
12

13 package com.sun.jmx.snmp;
14
15
16 import java.io.Serializable JavaDoc;
17 import java.net.InetAddress JavaDoc;
18
19
20 /**
21  * Is the fully decoded representation of an SNMP packet.
22  * <P>
23  * You will not usually need to use this class, except if you
24  * decide to implement your own
25  * {@link com.sun.jmx.snmp.SnmpPduFactory SnmpPduFactory} object.
26  * <P>
27  * Classes are derived from <CODE>SnmpPduPacket</CODE> to
28  * represent the different forms of SNMP packets
29  * ({@link com.sun.jmx.snmp.SnmpPduRequest SnmpPduRequest},
30  * {@link com.sun.jmx.snmp.SnmpPduTrap SnmpPduTrap},
31  * {@link com.sun.jmx.snmp.SnmpPduBulk SnmpPduBulk}).
32  * <BR>The <CODE>SnmpPduPacket</CODE> class defines the attributes
33  * common to every form of SNMP packets.
34  *
35  *
36  * <p><b>This API is a Sun Microsystems internal API and is subject
37  * to change without notice.</b></p>
38  * @see SnmpMessage
39  * @see SnmpPduFactory
40  *
41  * @version 4.14 12/19/03
42  * @author Sun Microsystems, Inc
43  */

44
45 public abstract class SnmpPduPacket extends SnmpPdu implements Serializable JavaDoc {
46     /**
47      * The pdu community string.
48      */

49     public byte[] community ;
50 }
51
52
Popular Tags