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