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

Missing implementation of write() method in SerialSessionImpl.SerialIoProcessor

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.0.2, 2.0.7
    • Fix Version/s: 2.0.8
    • Component/s: Transport
    • Labels:
      None
    • Environment:
      Windows server 2012, Java8, mina-core-2.07.jar, mina-transport-serial-2.0.2.jar

      Description

      After creating MINA object for serial connection successfully I try to send data over the serial connection.
      My IoHandler implementation exceptionCought() is called.
      The throwable object contain the following:
      org.apache.mina.core.session.AbstractIoSession.<init>(Lorg/apache/mina/core/service/IoService;)V

      After debugging using the mina-transport-serial-2.0.2 sources I found out that the method write is missing from the implementation of SerialSessionImpl.SerialIoProcess. I could not build it.
      So I added the method like this:

      public void write(SerialSessionImpl session, WriteRequest writeRequest) {
      getWriterRequestQueue.offer(session, writeRequest) ;
      }

      and it worked fine.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              saarpa Saar Partush
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 24h
                24h
                Remaining:
                Remaining Estimate - 24h
                24h
                Logged:
                Time Spent - Not Specified
                Not Specified