moss.fs
Class MFile

java.lang.Object
  extended by moss.fs.MFile

public class MFile
extends java.lang.Object

This class is used to represent a "file-handle". It contains some basic data, plus a reference to the interface that performs operations for it.


Field Summary
 MDirOps dirif
          implementation (for directories)
 MFileOps fileif
          implementation (for files)
 int flags
          flags associated with this descriptor (MFileOps.O_...)
 MInode inode
          inode (if related to a file-system object)
 int offset
          current file offset
 java.lang.Object pdata
          private data hook for implementations
 int refcount
          reference count
 
Constructor Summary
MFile()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

refcount

public int refcount
reference count


pdata

public java.lang.Object pdata
private data hook for implementations


offset

public int offset
current file offset


flags

public int flags
flags associated with this descriptor (MFileOps.O_...)


fileif

public MFileOps fileif
implementation (for files)


dirif

public MDirOps dirif
implementation (for directories)


inode

public MInode inode
inode (if related to a file-system object)

Constructor Detail

MFile

public MFile()