Class SimpleSendBytesService

    • Field Detail

      • DEFAULT_RECONNECTION_DELAY

        public static final int DEFAULT_RECONNECTION_DELAY
        The default reconnection delay (30000 milliseconds or 30 seconds).
        See Also:
        Constant Field Values
    • Method Detail

      • isDebug

        public boolean isDebug()
      • setDebug

        public void setDebug​(boolean debug)
      • sendBytes

        public void sendBytes​(byte[] bytes)
        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:
        bytes - the bytes to send.