Imported Upstream version 0.4.8
[platform/upstream/libsmi.git] / test / dumps / jax / NlMatrixDSEntry.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: NlMatrixDSEntry.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 nlMatrixDSEntry 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 NlMatrixDSEntry extends AgentXEntry
23 {
24
25     protected long nlMatrixDSTimeMark = 0;
26     protected byte[] nlMatrixDSSourceAddress = new byte[0];
27     protected byte[] nlMatrixDSDestAddress = new byte[0];
28     protected long nlMatrixDSPkts = 0;
29     protected long nlMatrixDSOctets = 0;
30     protected long nlMatrixDSCreateTime = 0;
31     // foreign indices
32     protected int hlMatrixControlIndex;
33     protected int protocolDirLocalIndex;
34
35     public NlMatrixDSEntry(int hlMatrixControlIndex,
36                            long nlMatrixDSTimeMark,
37                            int protocolDirLocalIndex,
38                            byte[] nlMatrixDSDestAddress,
39                            byte[] nlMatrixDSSourceAddress)
40     {
41         this.hlMatrixControlIndex = hlMatrixControlIndex;
42         this.nlMatrixDSTimeMark = nlMatrixDSTimeMark;
43         this.protocolDirLocalIndex = protocolDirLocalIndex;
44         this.nlMatrixDSDestAddress = nlMatrixDSDestAddress;
45         this.nlMatrixDSSourceAddress = nlMatrixDSSourceAddress;
46
47         instance.append(hlMatrixControlIndex);
48         instance.append(nlMatrixDSTimeMark);
49         instance.append(protocolDirLocalIndex);
50         instance.append(nlMatrixDSDestAddress);
51         instance.append(nlMatrixDSSourceAddress);
52     }
53
54     public int get_hlMatrixControlIndex()
55     {
56         return hlMatrixControlIndex;
57     }
58
59     public long get_nlMatrixDSTimeMark()
60     {
61         return nlMatrixDSTimeMark;
62     }
63
64     public int get_protocolDirLocalIndex()
65     {
66         return protocolDirLocalIndex;
67     }
68
69     public byte[] get_nlMatrixDSDestAddress()
70     {
71         return nlMatrixDSDestAddress;
72     }
73
74     public byte[] get_nlMatrixDSSourceAddress()
75     {
76         return nlMatrixDSSourceAddress;
77     }
78
79     public long get_nlMatrixDSPkts()
80     {
81         return nlMatrixDSPkts;
82     }
83
84     public long get_nlMatrixDSOctets()
85     {
86         return nlMatrixDSOctets;
87     }
88
89     public long get_nlMatrixDSCreateTime()
90     {
91         return nlMatrixDSCreateTime;
92     }
93
94 }
95