KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*
2  * @(#)RequestMessage.java 1.11 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 org.omg.CORBA.Principal JavaDoc;
11 import com.sun.corba.se.spi.ior.ObjectKey;
12 import com.sun.corba.se.spi.servicecontext.ServiceContexts;
13
14 /**
15  * This interface captures the RequestMessage contract.
16  *
17  * @author Ram Jeyaraman 05/14/2000
18  * @version 1.0
19  */

20
21 public interface RequestMessage extends Message {
22
23     byte RESPONSE_EXPECTED_BIT = 0x01;
24
25     ServiceContexts getServiceContexts();
26     int getRequestId();
27     boolean isResponseExpected();
28     byte[] getReserved();
29     ObjectKey getObjectKey();
30     String JavaDoc getOperation();
31     Principal JavaDoc getPrincipal();
32
33     // NOTE: This is a SUN PROPRIETARY EXTENSION
34
void setThreadPoolToUse(int poolToUse);
35
36
37 } // interface RequestMessage
38
Popular Tags