Interface MessageMediator

    • Method Detail

      • getRequestIdFromRawBytes

        RequestId getRequestIdFromRawBytes()
      • setReplyExceptionDetailMessage

        void setReplyExceptionDetailMessage​(java.lang.String message)
      • getEncodingVersion

        byte getEncodingVersion()
      • getRequestId

        int getRequestId()
      • isOneWay

        boolean isOneWay()
      • getOperationName

        java.lang.String getOperationName()
      • setRequestServiceContexts

        void setRequestServiceContexts​(ServiceContexts sc)
      • getDispatchHeader

        Message getDispatchHeader()
      • getThreadPoolToUse

        int getThreadPoolToUse()
      • dispatch

        boolean dispatch()
      • getStreamFormatVersion

        byte getStreamFormatVersion()
      • getStreamFormatVersionForReply

        byte getStreamFormatVersionForReply()
      • sendCancelRequestIfFinalFragmentNotSent

        void sendCancelRequestIfFinalFragmentNotSent()
      • setDIIInfo

        void setDIIInfo​(Request request)
      • isDIIRequest

        boolean isDIIRequest()
      • unmarshalDIIUserException

        java.lang.Exception unmarshalDIIUserException​(java.lang.String repoId,
                                                      InputStream inputStream)
      • setDIIException

        void setDIIException​(java.lang.Exception exception)
      • handleDIIReply

        void handleDIIReply​(InputStream inputStream)
      • isSystemExceptionReply

        boolean isSystemExceptionReply()
      • isUserExceptionReply

        boolean isUserExceptionReply()
      • isLocationForwardReply

        boolean isLocationForwardReply()
      • isDifferentAddrDispositionRequestedReply

        boolean isDifferentAddrDispositionRequestedReply()
      • getAddrDispositionReply

        short getAddrDispositionReply()
      • getForwardedIOR

        IOR getForwardedIOR()
      • cancelRequest

        void cancelRequest()
      • createExceptionReply

        OutputStream createExceptionReply()
        Description copied from interface: ResponseHandler
        Called 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:
        createExceptionReply in interface ResponseHandler
        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)
      • getBroker

        ORB getBroker()
      • initializeMessage

        void initializeMessage()
        Used to initialize message headers. Note: this should be moved to a RequestDispatcher.
      • finishSendingRequest

        void finishSendingRequest()
        Used to send the message (or its last fragment). Note: this should be moved to a RequestDispatcher.