1. /*
  2. * @(#)ClientDelegate.java 1.11 03/12/19
  3. *
  4. * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package com.sun.corba.se.pept.protocol;
  8. import com.sun.corba.se.pept.broker.Broker;
  9. import com.sun.corba.se.pept.transport.ContactInfoList;
  10. /**
  11. * <p>The presentation block interacts with the PEPt architecture
  12. * via the <code>ClientDelegate</code>.</p>
  13. *
  14. * @author Harold Carr
  15. */
  16. public interface ClientDelegate
  17. {
  18. /**
  19. * The {@link com.sun.corba.se.pept.broker.Broker Broker} associated
  20. * with an invocation.
  21. *
  22. * @return {@link com.sun.corba.se.pept.broker.Broker Broker}
  23. */
  24. public Broker getBroker();
  25. /**
  26. * Get the
  27. * {@link com.sun.corba.se.pept.transport.ContactInfoList ContactInfoList}
  28. * which represents they encoding/protocol/transport combinations that
  29. * may be used to contact the service.
  30. *
  31. * @return
  32. * {@link com.sun.corba.se.pept.transport.ContactInfoList ContactInfoList}
  33. */
  34. public ContactInfoList getContactInfoList();
  35. }
  36. // End of file.