Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-14570

Protocol Parser should allow for code to be provided before the decode is invoked

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Obsolete
    • Icon: Major Major
    • 15.0.0.Dev01
    • 14.0.0.Final
    • Remote Protocols
    • None

      Some remote protocols may want to have some code to be invoked before decode. For example some protocols must parse commands in the order they are received and make sure the commands. In this case a simple way to implement this is by disabling auto read on the netty channel and not parse the next command until the prior one completes.

      The simplest way is to add a special named rule that the code can be written before decode.

            Unassigned Unassigned
            wburns@redhat.com Will Burns
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: