org/objectweb/joram/mom/notifications/AbortReceiveRequest.java

00001 /*
00002  * JORAM: Java(TM) Open Reliable Asynchronous Messaging
00003  * Copyright (C) 2001 - ScalAgent Distributed Technologies
00004  * Copyright (C) 1996 - Dyade
00005  *
00006  * This library is free software; you can redistribute it and/or
00007  * modify it under the terms of the GNU Lesser General Public
00008  * License as published by the Free Software Foundation; either
00009  * version 2.1 of the License, or any later version.
00010  * 
00011  * This library is distributed in the hope that it will be useful,
00012  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00014  * Lesser General Public License for more details.
00015  * 
00016  * You should have received a copy of the GNU Lesser General Public
00017  * License along with this library; if not, write to the Free Software
00018  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
00019  * USA.
00020  *
00021  * Initial developer(s): ScalAgent Distributed Technologies
00022  * Contributor(s):
00023  */
00024 package org.objectweb.joram.mom.notifications;
00025 
00026 public class AbortReceiveRequest extends AbstractRequest {
00027 
00031   private static final long serialVersionUID = 1L;
00032   private int abortedRequestId;
00033 
00034   public AbortReceiveRequest(
00035     int clientContext, 
00036     int requestId,
00037     int abortedRequestId) {
00038     super(clientContext, requestId);
00039     this.abortedRequestId = abortedRequestId;
00040   }
00041 
00042   public final int getAbortedRequestId() {
00043     return abortedRequestId;
00044   }
00045 
00054   public StringBuffer toString(StringBuffer output) {
00055     output.append('(');
00056     super.toString(output);
00057     output.append(",abortedRequestId=").append(abortedRequestId);
00058     output.append(')');
00059 
00060     return output;
00061   }
00062 }

Generated on Tue Sep 16 16:14:34 2008 for joram by  doxygen 1.5.0