public class CorbaClientRequestDispatcherImpl extends Object implements ClientRequestDispatcher
| Constructor and Description |
|---|
CorbaClientRequestDispatcherImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addCodeSetServiceContext(CorbaConnection conn,
ServiceContexts ctxs,
GIOPVersion giopVersion) |
protected void |
addServiceContexts(CorbaMessageMediator messageMediator) |
OutputObject |
beginRequest(Object self,
String opName,
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. |
protected void |
consumeServiceContexts(ORB orb,
CorbaMessageMediator messageMediator) |
protected void |
continueOrThrowSystemOrRemarshal(CorbaMessageMediator messageMediator,
Exception exception) |
protected void |
dprint(String msg) |
void |
endRequest(Broker broker,
Object self,
InputObject inputObject)
After the presentation block completes a request it signals
the PEPt runtime by calling this method.
|
protected CorbaContactInfoListIterator |
getContactInfoListIterator(ORB orb) |
protected void |
getExceptionDetailMessage(CorbaMessageMediator messageMediator,
ORBUtilSystemException wrapper) |
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. |
InputObject |
marshalingComplete1(ORB orb,
CorbaMessageMediator messageMediator) |
protected String |
opAndId(CorbaMessageMediator mediator) |
protected String |
peekUserExceptionId(InputObject inputObject) |
protected void |
performCodeSetNegotiation(CorbaMessageMediator messageMediator) |
protected InputObject |
processResponse(ORB orb,
CorbaMessageMediator messageMediator,
InputObject inputObject) |
protected void |
registerWaiter(CorbaMessageMediator messageMediator) |
protected void |
unregisterWaiter(ORB orb) |
public OutputObject beginRequest(Object self, String opName, boolean isOneWay, ContactInfo contactInfo)
ClientRequestDispatcherOutputObject
to set data to be sent on a message.beginRequest in interface ClientRequestDispatcherself - -opName - - the remote method nameisOneWay - - true if the message is asynchronouscontactInfo - - the
ContactInfo
which which created/chose this ClientRequestDispatcherOutputObjectpublic InputObject marshalingComplete(Object self, OutputObject outputObject) throws ApplicationException, RemarshalException
ClientRequestDispatcherOutputObject
it signals the PEPt runtime to send the encoded data by calling this
method.marshalingComplete in interface ClientRequestDispatcherself - -InputObject
if the message is synchronous.ApplicationExceptionRemarshalExceptionpublic InputObject marshalingComplete1(ORB orb, CorbaMessageMediator messageMediator) throws ApplicationException, RemarshalException
protected InputObject processResponse(ORB orb, CorbaMessageMediator messageMediator, InputObject inputObject) throws ApplicationException, RemarshalException
protected void continueOrThrowSystemOrRemarshal(CorbaMessageMediator messageMediator, Exception exception) throws SystemException, RemarshalException
SystemExceptionRemarshalExceptionprotected CorbaContactInfoListIterator getContactInfoListIterator(ORB orb)
protected void registerWaiter(CorbaMessageMediator messageMediator)
protected void unregisterWaiter(ORB orb)
protected void addServiceContexts(CorbaMessageMediator messageMediator)
protected void consumeServiceContexts(ORB orb, CorbaMessageMediator messageMediator)
protected void getExceptionDetailMessage(CorbaMessageMediator messageMediator, ORBUtilSystemException wrapper)
public void endRequest(Broker broker, Object self, InputObject inputObject)
ClientRequestDispatcherendRequest in interface ClientRequestDispatcherbroker - -inputObject - -protected void performCodeSetNegotiation(CorbaMessageMediator messageMediator)
protected void addCodeSetServiceContext(CorbaConnection conn, ServiceContexts ctxs, GIOPVersion giopVersion)
protected String peekUserExceptionId(InputObject inputObject)
protected void dprint(String msg)
protected String opAndId(CorbaMessageMediator mediator)
Copyright © 2018 JBoss by Red Hat. All rights reserved.