org.alliance.core.comm.rpc
Class BlockMaskResult

java.lang.Object
  extended by org.alliance.core.comm.RPC
      extended by org.alliance.core.comm.rpc.BlockMaskResult

public class BlockMaskResult
extends RPC

Created by IntelliJ IDEA. User: maciek Date: 2005-dec-21 Time: 16:34:22 To change this template use File | Settings | File Templates.


Field Summary
 
Fields inherited from class org.alliance.core.comm.RPC
broadcastable, con, core, fromGuid, hops, manager, routable
 
Constructor Summary
BlockMaskResult()
           
BlockMaskResult(Hash hash, BlockMask blockMask)
           
BlockMaskResult(Hash hash, boolean hasAllBits, int nBits)
           
 
Method Summary
 void execute(Packet data)
           
 BlockMask getBlockMask()
           
 Hash getHash()
           
 boolean isHasAllBits()
           
 Packet serializeTo(Packet p)
           
 
Methods inherited from class org.alliance.core.comm.RPC
init, init, isBroadcastable, isInitialized, isRoutable, send, send, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BlockMaskResult

public BlockMaskResult()

BlockMaskResult

public BlockMaskResult(Hash hash,
                       boolean hasAllBits,
                       int nBits)

BlockMaskResult

public BlockMaskResult(Hash hash,
                       BlockMask blockMask)
Method Detail

execute

public void execute(Packet data)
             throws java.io.IOException
Specified by:
execute in class RPC
Throws:
java.io.IOException

serializeTo

public Packet serializeTo(Packet p)
Specified by:
serializeTo in class RPC

getBlockMask

public BlockMask getBlockMask()

isHasAllBits

public boolean isHasAllBits()

getHash

public Hash getHash()