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