openlsd.network.common.message.LSDMsgPut Class Reference

Inheritance diagram for openlsd.network.common.message.LSDMsgPut:

Inheritance graph
[legend]
Collaboration diagram for openlsd.network.common.message.LSDMsgPut:

Collaboration graph
[legend]

List of all members.


Detailed Description

Class for Put Message
Author:
Frederic Bregier LGPL

Public Member Functions

 LSDMsgPut (byte commande, boolean unique, long legacy, long storage, long doc, byte status, int fileblocksize, int rankblock, byte[] bytesblock)
String toString ()
void clear ()

Public Attributes

byte commande = LSDConstants.LSD_NULL
boolean unique = true
long legacy = LSDConstants.invalide_idx
long storage = LSDConstants.invalide_idx
long doc = LSDConstants.invalide_idx
byte status = LSDConstants.LSD_MSG_KOSYSTEM
int fileblocksize = -1
int rankblock = -1
byte[] bytesblock = null

Static Private Attributes

static final long serialVersionUID = 5L

Constructor & Destructor Documentation

openlsd.network.common.message.LSDMsgPut.LSDMsgPut ( byte  commande,
boolean  unique,
long  legacy,
long  storage,
long  doc,
byte  status,
int  fileblocksize,
int  rankblock,
byte[]  bytesblock 
)

Create a Put message from args

Parameters:
commande 
unique 
legacy 
storage 
doc 
status 
fileblocksize 
rankblock 
bytesblock 


Member Function Documentation

String openlsd.network.common.message.LSDMsgPut.toString (  ) 

See also:
java.lang.Object.toString()

void openlsd.network.common.message.LSDMsgPut.clear (  ) 

Clear the Put Message


Member Data Documentation

Fields for Put Message Id

Command to execute

Unique command session

Legacy id

Storage id

Document id

Status of command

File Block Size

Rank of the block

Bytes for the block


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