KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > corba > se > impl > protocol > giopmsgheaders > ReplyMessage


1 /*
2  * @(#)ReplyMessage.java 1.13 04/06/21
3  *
4  * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
5  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6  */

7
8 package com.sun.corba.se.impl.protocol.giopmsgheaders;
9
10 import com.sun.corba.se.spi.servicecontext.ServiceContexts;
11 import org.omg.CORBA.SystemException JavaDoc;
12 import com.sun.corba.se.spi.ior.IOR;
13
14 /**
15  * This interface captures the ReplyMessage contract.
16  *
17  * @author Ram Jeyaraman 05/14/2000
18  * @version 1.0
19  */

20
21 public interface ReplyMessage extends Message, LocateReplyOrReplyMessage {
22
23     // Note: If the value, order, or number of these constants change,
24
// please update the REPLY_MESSAGE_TO_PI_REPLY_STATUS table in PIHandlerImpl.
25
int NO_EXCEPTION = 0;
26     int USER_EXCEPTION = 1;
27     int SYSTEM_EXCEPTION = 2;
28     int LOCATION_FORWARD = 3;
29     int LOCATION_FORWARD_PERM = 4; // 1.2
30
int NEEDS_ADDRESSING_MODE = 5; // 1.2
31

32     ServiceContexts getServiceContexts();
33     void setServiceContexts( ServiceContexts sc );
34     void setIOR( IOR newIOR );
35 }
36
Popular Tags