1. /*
  2. * @(#)ClientRequest.java 1.22 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.core;
  8. /**
  9. * ClientRequest represents a client-side method invocation request.
  10. */
  11. public interface ClientRequest extends MarshalOutputStream, Request {
  12. /**
  13. * Process this invocation request.
  14. */
  15. public abstract ClientResponse invoke();
  16. /**
  17. * Resend the invocation to the IOR in the iorHolder, after a location
  18. * forward.
  19. * iorHolder must be an array of size 1.
  20. *
  21. * This methods reinvokes until it reaches
  22. * a non-location-forward response.
  23. *
  24. * Puts any subsequent forwarded IOR in the iorHolder.
  25. * Returns the ClientResponse as in invoke() above.
  26. */
  27. /* FIX(Ram J) (04/29/2000) not required anymore.
  28. public abstract ClientResponse reInvoke(IOR[] iorHolder);
  29. */
  30. /**
  31. * Resend the invocation to the IOR in the iorHolder, after a location
  32. * forward.
  33. * iorHolder must be an array of size 1.
  34. *
  35. * This methods reinvokes only once.
  36. *
  37. * Puts any subsequent forwarded IOR in the iorHolder.
  38. * Returns the ClientResponse as in invoke() above.
  39. */
  40. /* FIX(Ram J) (04/29/2000) not required anymore.
  41. public abstract ClientResponse reInvokeOnce(IOR[] iorHolder);
  42. */
  43. /**
  44. * Extracts body.
  45. */
  46. /* FIX(Ram J) (04/29/2000) not required anymore.
  47. public byte[] getBody();
  48. */
  49. }