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