Interface BroadcastIndicator

All Known Subinterfaces:
LazyLoadingScript, Script, TypedScript
All Known Implementing Classes:
ResourceLazyLoadingScript, StaticResourceScript, StaticScript

public interface BroadcastIndicator
An interface optionally implemented by the first parameter in a remote invocation to indicate if broadcasting is enabled or not.
Author:
kimchy
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the reducer that will be used in case broadcasting is enabled or not.
    Return true if broadcast should be enabled or not.
  • Method Details

    • shouldBroadcast

      Boolean shouldBroadcast()
      Return true if broadcast should be enabled or not. Return null if should not affect it in any manner.
    • getReducer

      RemoteResultReducer getReducer()
      Returns the reducer that will be used in case broadcasting is enabled or not.