mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Saar Partush (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DIRMINA-980) Missing implementation of write() method in SerialSessionImpl.SerialIoProcessor
Date Thu, 12 Jun 2014 09:22:01 GMT
Saar Partush created DIRMINA-980:
------------------------------------

             Summary: Missing implementation of write() method in SerialSessionImpl.SerialIoProcessor
                 Key: DIRMINA-980
                 URL: https://issues.apache.org/jira/browse/DIRMINA-980
             Project: MINA
          Issue Type: Bug
          Components: Transport
    Affects Versions: 2.0.7, 2.0.2
         Environment: Windows server 2012, Java8, mina-core-2.07.jar, mina-transport-serial-2.0.2.jar
            Reporter: Saar Partush
            Priority: Blocker


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.




--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message