You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Emmanuel Lecharny (JIRA)" <ji...@apache.org> on 2014/09/05 11:40:29 UTC

[jira] [Updated] (DIRMINA-980) Missing implementation of write() method in SerialSessionImpl.SerialIoProcessor

     [ https://issues.apache.org/jira/browse/DIRMINA-980?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny updated DIRMINA-980:
--------------------------------------
    Fix Version/s: 2.0.8

> 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.2, 2.0.7
>         Environment: Windows server 2012, Java8, mina-core-2.07.jar, mina-transport-serial-2.0.2.jar
>            Reporter: Saar Partush
>            Priority: Blocker
>             Fix For: 2.0.8
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> 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.3.4#6332)