1 26 package org.objectweb.joram.mom.notifications; 27 28 import java.util.Enumeration ; 29 import java.util.Vector ; 30 31 34 public class RequestGroupNot extends AbstractRequest { 35 36 private Vector clientMessages; 37 38 public RequestGroupNot() { 39 clientMessages = new Vector (); 40 } 41 42 public void addClientMessages(ClientMessages cm) { 43 clientMessages.addElement(cm); 44 } 45 46 public Enumeration getClientMessages() { 47 return clientMessages.elements(); 48 } 49 50 public int getSize() { 51 return clientMessages.size(); 52 } 53 54 public StringBuffer toString(StringBuffer output) { 55 output.append('('); 56 output.append(super.toString(output)); 57 output.append(",clientMessages="); 58 output.append(clientMessages); 59 output.append(')'); 60 return output; 61 } 62 } 63 | Popular Tags |