Class CommandDispatcherBroadcastEndpoint

java.lang.Object
org.wildfly.extension.messaging.activemq.broadcast.CommandDispatcherBroadcastEndpoint
All Implemented Interfaces:
org.apache.activemq.artemis.api.core.BroadcastEndpoint

public class CommandDispatcherBroadcastEndpoint extends Object implements org.apache.activemq.artemis.api.core.BroadcastEndpoint
A BroadcastEndpoint based on a CommandDispatcher.
Author:
Paul Ferraro
  • Constructor Details

  • Method Details

    • openClient

      public void openClient() throws Exception
      Specified by:
      openClient in interface org.apache.activemq.artemis.api.core.BroadcastEndpoint
      Throws:
      Exception
    • openBroadcaster

      public void openBroadcaster() throws Exception
      Specified by:
      openBroadcaster in interface org.apache.activemq.artemis.api.core.BroadcastEndpoint
      Throws:
      Exception
    • close

      public void close(boolean isBroadcast) throws Exception
      Specified by:
      close in interface org.apache.activemq.artemis.api.core.BroadcastEndpoint
      Throws:
      Exception
    • broadcast

      public void broadcast(byte[] data) throws Exception
      Specified by:
      broadcast in interface org.apache.activemq.artemis.api.core.BroadcastEndpoint
      Throws:
      Exception
    • receiveBroadcast

      public byte[] receiveBroadcast() throws Exception
      Specified by:
      receiveBroadcast in interface org.apache.activemq.artemis.api.core.BroadcastEndpoint
      Throws:
      Exception
    • receiveBroadcast

      public byte[] receiveBroadcast(long time, TimeUnit unit) throws Exception
      Specified by:
      receiveBroadcast in interface org.apache.activemq.artemis.api.core.BroadcastEndpoint
      Throws:
      Exception