You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Mike van Goor (JIRA)" <ji...@apache.org> on 2014/06/12 11:48:01 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=14028976#comment-14028976 ] 

Mike van Goor commented on DIRMINA-980:
---------------------------------------

Hello,

Please do not use version 2.0.2.
Download mina transport serial 2.0.7

Link:
http://repo1.maven.org/maven2/org/apache/mina/mina-transport-serial/2.0.7/
All versions:
http://repo1.maven.org/maven2/org/apache/mina/mina-transport-serial/

I am actively using the mina transport serial (version 2.0.7) without any issues for a long time.

Regards,
Mike

> 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
>   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.2#6252)