ReplyMessage.java revision 608:7e06bf1dcb09
1255767Sdes/* 2224638Sbrooks * Copyright (c) 2000, 2003, Oracle and/or its affiliates. All rights reserved. 392559Sdes * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 465668Skris * 565668Skris * This code is free software; you can redistribute it and/or modify it 665668Skris * under the terms of the GNU General Public License version 2 only, as 765668Skris * published by the Free Software Foundation. Oracle designates this 865668Skris * particular file as subject to the "Classpath" exception as provided 965668Skris * by Oracle in the LICENSE file that accompanied this code. 1065668Skris * 1165668Skris * This code is distributed in the hope that it will be useful, but WITHOUT 1265668Skris * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 1365668Skris * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 1465668Skris * version 2 for more details (a copy is included in the LICENSE file that 1565668Skris * accompanied this code). 1692559Sdes * 1765668Skris * You should have received a copy of the GNU General Public License version 1865668Skris * 2 along with this work; if not, write to the Free Software Foundation, 1965668Skris * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 2065668Skris * 2165668Skris * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 2265668Skris * or visit www.oracle.com if you need additional information or have any 2365668Skris * questions. 2465668Skris */ 2565668Skris 2665668Skrispackage com.sun.corba.se.impl.protocol.giopmsgheaders; 2765668Skris 2865668Skrisimport com.sun.corba.se.spi.servicecontext.ServiceContexts; 2965668Skrisimport org.omg.CORBA.SystemException; 3065668Skrisimport com.sun.corba.se.spi.ior.IOR; 3165668Skris 3265668Skris/** 3365668Skris * This interface captures the ReplyMessage contract. 3465668Skris * 3565668Skris * @author Ram Jeyaraman 05/14/2000 3665668Skris */ 3765668Skris 3857429Smarkmpublic interface ReplyMessage extends Message, LocateReplyOrReplyMessage { 3992559Sdes 4092559Sdes // Note: If the value, order, or number of these constants change, 4157429Smarkm // please update the REPLY_MESSAGE_TO_PI_REPLY_STATUS table in PIHandlerImpl. 4257429Smarkm int NO_EXCEPTION = 0; 4357429Smarkm int USER_EXCEPTION = 1; 4457429Smarkm int SYSTEM_EXCEPTION = 2; 4557429Smarkm int LOCATION_FORWARD = 3; 4657429Smarkm int LOCATION_FORWARD_PERM = 4; // 1.2 4757429Smarkm int NEEDS_ADDRESSING_MODE = 5; // 1.2 4860573Skris 4960573Skris ServiceContexts getServiceContexts(); 5060573Skris void setServiceContexts( ServiceContexts sc ); 5160573Skris void setIOR( IOR newIOR ); 5260573Skris} 5376262Sgreen