1 24 package fr.dyade.aaa.jndi2.server; 25 26 import fr.dyade.aaa.jndi2.msg.*; 27 import fr.dyade.aaa.agent.Notification; 28 import fr.dyade.aaa.util.Strings; 29 30 public class JndiScriptRequestNot extends Notification { 31 32 private JndiRequest[] requests; 33 34 private boolean reply; 35 36 public JndiScriptRequestNot(JndiRequest[] requests) { 37 this(requests, false); 38 } 39 40 public JndiScriptRequestNot(JndiRequest[] requests, 41 boolean reply) { 42 this.requests = requests; 43 this.reply = reply; 44 } 45 46 public final JndiRequest[] getRequests() { 47 return requests; 48 } 49 50 public final boolean reply() { 51 return reply; 52 } 53 54 62 public StringBuffer toString(StringBuffer output) { 63 output.append('('); 64 super.toString(output); 65 output.append(",requests="); 66 Strings.toString(output, requests); 67 output.append(",reply=").append(reply); 68 output.append(')'); 69 70 return output; 71 } 72 } 73 | Popular Tags |