View Javadoc
1   // NAME
2   //      $RCSfile: OneTrapPduv1.java,v $
3   // DESCRIPTION
4   //      [given below in javadoc format]
5   // DELTA
6   //      $Revision: 3.7 $
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 SNMPv1 Trap PDU object. 
60   * See <a href="http://www.ietf.org/rfc/rfc1157.txt">RFC1157-SNMP</a>.
61   *
62   * @deprecated  As of 4_14, just use {@link TrapPduv1} 
63   * @author <a href="mailto:snmp@westhawk.co.uk">Birgit Arkesteijn</a>
64   * @version $Revision: 3.7 $ $Date: 2006/03/23 14:54:09 $
65   */
66  public class OneTrapPduv1 extends TrapPduv1 {
67      private static final String version_id = "@(#)$Id: OneTrapPduv1.java,v 3.7 2006/03/23 14:54:09 birgit Exp $ Copyright Westhawk Ltd";
68  
69      /**
70       * Constructor.
71       *
72       * @param con The context v1 of the OneTrapPduv1
73       * @see SnmpContext
74       */
75      public OneTrapPduv1(SnmpContext con) {
76          super(con);
77      }
78  
79      /**
80       * Constructor.
81       *
82       * @param con The context v1 of the OneTrapPduv1
83       * @see SnmpContext
84       */
85      public OneTrapPduv1(SnmpContextPool con) {
86          super(con);
87      }
88  
89  }