Class MultiplexSendBytesService

    • Constructor Summary

      Constructors 
      Constructor Description
      MultiplexSendBytesService​(java.lang.String name, java.util.List<java.lang.String> remoteHostsList, int port, WriteByteStrategy writeByteStrategy, long reconnectionDelay, int queueSize)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isDebug()  
      void sendBytes​(byte[] serialized)
      A byte-sender is expected to send the given byte array if possible.
      void setDebug​(boolean debug)  
      void shutDown()  
      void startUp()  
      • Methods inherited from class java.lang.Object

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

      • MultiplexSendBytesService

        public MultiplexSendBytesService​(java.lang.String name,
                                         java.util.List<java.lang.String> remoteHostsList,
                                         int port,
                                         WriteByteStrategy writeByteStrategy,
                                         long reconnectionDelay,
                                         int queueSize)
    • Method Detail

      • isDebug

        public boolean isDebug()
      • setDebug

        public void setDebug​(boolean debug)
      • sendBytes

        public void sendBytes​(byte[] serialized)
        Description copied from interface: SendBytesService
        A byte-sender is expected to send the given byte array if possible. There is no guarantee that the bytes are really sent out, e.g. in case of an error. There is no feedback of any kind concerning success or failure!
        Specified by:
        sendBytes in interface SendBytesService
        Parameters:
        serialized - the bytes to send.