Class CloudBroadcastConsumer

    • Method Summary

      Modifier and Type Method Description
      java.lang.String getIpVersion()
      Returns the ip version to
      java.lang.String getNetInterfaceName()
      Returns the name of the net interface to broadcast messages.
      java.util.Map<java.lang.String,​java.lang.Object> getPingParameters()
      Returns the map with the implementation parameters for the broadcast ping message.
      java.lang.Integer getPort()
      Returns the port to initialize the broadcast server.
      java.lang.String getPrivateKey()
      Returns the private key for the consumer.
      java.lang.String getTaskName()
      Returns the name of the task.
      void onPing​(BroadcastService.PingMessage pingMessage)
      This method is invoked when the instance receive a broadcast ping message.
      void onPong​(BroadcastService.PongMessage pongMessage)
      This method is invoked when the instance receive a broadcast pong message.
      void onShutdown​(BroadcastService.ShutdownMessage shutdownMessage)
      This method is invoked when the instance receive a broadcast shutdown massage.
      • Methods inherited from class java.lang.Object

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

      • CloudBroadcastConsumer

        public CloudBroadcastConsumer()