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

Missing implementation of write() method in SerialSessionImpl.SerialIoProcessor

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 2.0.2, 2.0.7
    • 2.0.8
    • Transport
    • None
    • 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

            Unassigned Unassigned
            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