1. /*
  2. * @(#)RequestMessage.java 1.8 03/01/23
  3. *
  4. * Copyright 2003 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package com.sun.corba.se.internal.iiop.messages;
  8. import org.omg.CORBA.Principal;
  9. import com.sun.corba.se.internal.ior.ObjectKey;
  10. import com.sun.corba.se.internal.core.ServiceContexts;
  11. /**
  12. * This interface captures the RequestMessage contract.
  13. *
  14. * @author Ram Jeyaraman 05/14/2000
  15. * @version 1.0
  16. */
  17. public interface RequestMessage extends Message {
  18. byte RESPONSE_EXPECTED_BIT = 0x01;
  19. ServiceContexts getServiceContexts();
  20. int getRequestId();
  21. boolean isResponseExpected();
  22. byte[] getReserved();
  23. ObjectKey getObjectKey();
  24. String getOperation();
  25. Principal getPrincipal();
  26. } // interface RequestMessage