Class LocalApplicationEventChannelSupplier.LocalChannel

java.lang.Object
io.jmix.core.cluster.LocalApplicationEventChannelSupplier.LocalChannel
All Implemented Interfaces:
org.springframework.messaging.MessageChannel, org.springframework.messaging.SubscribableChannel
Enclosing class:
LocalApplicationEventChannelSupplier

protected static class LocalApplicationEventChannelSupplier.LocalChannel extends Object implements org.springframework.messaging.SubscribableChannel
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final List<org.springframework.messaging.MessageHandler>
     

    Fields inherited from interface org.springframework.messaging.MessageChannel

    INDEFINITE_TIMEOUT
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    send(org.springframework.messaging.Message<?> message, long timeout)
     
    boolean
    subscribe(org.springframework.messaging.MessageHandler handler)
     
    boolean
    unsubscribe(org.springframework.messaging.MessageHandler handler)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.springframework.messaging.MessageChannel

    send
  • Field Details

    • handlers

      protected final List<org.springframework.messaging.MessageHandler> handlers
  • Constructor Details

    • LocalChannel

      protected LocalChannel()
  • Method Details

    • subscribe

      public boolean subscribe(org.springframework.messaging.MessageHandler handler)
      Specified by:
      subscribe in interface org.springframework.messaging.SubscribableChannel
    • unsubscribe

      public boolean unsubscribe(org.springframework.messaging.MessageHandler handler)
      Specified by:
      unsubscribe in interface org.springframework.messaging.SubscribableChannel
    • send

      public boolean send(org.springframework.messaging.Message<?> message, long timeout)
      Specified by:
      send in interface org.springframework.messaging.MessageChannel