Package com.sun.corba.se.spi.protocol
Interface CorbaMessageMediator
- All Superinterfaces:
MessageMediator,ResponseHandler
- All Known Implementing Classes:
CorbaMessageMediatorImpl
- Author:
- Harold Carr
-
Method Summary
Modifier and TypeMethodDescriptionCalled by the servant during a method invocation.Called by the servant during a method invocation.booleanbooleanbooleanshortshortbyteintbytebyteintvoidhandleDIIReply(InputStream inputStream) booleanbooleanbooleanbooleanisOneWay()booleanbooleanvoidvoidsetDIIException(Exception exception) voidsetDIIInfo(Request request) voidsetDispatchBuffer(ByteBuffer byteBuffer) voidsetDispatchHeader(Message msg) voidsetExecutePIInResponseConstructor(boolean b) voidvoidsetExecuteReturnServantInResponseConstructor(boolean b) voidsetProtocolHandler(CorbaProtocolHandler protocolHandler) voidsetReplyExceptionDetailMessage(String message) voidunmarshalDIIUserException(String repoId, InputStream inputStream) Methods inherited from interface com.sun.corba.se.pept.protocol.MessageMediator
finishSendingRequest, getBroker, getConnection, getContactInfo, getInputObject, getOutputObject, initializeMessage, setInputObject, setOutputObject, waitForResponse
-
Method Details
-
setReplyHeader
-
getLocateReplyHeader
LocateReplyMessage getLocateReplyHeader() -
getReplyHeader
ReplyMessage getReplyHeader() -
setReplyExceptionDetailMessage
-
getRequestHeader
RequestMessage getRequestHeader() -
getGIOPVersion
GIOPVersion getGIOPVersion() -
getEncodingVersion
byte getEncodingVersion() -
getRequestId
int getRequestId() -
getRequestIdInteger
Integer getRequestIdInteger() -
isOneWay
boolean isOneWay() -
getAddrDisposition
short getAddrDisposition() -
getOperationName
String getOperationName() -
getRequestServiceContexts
ServiceContexts getRequestServiceContexts() -
getReplyServiceContexts
ServiceContexts getReplyServiceContexts() -
getDispatchHeader
Message getDispatchHeader() -
setDispatchHeader
-
getDispatchBuffer
ByteBuffer getDispatchBuffer() -
setDispatchBuffer
-
getThreadPoolToUse
int getThreadPoolToUse() -
getStreamFormatVersion
byte getStreamFormatVersion() -
getStreamFormatVersionForReply
byte getStreamFormatVersionForReply() -
sendCancelRequestIfFinalFragmentNotSent
void sendCancelRequestIfFinalFragmentNotSent() -
setDIIInfo
-
isDIIRequest
boolean isDIIRequest() -
unmarshalDIIUserException
-
setDIIException
-
handleDIIReply
-
isSystemExceptionReply
boolean isSystemExceptionReply() -
isUserExceptionReply
boolean isUserExceptionReply() -
isLocationForwardReply
boolean isLocationForwardReply() -
isDifferentAddrDispositionRequestedReply
boolean isDifferentAddrDispositionRequestedReply() -
getAddrDispositionReply
short getAddrDispositionReply() -
getForwardedIOR
IOR getForwardedIOR() -
getSystemExceptionReply
SystemException getSystemExceptionReply() -
getObjectKey
ObjectKey getObjectKey() -
setProtocolHandler
-
getProtocolHandler
CorbaProtocolHandler getProtocolHandler() -
createReply
OutputStream createReply()Description copied from interface:ResponseHandlerCalled by the servant during a method invocation. The servant should call this method to create a reply marshal buffer if no exception occurred.- Specified by:
createReplyin interfaceResponseHandler- Returns:
- an OutputStream suitable for marshalling the reply.
- See Also:
-
createExceptionReply
OutputStream createExceptionReply()Description copied from interface:ResponseHandlerCalled by the servant during a method invocation. The servant should call this method to create a reply marshal buffer if a user exception occurred.- Specified by:
createExceptionReplyin interfaceResponseHandler- Returns:
- an OutputStream suitable for marshalling the exception ID and the user exception body.
-
executeReturnServantInResponseConstructor
boolean executeReturnServantInResponseConstructor() -
setExecuteReturnServantInResponseConstructor
void setExecuteReturnServantInResponseConstructor(boolean b) -
executeRemoveThreadInfoInResponseConstructor
boolean executeRemoveThreadInfoInResponseConstructor() -
setExecuteRemoveThreadInfoInResponseConstructor
void setExecuteRemoveThreadInfoInResponseConstructor(boolean b) -
executePIInResponseConstructor
boolean executePIInResponseConstructor() -
setExecutePIInResponseConstructor
void setExecutePIInResponseConstructor(boolean b)
-