text: .mom.notifications;25 26 import java.util.Vector ;27 28 /**29 * A <code>TopicMsgsReply</code> instance is used by a topic for sending30 * messages to an agent client which subscribed to it.31 */32 public class TopicMsgsReply extends AbstractReply {33 /** Vector of messages. */34 private Vector messages;35 36 /**37 * Constructs a <code>TopicMsgsReply</code>.38 *39 * @param messages Vector of delivered messages.40 */41 public TopicMsgsReply(Vector messages) {42 this.messages = messages;43 }44 45 46 /** Returns the messages. */47 public Vector getMessages() {48 return messages;49 }50 } 51
  Java API By Example, From Geeks To Geeks. | Our Blog | Conditions of Use | About Us_ |