1 24 25 package benchmark.ring; 26 27 import org.objectweb.dream.message.ChunkType; 28 import org.objectweb.dream.message.ChunkTypeImpl; 29 30 33 public interface PayLoadChunk 34 { 35 36 String DEFAULT_NAME = "PayLoadChunk"; 37 38 39 ChunkType TYPE = new ChunkTypeImpl(PayLoadChunk.class, 40 PayLoadChunkImpl.class); 41 42 47 void setPayLoadSize(int nbByte); 48 49 54 int getPayLoadSize(); 55 } | Popular Tags |