1. /*
  2. * @(#)ClientGIOP.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. import com.sun.corba.se.internal.corba.ClientDelegate;
  9. import com.sun.corba.se.internal.core.IOR;
  10. import com.sun.corba.se.internal.iiop.Connection ;
  11. /**
  12. * ClientGIOP contains the client-side GIOP APIs. There can be
  13. * multiple implementations of this GIOP transport.
  14. */
  15. public interface ClientGIOP {
  16. /* (KMC) I have removed the createRequest APIs. The problem was that
  17. * this API required the ServiceContext at too early a stage in the
  18. * process of constructing a request, since transport level information
  19. * like the connection and the request ID is required for constructing the
  20. * ServiceContext. All of the control logic is now in the subcontract.
  21. */
  22. /** Get a Connection that can be used to transmit a request.
  23. */
  24. public Connection getConnection( IOR ior ) ;
  25. /**
  26. * Allocate a new request id.
  27. */
  28. public int allocateRequestId();
  29. /**
  30. * Send a locate request.
  31. */
  32. public IOR locate(IOR ior);
  33. }