View Javadoc
1   // NAME
2   //      $RCSfile: OneTrapPduv2.java,v $
3   // DESCRIPTION
4   //      [given below in javadoc format]
5   // DELTA
6   //      $Revision: 3.9 $
7   // CREATED
8   //      $Date: 2006/03/23 14:54:09 $
9   // COPYRIGHT
10  //      Westhawk Ltd
11  // TO DO
12  //
13  
14  /*
15   * Copyright (C) 2001 - 2006 by Westhawk Ltd
16   * <a href="www.westhawk.co.uk">www.westhawk.co.uk</a>
17   *
18   * Permission to use, copy, modify, and distribute this software
19   * for any purpose and without fee is hereby granted, provided
20   * that the above copyright notices appear in all copies and that
21   * both the copyright notice and this permission notice appear in
22   * supporting documentation.
23   * This software is provided "as is" without express or implied
24   * warranty.
25   * author <a href="mailto:snmp@westhawk.co.uk">Tim Panton</a>
26   */
27  
28  
29  package uk.co.westhawk.snmp.pdu;
30  
31  /*-
32   * ╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲
33   * SNMP Java Client
34   * ჻჻჻჻჻჻
35   * Copyright 2023 MetricsHub, Westhawk
36   * ჻჻჻჻჻჻
37   * This program is free software: you can redistribute it and/or modify
38   * it under the terms of the GNU Lesser General Public License as
39   * published by the Free Software Foundation, either version 3 of the
40   * License, or (at your option) any later version.
41   *
42   * This program is distributed in the hope that it will be useful,
43   * but WITHOUT ANY WARRANTY; without even the implied warranty of
44   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
45   * GNU General Lesser Public License for more details.
46   *
47   * You should have received a copy of the GNU General Lesser Public
48   * License along with this program.  If not, see
49   * <http://www.gnu.org/licenses/lgpl-3.0.html>.
50   * ╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱
51   */
52  import java.util.*;
53  import java.io.*;
54  
55  import uk.co.westhawk.snmp.stack.*;
56  import uk.co.westhawk.snmp.util.*;
57  
58  /**
59   * This class represents the ASN SNMPv2c (and higher) Trap PDU object. 
60   * See <a href="http://www.ietf.org/rfc/rfc1157.txt">RFC1157-SNMP</a>.
61   *
62   * <p>
63   * For SNMPv3: The sender of a trap PDU acts as the authoritative engine.
64   * </p>
65   *
66   * @deprecated  As of 4_14, just use {@link TrapPduv2} 
67   * @author <a href="mailto:snmp@westhawk.co.uk">Birgit Arkesteijn</a>
68   * @version $Revision: 3.9 $ $Date: 2006/03/23 14:54:09 $
69   */
70  public class OneTrapPduv2 extends TrapPduv2 {
71      private static final String version_id = "@(#)$Id: OneTrapPduv2.java,v 3.9 2006/03/23 14:54:09 birgit Exp $ Copyright Westhawk Ltd";
72  
73      /**
74       * Constructor.
75       *
76       * @param con The context (v2c, v3) of the OneTrapPduv2
77       * @see SnmpContext
78       */
79      public OneTrapPduv2(SnmpContextBasisFace con) {
80          super(con);
81      }
82  
83  }