1 24 25 package org.objectweb.dream.message.manager; 26 27 import org.objectweb.dream.message.ChunkType; 28 import org.objectweb.dream.message.Message; 29 import org.objectweb.dream.message.MessageType; 30 31 36 public interface MessageManager 37 { 38 39 40 String ITF_NAME = "message-manager"; 41 42 52 Message createMessage(MessageType type) throws UnknownChunkTypeError; 53 54 61 void deleteMessage(Message message); 62 63 81 Message duplicateMessage(Message message, boolean clone); 82 83 93 Object createChunk(ChunkType type) throws UnknownChunkTypeError; 94 95 102 void deleteChunk(Object chunk); 103 104 112 Object duplicateChunk(Object chunk, boolean clone); 113 114 119 short getMessageManagerId(); 120 } | Popular Tags |