Rice Pastry API

rice.pastry.direct
Class DirectSizeChecker

java.lang.Object
  extended by rice.p2p.util.rawserialization.SizeChecker
      extended by rice.pastry.direct.DirectSizeChecker
All Implemented Interfaces:
OutputBuffer, SizeCheckOutputBuffer

public class DirectSizeChecker
extends SizeChecker


Field Summary
 
Fields inherited from class rice.p2p.util.rawserialization.SizeChecker
count
 
Constructor Summary
DirectSizeChecker()
           
DirectSizeChecker(int directNodeHandleSize)
           
 
Method Summary
 void writeSpecial(java.lang.Object o)
          Increment count appropriately
 
Methods inherited from class rice.p2p.util.rawserialization.SizeChecker
bytesRemaining, bytesWritten, write, writeBoolean, writeByte, writeChar, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DirectSizeChecker

public DirectSizeChecker()

DirectSizeChecker

public DirectSizeChecker(int directNodeHandleSize)
Method Detail

writeSpecial

public void writeSpecial(java.lang.Object o)
                  throws java.io.IOException
Description copied from class: SizeChecker
Increment count appropriately

Specified by:
writeSpecial in interface SizeCheckOutputBuffer
Specified by:
writeSpecial in class SizeChecker
Throws:
java.io.IOException

Rice Pastry API

Copyright © 2001-2005 - Rice Pastry.


Imprint-Dataprotection