Autopsy  4.7.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
Classes | Public Member Functions | Static Public Member Functions | Private Attributes | Static Private Attributes | List of all members
org.sleuthkit.autopsy.coordinationservice.CaseNodeData Class Reference

Classes

class  InvalidDataException
 

Public Member Functions

 CaseNodeData (byte[] nodeData) throws InvalidDataException
 
boolean getErrorsOccurred ()
 
int getVersion ()
 
void setErrorsOccurred (boolean errorsOccurred)
 
byte[] toArray ()
 

Static Public Member Functions

static int getCurrentVersion ()
 

Private Attributes

boolean errorsOccurred
 
int version
 

Static Private Attributes

static final int CURRENT_VERSION = 0
 

Detailed Description

An object that converts case data for a case directory coordination service node to and from byte arrays.

Definition at line 28 of file CaseNodeData.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.coordinationservice.CaseNodeData.CaseNodeData ( byte[]  nodeData) throws InvalidDataException

Uses coordination service node data to construct an object that converts case data for a case directory coordination service node to and from byte arrays.

Parameters
nodeDataThe raw bytes received from the coordination service.
Exceptions
InvalidDataExceptionIf the node data buffer is smaller than expected.

Definition at line 55 of file CaseNodeData.java.

References org.sleuthkit.autopsy.coordinationservice.CaseNodeData.CURRENT_VERSION.

Member Function Documentation

static int org.sleuthkit.autopsy.coordinationservice.CaseNodeData.getCurrentVersion ( )
static

Gets the current version of the case directory coordination service node data.

Returns
The version number.

Definition at line 41 of file CaseNodeData.java.

References org.sleuthkit.autopsy.coordinationservice.CaseNodeData.CURRENT_VERSION.

boolean org.sleuthkit.autopsy.coordinationservice.CaseNodeData.getErrorsOccurred ( )

Gets whether or not any errors occurred during the processing of the job.

Returns
True or false.

Definition at line 87 of file CaseNodeData.java.

References org.sleuthkit.autopsy.coordinationservice.CaseNodeData.errorsOccurred.

int org.sleuthkit.autopsy.coordinationservice.CaseNodeData.getVersion ( )

Gets the node data version number.

Returns
The version number.

Definition at line 105 of file CaseNodeData.java.

References org.sleuthkit.autopsy.coordinationservice.CaseNodeData.version.

void org.sleuthkit.autopsy.coordinationservice.CaseNodeData.setErrorsOccurred ( boolean  errorsOccurred)

Sets whether or not any errors occurred during the processing of job.

Parameters
errorsOccurredTrue or false.

Definition at line 96 of file CaseNodeData.java.

References org.sleuthkit.autopsy.coordinationservice.CaseNodeData.errorsOccurred.

byte [] org.sleuthkit.autopsy.coordinationservice.CaseNodeData.toArray ( )

Gets the node data as a byte array that can be sent to the coordination service.

Returns
The node data as a byte array.

Definition at line 115 of file CaseNodeData.java.

Member Data Documentation

final int org.sleuthkit.autopsy.coordinationservice.CaseNodeData.CURRENT_VERSION = 0
staticprivate
boolean org.sleuthkit.autopsy.coordinationservice.CaseNodeData.errorsOccurred
private
int org.sleuthkit.autopsy.coordinationservice.CaseNodeData.version
private

The documentation for this class was generated from the following file:

Copyright © 2012-2016 Basis Technology. Generated on: Mon Jun 18 2018
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.