public interface ClientRequestDispatcher
ClientRequestDispatcher coordinates the request (and possible
response) processing for a specific protocol.| Modifier and Type | Method and Description |
|---|---|
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. |
void |
endRequest(Broker broker,
Object self,
InputObject inputObject)
After the presentation block completes a request it signals
the PEPt runtime by calling this method.
|
InputObject |
marshalingComplete(Object self,
OutputObject outputObject)
After the presentation block has set data on the
OutputObject
it signals the PEPt runtime to send the encoded data by calling this
method. |
OutputObject beginRequest(Object self, String methodName, boolean isOneWay, ContactInfo contactInfo)
OutputObject
to set data to be sent on a message.self - -methodName - - the remote method nameisOneWay - - true if the message is asynchronouscontactInfo - - the
ContactInfo
which which created/chose this ClientRequestDispatcherOutputObjectInputObject marshalingComplete(Object self, OutputObject outputObject) throws ApplicationException, RemarshalException
OutputObject
it signals the PEPt runtime to send the encoded data by calling this
method.self - -outputObject - InputObject
if the message is synchronous.{@link - org.omg.CORBA.portable.ApplicationException ApplicationException}
if the remote side raises an exception declared in the remote interface.{@link - org.omg.CORBA.portable.RemarshalException RemarshalException}
if the PEPt runtime would like the presentation block to start over.ApplicationExceptionRemarshalExceptionvoid endRequest(Broker broker, Object self, InputObject inputObject)
broker - -inputObject - -Copyright © 2018 JBoss by Red Hat. All rights reserved.