1 23 package org.objectweb.joram.shared.admin; 24 25 public class GetSubscriptionRep extends AdminReply { 26 private static final long serialVersionUID = -8046513411425387452L; 27 28 private String topicId; 29 30 private int messageCount; 31 32 private boolean durable; 33 34 public GetSubscriptionRep(String topicId, 35 int messageCount, 36 boolean durable) { 37 super(true, null); 38 this.topicId = topicId; 39 this.messageCount = messageCount; 40 this.durable = durable; 41 } 42 43 public final String getTopicId() { 44 return topicId; 45 } 46 47 public final int getMessageCount() { 48 return messageCount; 49 } 50 51 public final boolean getDurable() { 52 return durable; 53 } 54 } 55 | Popular Tags |