Blob Blame History Raw
/*
 * This Java file has been generated by smidump 0.4.5. Do not edit!
 * It is intended to be used within a Java AgentX sub-agent environment.
 *
 * $Id: AlMatrixSDEntry.java 4432 2006-05-29 16:21:11Z strauss $
 */

/**
    This class represents a Java AgentX (JAX) implementation of
    the table row alMatrixSDEntry defined in RMON2-MIB.

    @version 1
    @author  smidump 0.4.5
    @see     AgentXTable, AgentXEntry
 */

import jax.AgentXOID;
import jax.AgentXSetPhase;
import jax.AgentXResponsePDU;
import jax.AgentXEntry;

public class AlMatrixSDEntry extends AgentXEntry
{

    protected long alMatrixSDTimeMark = 0;
    protected long alMatrixSDPkts = 0;
    protected long alMatrixSDOctets = 0;
    protected long alMatrixSDCreateTime = 0;
    // foreign indices
    protected int hlMatrixControlIndex;
    protected int protocolDirLocalIndex;
    protected byte[] nlMatrixSDSourceAddress;
    protected byte[] nlMatrixSDDestAddress;
    protected int protocolDirLocalIndex;

    public AlMatrixSDEntry(int hlMatrixControlIndex,
                           long alMatrixSDTimeMark,
                           int protocolDirLocalIndex,
                           byte[] nlMatrixSDSourceAddress,
                           byte[] nlMatrixSDDestAddress,
                           int protocolDirLocalIndex)
    {
        this.hlMatrixControlIndex = hlMatrixControlIndex;
        this.alMatrixSDTimeMark = alMatrixSDTimeMark;
        this.protocolDirLocalIndex = protocolDirLocalIndex;
        this.nlMatrixSDSourceAddress = nlMatrixSDSourceAddress;
        this.nlMatrixSDDestAddress = nlMatrixSDDestAddress;
        this.protocolDirLocalIndex = protocolDirLocalIndex;

        instance.append(hlMatrixControlIndex);
        instance.append(alMatrixSDTimeMark);
        instance.append(protocolDirLocalIndex);
        instance.append(nlMatrixSDSourceAddress);
        instance.append(nlMatrixSDDestAddress);
        instance.append(protocolDirLocalIndex);
    }

    public int get_hlMatrixControlIndex()
    {
        return hlMatrixControlIndex;
    }

    public long get_alMatrixSDTimeMark()
    {
        return alMatrixSDTimeMark;
    }

    public int get_protocolDirLocalIndex()
    {
        return protocolDirLocalIndex;
    }

    public byte[] get_nlMatrixSDSourceAddress()
    {
        return nlMatrixSDSourceAddress;
    }

    public byte[] get_nlMatrixSDDestAddress()
    {
        return nlMatrixSDDestAddress;
    }

    public int get_protocolDirLocalIndex()
    {
        return protocolDirLocalIndex;
    }

    public long get_alMatrixSDPkts()
    {
        return alMatrixSDPkts;
    }

    public long get_alMatrixSDOctets()
    {
        return alMatrixSDOctets;
    }

    public long get_alMatrixSDCreateTime()
    {
        return alMatrixSDCreateTime;
    }

}