Interface ServerBidibMessageProcessor

  • All Superinterfaces:
    org.bidib.jbidibc.core.BidibMessageProcessor, org.bidib.jbidibc.messages.MessageProcessor
    All Known Implementing Classes:
    ServerMessageReceiver

    public interface ServerBidibMessageProcessor
    extends org.bidib.jbidibc.core.BidibMessageProcessor
    • Field Summary

      • Fields inherited from interface org.bidib.jbidibc.core.BidibMessageProcessor

        IGNORE_WRONG_MESSAGE_NUMBER
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void disable()  
      void enable()  
      void publishResponse​(java.io.ByteArrayOutputStream output)
      Publish the response in the provided byte array output stream.
      • Methods inherited from interface org.bidib.jbidibc.core.BidibMessageProcessor

        addMessageListener, addNodeListener, getErrorInformation, removeMessageListener, removeNodeListener
      • Methods inherited from interface org.bidib.jbidibc.messages.MessageProcessor

        processMessages
    • Method Detail

      • publishResponse

        void publishResponse​(java.io.ByteArrayOutputStream output)
                      throws org.bidib.jbidibc.messages.exception.ProtocolException
        Publish the response in the provided byte array output stream.
        Parameters:
        output - the output stream that contains the responses
        Throws:
        org.bidib.jbidibc.messages.exception.ProtocolException - when can't provide sequence