Imported Upstream version 0.4.8
[platform/upstream/libsmi.git] / test / dumps / jax / AlHostEntry.java
1 /*
2  * This Java file has been generated by smidump 0.4.5. Do not edit!
3  * It is intended to be used within a Java AgentX sub-agent environment.
4  *
5  * $Id: AlHostEntry.java 4432 2006-05-29 16:21:11Z strauss $
6  */
7
8 /**
9     This class represents a Java AgentX (JAX) implementation of
10     the table row alHostEntry defined in RMON2-MIB.
11
12     @version 1
13     @author  smidump 0.4.5
14     @see     AgentXTable, AgentXEntry
15  */
16
17 import jax.AgentXOID;
18 import jax.AgentXSetPhase;
19 import jax.AgentXResponsePDU;
20 import jax.AgentXEntry;
21
22 public class AlHostEntry extends AgentXEntry
23 {
24
25     protected long alHostTimeMark = 0;
26     protected long alHostInPkts = 0;
27     protected long alHostOutPkts = 0;
28     protected long alHostInOctets = 0;
29     protected long alHostOutOctets = 0;
30     protected long alHostCreateTime = 0;
31     // foreign indices
32     protected int hlHostControlIndex;
33     protected int protocolDirLocalIndex;
34     protected byte[] nlHostAddress;
35     protected int protocolDirLocalIndex;
36
37     public AlHostEntry(int hlHostControlIndex,
38                        long alHostTimeMark,
39                        int protocolDirLocalIndex,
40                        byte[] nlHostAddress,
41                        int protocolDirLocalIndex)
42     {
43         this.hlHostControlIndex = hlHostControlIndex;
44         this.alHostTimeMark = alHostTimeMark;
45         this.protocolDirLocalIndex = protocolDirLocalIndex;
46         this.nlHostAddress = nlHostAddress;
47         this.protocolDirLocalIndex = protocolDirLocalIndex;
48
49         instance.append(hlHostControlIndex);
50         instance.append(alHostTimeMark);
51         instance.append(protocolDirLocalIndex);
52         instance.append(nlHostAddress);
53         instance.append(protocolDirLocalIndex);
54     }
55
56     public int get_hlHostControlIndex()
57     {
58         return hlHostControlIndex;
59     }
60
61     public long get_alHostTimeMark()
62     {
63         return alHostTimeMark;
64     }
65
66     public int get_protocolDirLocalIndex()
67     {
68         return protocolDirLocalIndex;
69     }
70
71     public byte[] get_nlHostAddress()
72     {
73         return nlHostAddress;
74     }
75
76     public int get_protocolDirLocalIndex()
77     {
78         return protocolDirLocalIndex;
79     }
80
81     public long get_alHostInPkts()
82     {
83         return alHostInPkts;
84     }
85
86     public long get_alHostOutPkts()
87     {
88         return alHostOutPkts;
89     }
90
91     public long get_alHostInOctets()
92     {
93         return alHostInOctets;
94     }
95
96     public long get_alHostOutOctets()
97     {
98         return alHostOutOctets;
99     }
100
101     public long get_alHostCreateTime()
102     {
103         return alHostCreateTime;
104     }
105
106 }
107