KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > ist > coach > coachEmsCommon > SnmpProtocolMonitorValueTypeImpl


1 /*====================================================================
2
3 This file was produced by the OpenCCM CIF_JIMPL generator.
4
5 OpenCCM: The Open CORBA Component Model Platform
6 Copyright (C) 2000-2003 INRIA - USTL - LIFL - GOAL
7 Contact: openccm@objectweb.org
8
9 This library is free software; you can redistribute it and/or
10 modify it under the terms of the GNU Lesser General Public
11 License as published by the Free Software Foundation; either
12 version 2.1 of the License, or any later version.
13
14 This library is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 Lesser General Public License for more details.
18
19 You should have received a copy of the GNU Lesser General Public
20 License along with this library; if not, write to the Free Software
21 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
22 USA
23
24 Initial developer(s): Christophe Demarey.
25 Contributor(s): ______________________________________.
26
27 ====================================================================*/

28
29 package ist.coach.coachEmsCommon;
30
31 import ist.coach.coachEmsMib.SnmpProtocolMonitorValueType;
32 import intt.itu.itut_x780.SourceIndicatorType;
33
34 import org.omg.CosNaming.NameComponent JavaDoc;
35 /**
36  * Implementation skeleton class for the IDL:coach.ist/coachEmsMib/SnmpProtocolMonitorValueType:1.0 declaration.
37  *
38  * @author OpenCCM CIF_Jimpl Compiler.
39  */

40 public class SnmpProtocolMonitorValueTypeImpl
41      extends SnmpProtocolMonitorValueType
42 {
43     // ==================================================================
44
//
45
// Internal states.
46
//
47
// ==================================================================
48

49     // ==================================================================
50
//
51
// Constructors.
52
//
53
// ==================================================================
54

55     public SnmpProtocolMonitorValueTypeImpl()
56     {
57         snmpInPkts = 0;
58         snmpOutPkts = 0;
59         snmpInBadVersions = 0;
60         snmpInBadCommunityNames = 0;
61         snmpInBadCommunityUses = 0;
62         snmpInASNParseErrs = 0;
63         snmpInTooBigs = 0;
64         snmpInNoSuchNames = 0;
65         snmpInBadValues = 0;
66         snmpInReadOnlys = 0;
67         snmpInGenErrs = 0;
68         snmpInTotalReqVars = 0;
69         snmpInTotalSetVars = 0;
70         snmpInGetRequests = 0;
71         snmpInGetNexts = 0;
72         snmpInSetRequests = 0;
73         snmpInGetResponses = 0;
74         snmpInTraps = 0;
75         snmpOutTooBigs = 0;
76         snmpOutNoSuchNames = 0;
77         snmpOutBadValues = 0;
78         snmpOutGenErrs = 0;
79         snmpOutGetRequests = 0;
80         snmpOutGetNexts = 0;
81         snmpOutSetRequests = 0;
82         snmpOutGetResponses = 0;
83         snmpOutTraps = 0;
84         snmpEnableAuthenTraps = 0;
85         name = null;
86         objectClass = null;
87         packages = null;
88         creationSource = null;
89         deletePolicy = 0;
90     }
91
92     public SnmpProtocolMonitorValueTypeImpl(
93
94         long snmpInPkts,
95         long snmpOutPkts,
96         long snmpInBadVersions,
97         long snmpInBadCommunityNames,
98         long snmpInBadCommunityUses,
99         long snmpInASNParseErrs,
100         long snmpInTooBigs,
101         long snmpInNoSuchNames,
102         long snmpInBadValues,
103         long snmpInReadOnlys,
104         long snmpInGenErrs,
105         long snmpInTotalReqVars,
106         long snmpInTotalSetVars,
107         long snmpInGetRequests,
108         long snmpInGetNexts,
109         long snmpInSetRequests,
110         long snmpInGetResponses,
111         long snmpInTraps,
112         long snmpOutTooBigs,
113         long snmpOutNoSuchNames,
114         long snmpOutBadValues,
115         long snmpOutGenErrs,
116         long snmpOutGetRequests,
117         long snmpOutGetNexts,
118         long snmpOutSetRequests,
119         long snmpOutGetResponses,
120         long snmpOutTraps,
121         int snmpEnableAuthenTraps,
122         /* inherited from ManagedObjectValueType */
123         NameComponent JavaDoc [] name,
124         String JavaDoc objectClass,
125         String JavaDoc [] packages,
126         SourceIndicatorType creationSource,
127         short deletePolicy) {
128
129             this.snmpInPkts = snmpInPkts;
130             this.snmpOutPkts = snmpOutPkts;
131             this.snmpInBadVersions = snmpInBadVersions;
132             this.snmpInBadCommunityNames = snmpInBadCommunityNames;
133             this.snmpInBadCommunityUses = snmpInBadCommunityUses;
134             this.snmpInASNParseErrs = snmpInASNParseErrs;
135             this.snmpInTooBigs = snmpInTooBigs;
136             this.snmpInNoSuchNames = snmpInNoSuchNames;
137             this.snmpInBadValues = snmpInBadValues;
138             this.snmpInReadOnlys = snmpInReadOnlys;
139             this.snmpInGenErrs = snmpInGenErrs;
140             this.snmpInTotalReqVars = snmpInTotalReqVars;
141             this.snmpInTotalSetVars = snmpInTotalSetVars;
142             this.snmpInGetRequests = snmpInGetRequests;
143             this.snmpInGetNexts = snmpInGetNexts;
144             this.snmpInSetRequests = snmpInSetRequests;
145             this.snmpInGetResponses = snmpInGetResponses;
146             this.snmpInTraps = snmpInTraps;
147             this.snmpOutTooBigs = snmpOutTooBigs;
148             this.snmpOutNoSuchNames = snmpOutNoSuchNames;
149             this.snmpOutBadValues = snmpOutBadValues;
150             this.snmpOutGenErrs = snmpOutGenErrs;
151             this.snmpOutGetRequests = snmpOutGetRequests;
152             this.snmpOutGetNexts = snmpOutGetNexts;
153             this.snmpOutSetRequests = snmpOutSetRequests;
154             this.snmpOutGetResponses = snmpOutGetResponses;
155             this.snmpOutTraps = snmpOutTraps;
156             this.snmpEnableAuthenTraps = snmpEnableAuthenTraps;
157
158             this.name = name;
159             this.objectClass = objectClass;
160             this.packages = packages;
161             this.creationSource = creationSource;
162             this.deletePolicy = deletePolicy;
163
164     }
165
166     // ==================================================================
167
//
168
// Methods.
169
//
170
// ==================================================================
171

172 }
173
Popular Tags