1 24 package org.objectweb.joram.mom.notifications; 25 26 30 public abstract class AbstractReply extends AbstractNotification 31 { 32 36 private int correlationId = -1; 37 38 39 45 public AbstractReply(int clientContext, int correlationId) 46 { 47 super(clientContext); 48 this.correlationId = correlationId; 49 } 50 51 54 public AbstractReply() 55 {} 56 57 58 59 public int getCorrelationId() 60 { 61 return correlationId; 62 } 63 64 72 public StringBuffer toString(StringBuffer output) { 73 output.append('('); 74 super.toString(output); 75 output.append(", correlationId=").append(correlationId); 76 output.append(')'); 77 78 return output; 79 } 80 } 81 | Popular Tags |