Package | Description |
---|---|
casa |
The casa package is the main package for CASA (Collaborative Agent System
Architecture), which is an infrastructure for agent based systems.
|
casa.io |
Contains classes implementing CASA's agent persistence system.
|
casa.io.test | |
casa.io.tools |
Modifier and Type | Field and Description |
---|---|
(package private) CASAFile |
LAC.casaFile |
private CASAFile |
Agent.dataFile
Stores all of the data corresponding to the current
Agent . |
Modifier and Type | Field and Description |
---|---|
private CASAFile |
FilePosition.file |
private CASAFile |
CASAFilePropertiesMap.file
The CASAFile that we are writing these properties to.
|
private CASAFile |
CASAFileLACKnownUsersMap.file
The CASAFile that we are writing these properties to.
|
private CASAFile |
CASAFileFreeList.file |
Modifier and Type | Method and Description |
---|---|
CASAFile |
FilePosition.getFile() |
Modifier and Type | Method and Description |
---|---|
protected static FilePosition |
CoreIO.appendBlock(CASAFileBlock block,
CASAFile file) |
protected static FilePosition |
CoreIO.getFilePosition(CASAFile file,
NodePosition nodePos)
convert the supplied node position into a file position
returns null if node not found
|
protected static FilePosition |
CoreIO.getFirstWritePosition(CASAFile file,
long offset,
int mode) |
protected static long |
CoreIO.getNodeLength(CASAFile file,
String nodeName) |
protected static CASAFileBlock |
CoreIO.readBlock(CASAFile file,
long offset) |
protected static CASAFileBlockHeader |
CoreIO.readBlockHeader(CASAFile file,
long offset) |
protected static CASAFileHeader |
CoreIO.readFileHeader(CASAFile file) |
Constructor and Description |
---|
CASAFileFreeList(CASAFile aFile) |
CASAFileIndex(CASAFile file) |
CASAFileLACKnownUsersMap(CASAFile file) |
CASAFilePropertiesMap(CASAFile file)
Creates a new instance of the
CASAFilePropertiesMap . |
CASAFilePropertiesMap(CASAFile file,
PropertiesMap map)
Creates a new instance of the
CASAFilePropertiesMap from
another PropertiesMap . |
CASAInputStream(NodePosition pos,
CASAFile file) |
CASAInputStream(String nodeName,
CASAFile file) |
CASAOutputStream(String nodeName,
int writeMode,
CASAFile file) |
FilePosition(CASAFile file) |
FilePosition(CASAFile file,
long blockOffset) |
FilePosition(CASAFile file,
long blockOffset,
long dataOffset) |
Modifier and Type | Method and Description |
---|---|
static boolean |
AllTests.arbitraryIOTest(CASAFile file,
String node,
byte[] bytes) |
static boolean |
AllTests.nodeDeletionTest(CASAFile file,
byte[] bytes) |
static void |
CASAFileFreeListTest.printFreeList(CASAFile file) |
static void |
AllTests.printFreeList(CASAFile file) |
static void |
AllTests.printIndex(CASAFile file) |
static boolean |
AllTests.streamIOTest(CASAFile file,
String node,
byte[] bytes) |
static boolean |
AllTests.testCASAFile(CASAFile file) |
Modifier and Type | Field and Description |
---|---|
private CASAFile |
CASAFileInspector.currentFile |
private CASAFile |
CASAFileTreeModel.file |
private CASAFile |
CASAFileTreeIndexEntry.file |
private CASAFile |
CASAFileTreeData.file |
Modifier and Type | Method and Description |
---|---|
CASAFile |
CASAFileTreeModel.getFile() |
CASAFile |
CASAFileTree.getFile() |
Modifier and Type | Method and Description |
---|---|
private void |
CASAFileInspector.exportNodeToFile(CASAFile inputFile,
String node,
File outputFile) |
private void |
CASAFileInspector.importNodeFromFile(File inputFile,
CASAFile outputFile,
String node) |
void |
CASAFileTreeModel.setFile(CASAFile file) |
void |
CASAFileTree.setFile(CASAFile file) |
void |
CASAFileInspector.setFile(CASAFile file) |
Constructor and Description |
---|
CASAFileTree(CASAFile file) |
CASAFileTreeData(CASAFile file,
String nodeName) |
CASAFileTreeIndexEntry(CASAFileIndexEntry index,
CASAFile file) |
CASAFileTreeModel(CASAFile file) |