FileDocCategorySizeDatePackage
MessageMediator.javaAPI DocJava SE 5 API2954Fri Aug 26 14:54:34 BST 2005com.sun.corba.se.pept.protocol

MessageMediator

public interface MessageMediator
MessageMediator is a central repository for artifacts associated with an individual message.
author
Harold Carr

Fields Summary
Constructors Summary
Methods Summary
public voidfinishSendingRequest()
Used to send the message (or its last fragment). Note: this should be moved to a RequestDispatcher.

public com.sun.corba.se.pept.broker.BrokergetBroker()
The {@link com.sun.corba.se.pept.broker.Broker Broker} associated with an invocation.

return
{@link com.sun.corba.se.pept.broker.Broker Broker}

public com.sun.corba.se.pept.transport.ConnectiongetConnection()
Get the {@link com.sun.corba.se.pept.transport.Connection Connection} on which this message is sent or received.

public com.sun.corba.se.pept.transport.ContactInfogetContactInfo()
Get the {@link com.sun.corba.se.pept.transport.ContactInfo ContactInfo} which created this MessageMediator.

return
{@link com.sun.corba.se.pept.transport.ContactInfo ContactInfo}

public com.sun.corba.se.pept.encoding.InputObjectgetInputObject()
Used to get the {@link com.sun.corba.se.pept.encoding.InputObject InputObject} used for the message.

return
{@link com.sun.corba.se.pept.encoding.InputObject InputObject}

public com.sun.corba.se.pept.encoding.OutputObjectgetOutputObject()
Used to get the {@link com.sun.corba.se.pept.encoding.OutputObject OutputObject} used for the message.

return
{@link com.sun.corba.se.pept.encoding.OutputObject OutputObject}

public voidinitializeMessage()
Used to initialize message headers. Note: this should be moved to a RequestDispatcher.

public voidsetInputObject(com.sun.corba.se.pept.encoding.InputObject inputObject)
Used to set the {@link com.sun.corba.se.pept.encoding.InputObject InputObject} used for the message.

param
inputObject

public voidsetOutputObject(com.sun.corba.se.pept.encoding.OutputObject outputObject)
Used to set the {@link com.sun.corba.se.pept.encoding.OutputObject OutputObject} used for the message.

param
outputObject

public com.sun.corba.se.pept.encoding.InputObjectwaitForResponse()
Used to wait for a response for synchronous messages.

deprecated