| 1 23 package org.objectweb.joram.mom.notifications; 24 25 import fr.dyade.aaa.agent.AgentId; 26 27 public class RegisteredDestNot 28 extends fr.dyade.aaa.agent.Notification { 29 30 private AgentId reply; 31 private String name; 32 private AgentId dest = null; 33 34 public RegisteredDestNot(String name, 35 AgentId reply) { 36 this.name = name; 37 this.reply = reply; 38 } 39 40 public final void setDestination(AgentId dest) { 41 this.dest = dest; 42 } 43 44 public final AgentId getDestination() { 45 return dest; 46 } 47 48 public final String getName() { 49 return name; 50 } 51 52 public final AgentId getReply() { 53 return reply; 54 } 55 56 64 public StringBuffer toString(StringBuffer output) { 65 output.append('('); 66 super.toString(output); 67 output.append(",name=").append(name); 68 output.append(",dest=").append(dest); 69 output.append(",reply=").append(reply); 70 output.append(')'); 71 72 return output; 73 } 74 } 75 | Popular Tags |