openlsd.network.common.message
Class LSDMsgGet

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

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

Message to Get a File

Author:
Frederic Bregier LGPL
See Also:
Serialized Form

Field Summary
 byte commande
          Command to execute
 long doc
          Document id
 int fileblocksize
          File Block Size
 long legacy
          Legacy id
 int rankblock
          Rank of the block
 long storage
          Storage id
 boolean unique
          Unique command session
 
Constructor Summary
LSDMsgGet(byte commande, boolean unique, long legacy, long storage, long doc, int fileblocksize, int rankblock)
          Create a Get Message from args
 
Method Summary
 void clear()
          Clear the Get 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


fileblocksize

public int fileblocksize
File Block Size


rankblock

public int rankblock
Rank of the block

Constructor Detail

LSDMsgGet

public LSDMsgGet(byte commande,
                 boolean unique,
                 long legacy,
                 long storage,
                 long doc,
                 int fileblocksize,
                 int rankblock)
Create a Get Message from args

Parameters:
commande -
unique -
legacy -
storage -
doc -
fileblocksize -
rankblock -
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 Get Message