openlsd.network.common.message
Class LSDMsgPutNAck

java.lang.Object
  extended by openlsd.network.common.message.LSDMsgPutNAck
All Implemented Interfaces:
java.io.Serializable

public class LSDMsgPutNAck
extends java.lang.Object
implements java.io.Serializable

Class for Put without Acknowledge Message

Author:
Frederic Bregier LGPL
See Also:
Serialized Form

Field Summary
 byte[] bytesblock
          Bytes for the block
 byte commande
          Command to execute
 long doc
          Document id
 int fileblocksize
          File Block Size
 long legacy
          Legacy id
 int rankblock
          Rank of the block
 byte status
          Status of command
 long storage
          Storage id
 boolean unique
          Unique command session
 
Constructor Summary
LSDMsgPutNAck(byte commande, boolean unique, long legacy, long storage, long doc, byte status, int fileblocksize, int rankblock, byte[] bytesblock)
          Create a PutNack Message from args
 
Method Summary
 void clear()
          Clear the PutNack message
static void main(java.lang.String[] args)
          Test for length of message
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

commande

public byte commande
Command to execute


unique

public boolean unique
Unique command session


legacy

public long legacy
Legacy id


storage

public long storage
Storage id


doc

public long doc
Document id


status

public byte status
Status of command


fileblocksize

public int fileblocksize
File Block Size


rankblock

public int rankblock
Rank of the block


bytesblock

public byte[] bytesblock
Bytes for the block

Constructor Detail

LSDMsgPutNAck

public LSDMsgPutNAck(byte commande,
                     boolean unique,
                     long legacy,
                     long storage,
                     long doc,
                     byte status,
                     int fileblocksize,
                     int rankblock,
                     byte[] bytesblock)
Create a PutNack Message from args

Parameters:
commande -
unique -
legacy -
storage -
doc -
status -
fileblocksize -
rankblock -
bytesblock -
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
See Also:
Object.toString()

clear

public void clear()
Clear the PutNack message


main

public static void main(java.lang.String[] args)
Test for length of message

Parameters:
args -