Imported Upstream version 0.4.8
[platform/upstream/libsmi.git] / test / dumps / jax / AlMatrixSDEntry.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: AlMatrixSDEntry.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 alMatrixSDEntry 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 AlMatrixSDEntry extends AgentXEntry
23 {
24
25     protected long alMatrixSDTimeMark = 0;
26     protected long alMatrixSDPkts = 0;
27     protected long alMatrixSDOctets = 0;
28     protected long alMatrixSDCreateTime = 0;
29     // foreign indices
30     protected int hlMatrixControlIndex;
31     protected int protocolDirLocalIndex;
32     protected byte[] nlMatrixSDSourceAddress;
33     protected byte[] nlMatrixSDDestAddress;
34     protected int protocolDirLocalIndex;
35
36     public AlMatrixSDEntry(int hlMatrixControlIndex,
37                            long alMatrixSDTimeMark,
38                            int protocolDirLocalIndex,
39                            byte[] nlMatrixSDSourceAddress,
40                            byte[] nlMatrixSDDestAddress,
41                            int protocolDirLocalIndex)
42     {
43         this.hlMatrixControlIndex = hlMatrixControlIndex;
44         this.alMatrixSDTimeMark = alMatrixSDTimeMark;
45         this.protocolDirLocalIndex = protocolDirLocalIndex;
46         this.nlMatrixSDSourceAddress = nlMatrixSDSourceAddress;
47         this.nlMatrixSDDestAddress = nlMatrixSDDestAddress;
48         this.protocolDirLocalIndex = protocolDirLocalIndex;
49
50         instance.append(hlMatrixControlIndex);
51         instance.append(alMatrixSDTimeMark);
52         instance.append(protocolDirLocalIndex);
53         instance.append(nlMatrixSDSourceAddress);
54         instance.append(nlMatrixSDDestAddress);
55         instance.append(protocolDirLocalIndex);
56     }
57
58     public int get_hlMatrixControlIndex()
59     {
60         return hlMatrixControlIndex;
61     }
62
63     public long get_alMatrixSDTimeMark()
64     {
65         return alMatrixSDTimeMark;
66     }
67
68     public int get_protocolDirLocalIndex()
69     {
70         return protocolDirLocalIndex;
71     }
72
73     public byte[] get_nlMatrixSDSourceAddress()
74     {
75         return nlMatrixSDSourceAddress;
76     }
77
78     public byte[] get_nlMatrixSDDestAddress()
79     {
80         return nlMatrixSDDestAddress;
81     }
82
83     public int get_protocolDirLocalIndex()
84     {
85         return protocolDirLocalIndex;
86     }
87
88     public long get_alMatrixSDPkts()
89     {
90         return alMatrixSDPkts;
91     }
92
93     public long get_alMatrixSDOctets()
94     {
95         return alMatrixSDOctets;
96     }
97
98     public long get_alMatrixSDCreateTime()
99     {
100         return alMatrixSDCreateTime;
101     }
102
103 }
104