Package com.sun.corba.se.impl.protocol
Class CorbaClientRequestDispatcherImpl
java.lang.Object
com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl
- All Implemented Interfaces:
ClientRequestDispatcher
- Direct Known Subclasses:
SharedCDRClientRequestDispatcherImpl
ClientDelegate is the RMI client-side subcontract or representation
It implements RMI delegate as well as our internal ClientRequestDispatcher
interface.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddCodeSetServiceContext(CorbaConnection conn, ServiceContexts ctxs, GIOPVersion giopVersion) protected voidaddServiceContexts(CorbaMessageMediator messageMediator) beginRequest(Object self, String opName, boolean isOneWay, ContactInfo contactInfo) At the beginning of a request the presentation block uses this to obtain anOutputObjectto set data to be sent on a message.protected voidconsumeServiceContexts(ORB orb, CorbaMessageMediator messageMediator) protected voidcontinueOrThrowSystemOrRemarshal(CorbaMessageMediator messageMediator, Exception exception) protected voidvoidendRequest(Broker broker, Object self, InputObject inputObject) After the presentation block completes a request it signals the PEPt runtime by calling this method.protected CorbaContactInfoListIteratorprotected voidgetExceptionDetailMessage(CorbaMessageMediator messageMediator, ORBUtilSystemException wrapper) marshalingComplete(Object self, OutputObject outputObject) After the presentation block has set data on theOutputObjectit signals the PEPt runtime to send the encoded data by calling this method.marshalingComplete1(ORB orb, CorbaMessageMediator messageMediator) protected StringopAndId(CorbaMessageMediator mediator) protected StringpeekUserExceptionId(InputObject inputObject) protected voidperformCodeSetNegotiation(CorbaMessageMediator messageMediator) protected InputObjectprocessResponse(ORB orb, CorbaMessageMediator messageMediator, InputObject inputObject) protected voidregisterWaiter(CorbaMessageMediator messageMediator) protected voidunregisterWaiter(ORB orb)
-
Constructor Details
-
CorbaClientRequestDispatcherImpl
public CorbaClientRequestDispatcherImpl()
-
-
Method Details
-
beginRequest
public OutputObject beginRequest(Object self, String opName, boolean isOneWay, ContactInfo contactInfo) Description copied from interface:ClientRequestDispatcherAt the beginning of a request the presentation block uses this to obtain anOutputObjectto set data to be sent on a message.- Specified by:
beginRequestin interfaceClientRequestDispatcher- Parameters:
self- -opName- - the remote method nameisOneWay- -trueif the message is asynchronouscontactInfo- - theContactInfowhich which created/chose thisClientRequestDispatcher- Returns:
OutputObject
-
marshalingComplete
public InputObject marshalingComplete(Object self, OutputObject outputObject) throws ApplicationException, RemarshalException Description copied from interface:ClientRequestDispatcherAfter the presentation block has set data on theOutputObjectit signals the PEPt runtime to send the encoded data by calling this method.- Specified by:
marshalingCompletein interfaceClientRequestDispatcher- Parameters:
self- -- Returns:
InputObjectif the message is synchronous.- Throws:
ApplicationExceptionRemarshalException
-
marshalingComplete1
public InputObject marshalingComplete1(ORB orb, CorbaMessageMediator messageMediator) throws ApplicationException, RemarshalException -
processResponse
protected InputObject processResponse(ORB orb, CorbaMessageMediator messageMediator, InputObject inputObject) throws ApplicationException, RemarshalException -
continueOrThrowSystemOrRemarshal
protected void continueOrThrowSystemOrRemarshal(CorbaMessageMediator messageMediator, Exception exception) throws SystemException, RemarshalException - Throws:
SystemExceptionRemarshalException
-
getContactInfoListIterator
-
registerWaiter
-
unregisterWaiter
-
addServiceContexts
-
consumeServiceContexts
-
getExceptionDetailMessage
protected void getExceptionDetailMessage(CorbaMessageMediator messageMediator, ORBUtilSystemException wrapper) -
endRequest
Description copied from interface:ClientRequestDispatcherAfter the presentation block completes a request it signals the PEPt runtime by calling this method. This method may release resources. In some cases it may cause control or error messages to be sent.- Specified by:
endRequestin interfaceClientRequestDispatcher- Parameters:
broker- -inputObject- -
-
performCodeSetNegotiation
-
addCodeSetServiceContext
protected void addCodeSetServiceContext(CorbaConnection conn, ServiceContexts ctxs, GIOPVersion giopVersion) -
peekUserExceptionId
-
dprint
-
opAndId
-