public interface ClientRequestDispatcher
ClientRequestDispatcher coordinates the request (and possible
response) processing for a specific protocol.| Modifier and Type | Method and Description |
|---|---|
CDROutputObject |
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(ORB broker,
Object self,
CDRInputObject inputObject)
After the presentation block completes a request it signals
the PEPt runtime by calling this method.
|
CDRInputObject |
marshalingComplete(Object self,
CDROutputObject outputObject)
After the presentation block has set data on the CDROutputObject
it signals the PEPt runtime to send the encoded data by calling this
method.
|
CDROutputObject beginRequest(Object self, String methodName, boolean isOneWay, ContactInfo contactInfo)
self - -methodName - - the remote method nameisOneWay - - true if the message is asynchronouscontactInfo - - the CorbaContactInfo
which which created/chose this ClientRequestDispatcherCDRInputObject marshalingComplete(Object self, CDROutputObject outputObject) throws ApplicationException, RemarshalException
self - -outputObject - {@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(ORB broker, Object self, CDRInputObject inputObject)
broker - -inputObject - -Copyright © 2017–2019 Eclipse Foundation. All rights reserved.