1 24 package org.objectweb.joram.mom.notifications; 25 26 import fr.dyade.aaa.agent.*; 27 28 public class RegisterTmpDestNot 29 extends fr.dyade.aaa.agent.Notification { 30 31 private AgentId tmpDestId; 32 33 private boolean topic; 34 35 private boolean add; 36 37 public RegisterTmpDestNot(AgentId tmpDestId, 38 boolean topic, 39 boolean add) { 40 this.tmpDestId = tmpDestId; 41 this.topic = topic; 42 this.add = add; 43 } 44 45 public final AgentId getTmpDestId() { 46 return tmpDestId; 47 } 48 49 public final boolean isTopic() { 50 return topic; 51 } 52 53 public final boolean toAdd() { 54 return add; 55 } 56 57 65 public StringBuffer toString(StringBuffer output) { 66 output.append('('); 67 super.toString(output); 68 output.append(",tmpDestId=").append(tmpDestId); 69 output.append(",topic=").append(topic); 70 output.append(",add=").append(add); 71 output.append(')'); 72 73 return output; 74 } 75 } 76 | Popular Tags |