openlsd.network.common.message
Class LSDMsgMove

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

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

Class for Move Message

Author:
Frederic Bregier LGPL
See Also:
Serialized Form

Field Summary
 byte commande
          Command to execute
 long doc
          Document id
 long docdest
          Document destination id
 java.lang.String key
          Key as identity check
 long legacy
          Legacy id
 long legacydest
          Legacy destination id
 long storage
          Storage id
 long storagedest
          Storage destination id
 boolean unique
          Unique command session
 
Constructor Summary
LSDMsgMove(java.lang.String key, byte commande, boolean unique, long legacy, long storage, long doc, long legacydest, long storagedest, long docdest)
          Create a Move Message from args
 
Method Summary
 void clear()
          Clear the Move message
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

key

public java.lang.String key
Key as identity check


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


legacydest

public long legacydest
Legacy destination id


storagedest

public long storagedest
Storage destination id


docdest

public long docdest
Document destination id

Constructor Detail

LSDMsgMove

public LSDMsgMove(java.lang.String key,
                  byte commande,
                  boolean unique,
                  long legacy,
                  long storage,
                  long doc,
                  long legacydest,
                  long storagedest,
                  long docdest)
Create a Move Message from args

Parameters:
key -
commande -
unique -
legacy -
storage -
doc -
legacydest -
storagedest -
docdest -
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 Move message