Interface ClientRequestDispatcher

All Known Implementing Classes:
CorbaClientRequestDispatcherImpl, SharedCDRClientRequestDispatcherImpl

public interface ClientRequestDispatcher
ClientRequestDispatcher coordinates the request (and possible response) processing for a specific protocol.
Author:
Harold Carr
  • Method Details

    • beginRequest

      OutputObject beginRequest(Object self, String methodName, boolean isOneWay, ContactInfo contactInfo)
      At the beginning of a request the presentation block uses this to obtain an OutputObject to set data to be sent on a message.
      Parameters:
      self - -
      methodName - - the remote method name
      isOneWay - - true if the message is asynchronous
      contactInfo - - the ContactInfo which which created/chose this ClientRequestDispatcher
      Returns:
      OutputObject
    • marshalingComplete

      InputObject marshalingComplete(Object self, OutputObject outputObject) throws ApplicationException, RemarshalException
      After the presentation block has set data on the OutputObject it signals the PEPt runtime to send the encoded data by calling this method.
      Parameters:
      self - -
      outputObject -
      Returns:
      InputObject if the message is synchronous.
      Throws:
      ApplicationException
      RemarshalException
    • endRequest

      void endRequest(Broker broker, Object self, InputObject inputObject)
      After the presentation block completes a request it signals the PEPt runtime by calling this method. This method may release resources. In some cases it may cause control or error messages to be sent.
      Parameters:
      broker - -
      inputObject - -