com.adventnet.snmp.mibs.agent
Class FileTableEntry

java.lang.Object
  extended by com.adventnet.snmp.mibs.agent.FileTableEntry
All Implemented Interfaces:
TableEntry

public class FileTableEntry
extends java.lang.Object
implements TableEntry

TableEntry interface implementation file for FileCommand Table implementations.

Tables instances with java.io.RandomAccessFile file pointer values are stored in this class for Snmp request manipulation.


Constructor Summary
FileTableEntry()
           
 
Method Summary
 int[] computeInstanceOID()
          Part of interface TableEntry computes the instanceOID return instanceOID
(package private)  long getFilePointer()
          get the RandomAccessFile file pointer variable.
 int[] getInstanceOID()
          Part of interface TableEntry returns instanceOID
(package private)  void setFilePointer(long filePointer)
          set the RandomAccessFile file pointer variable
 void setInstanceOID(int[] instanceOID)
          Part of interface TableEntry set the instanceOID
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileTableEntry

public FileTableEntry()
Method Detail

getInstanceOID

public int[] getInstanceOID()
Part of interface TableEntry returns instanceOID

Specified by:
getInstanceOID in interface TableEntry
Returns:
The instance oid of this entry.

setInstanceOID

public void setInstanceOID(int[] instanceOID)
Part of interface TableEntry set the instanceOID

Specified by:
setInstanceOID in interface TableEntry
Parameters:
instanceOID - The Value of the InstanceaOOD to set.

computeInstanceOID

public int[] computeInstanceOID()
Part of interface TableEntry computes the instanceOID return instanceOID

Specified by:
computeInstanceOID in interface TableEntry
Returns:
Instance OID of this entry.

setFilePointer

void setFilePointer(long filePointer)
set the RandomAccessFile file pointer variable


getFilePointer

long getFilePointer()
get the RandomAccessFile file pointer variable.