Class OperationInvocationDispatcher

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      synchronized void dispatchReport(OperationInvokedReport report) Accepts a report and dispatches its report parts to registered SCO transactions.
      synchronized void registerTransaction(ScoTransactionImpl<out AbstractSetResponse> transaction) Registers an SCO transaction and delivers buffered reports immediately.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • dispatchReport

         synchronized void dispatchReport(OperationInvokedReport report)

        Accepts a report and dispatches its report parts to registered SCO transactions.

        By using registerTransaction, SCO transactions can be registered to get notified on incoming operation invoked report parts. If an SCO transaction is not registered by the time the first report pops up, reports are going to be buffered. Buffered "dead" reports are sanitized on each incoming report (see AWAITING_TRANSACTION_TIMEOUT).

        Parameters:
        report - the report to process.
      • registerTransaction

         synchronized void registerTransaction(ScoTransactionImpl<out AbstractSetResponse> transaction)

        Registers an SCO transaction and delivers buffered reports immediately.

        Once a final report is registered, the allocated heap used for the transaction is erased.

        Parameters:
        transaction - the transaction to