Interface MessageMediator

All Known Subinterfaces:
CorbaMessageMediator
All Known Implementing Classes:
CorbaMessageMediatorImpl

public interface MessageMediator
MessageMediator is a central repository for artifacts associated with an individual message.
Author:
Harold Carr
  • Method Details

    • getBroker

      Broker getBroker()
      The Broker associated with an invocation.
      Returns:
      Broker
    • getContactInfo

      ContactInfo getContactInfo()
      Get the ContactInfo which created this MessageMediator.
      Returns:
      ContactInfo
    • getConnection

      Connection getConnection()
      Get the Connection on which this message is sent or received.
    • initializeMessage

      void initializeMessage()
      Used to initialize message headers. Note: this should be moved to a RequestDispatcher.
    • finishSendingRequest

      void finishSendingRequest()
      Used to send the message (or its last fragment). Note: this should be moved to a RequestDispatcher.
    • waitForResponse

      @Deprecated InputObject waitForResponse()
      Deprecated.
      Used to wait for a response for synchronous messages.
    • setOutputObject

      void setOutputObject(OutputObject outputObject)
      Used to set the OutputObject used for the message.
      Parameters:
      outputObject -
    • getOutputObject

      OutputObject getOutputObject()
      Used to get the OutputObject used for the message.
      Returns:
      OutputObject
    • setInputObject

      void setInputObject(InputObject inputObject)
      Used to set the InputObject used for the message.
      Parameters:
      inputObject -
    • getInputObject

      InputObject getInputObject()
      Used to get the InputObject used for the message.
      Returns:
      InputObject