org.tranche.server.logs
Class LogEntryQueueItem

java.lang.Object
  extended by org.tranche.server.logs.LogEntryQueueItem

public class LogEntryQueueItem
extends java.lang.Object

Encapsulates any log entry. Used to queue entries for write and for reading log.

Author:
Bryan E. Smith - bryanesmith@gmail.com

Field Summary
 byte action
          Log action
static byte GET_CONFIG
          Keys for the action being logged
static byte GET_DATA
          Keys for the action being logged
static byte GET_META_DATA
          Keys for the action being logged
static byte GET_NONCE
          Keys for the action being logged
 BigHash hash
          BigHash for log entry
 java.lang.String ip
          IP address
static byte NONE
          Keys for the action being logged
static byte SET_CONFIG
          Keys for the action being logged
static byte SET_DATA
          Keys for the action being logged
static byte SET_META_DATA
          Keys for the action being logged
 Signature sig
          Log entry signature
 java.lang.String sigBase64
          Log entry signature in Base64
 long size
          Size of log entry
 long timestamp
          Timestamp of log entry
 
Constructor Summary
LogEntryQueueItem()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NONE

public static final byte NONE
Keys for the action being logged

See Also:
Constant Field Values

SET_DATA

public static final byte SET_DATA
Keys for the action being logged

See Also:
Constant Field Values

SET_META_DATA

public static final byte SET_META_DATA
Keys for the action being logged

See Also:
Constant Field Values

SET_CONFIG

public static final byte SET_CONFIG
Keys for the action being logged

See Also:
Constant Field Values

GET_DATA

public static final byte GET_DATA
Keys for the action being logged

See Also:
Constant Field Values

GET_META_DATA

public static final byte GET_META_DATA
Keys for the action being logged

See Also:
Constant Field Values

GET_CONFIG

public static final byte GET_CONFIG
Keys for the action being logged

See Also:
Constant Field Values

GET_NONCE

public static final byte GET_NONCE
Keys for the action being logged

See Also:
Constant Field Values

ip

public java.lang.String ip
IP address


sig

public Signature sig
Log entry signature


sigBase64

public java.lang.String sigBase64
Log entry signature in Base64


hash

public BigHash hash
BigHash for log entry


action

public byte action
Log action


timestamp

public long timestamp
Timestamp of log entry


size

public long size
Size of log entry

Constructor Detail

LogEntryQueueItem

public LogEntryQueueItem()


This code is free for use both commercially and non-commercially as stated in the project's license