1 24 25 package org.objectweb.dream.protocol.utobcast.message; 26 27 import org.objectweb.dream.message.ChunkType; 28 import org.objectweb.dream.message.ChunkTypeImpl; 29 import org.objectweb.dream.protocol.Process; 30 import org.objectweb.dream.queue.SequenceNumberChunk; 31 32 37 public interface UTOBcastChunk extends SequenceNumberChunk 38 { 39 42 43 String DEFAULT_NAME = "utoBcastChunk"; 44 45 46 ChunkType TYPE = new ChunkTypeImpl(UTOBcastChunk.class, 47 UTOBcastChunkImpl.class); 48 49 52 byte DAT = 0; 53 54 57 byte ACK = 1; 58 59 62 byte REP = 2; 63 64 67 byte UTO = 3; 68 69 72 byte UPD = 4; 73 74 77 byte BAK = 5; 78 79 91 byte getUTOBcastMessageType(); 92 93 107 void setUTOBcastMessageType(byte type); 108 109 114 Process getProcessFrom(); 115 116 121 void setProcessFrom(Process process); 122 123 128 Process getProcessTo(); 129 130 135 void setProcessTo(Process process); 136 137 } | Popular Tags |