Uploaded image for project: 'MINA'
  1. MINA
  2. DIRMINA-38

Adding a flush method to ProtocolEncoderOutput

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.7.0, 0.7.1, 0.8.0
    • 0.9.0
    • None
    • None

    Description

      It would be very interesting to have a flush method in ProtocolEncoderOutput interface, allowing the caller to send chunks of PDU without creating a full bufer to store it. The memory footprint could be greatly improved.

      This method could be blocking or not blocking (i.e, MINA could return a status after having sent the PDU chunk - blocking mode - or storing the PDU chunk in it's own buffer pool, and returning).

      wdyt?

      Attachments

        Issue Links

          Activity

            People

              trustin Trustin Lee
              elecharny Emmanuel Lécharny
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: