protected void requestGroupNot(AgentId from, RequestGroupNot not) {
Enumeration en = not.getClientMessages();
ClientMessages theCM = (ClientMessages) en.nextElement();
Vector replies = new Vector();
replies.addElement(new SendReplyNot(
theCM.getClientContext(),
theCM.getRequestId()));
while (en.hasMoreElements()) {
ClientMessages cm = (ClientMessages) en.nextElement();
List msgs = cm.getMessages();
for (int i = 0; i < msgs.size(); i++) {
theCM.addMessage((Message) msgs.get(i));
}
if (! cm.getAsyncSend()) {
replies.addElement(new SendReplyNot(
cm.getClientContext(),
cm.getRequestId()));
}
}