1 24 package org.objectweb.joram.mom.notifications; 25 26 30 public abstract class AbstractNotification 31 extends fr.dyade.aaa.agent.Notification 32 { 33 39 private int clientContext = -1; 40 41 42 47 public AbstractNotification(int clientContext) 48 { 49 this.clientContext = clientContext; 50 } 51 52 55 public AbstractNotification() 56 {} 57 58 59 60 public int getClientContext() 61 { 62 return clientContext; 63 } 64 65 public void setPersistent(boolean persistent) { 66 this.persistent = persistent; 67 } 68 69 public final boolean getPersistent() { 70 return persistent; 71 } 72 73 81 public StringBuffer toString(StringBuffer output) { 82 output.append('('); 83 super.toString(output); 84 output.append(", clientContext=").append(clientContext); 85 output.append(')'); 86 87 return output; 88 } 89 } 90 | Popular Tags |