You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Trustin Lee (JIRA)" <ji...@apache.org> on 2007/01/30 03:05:49 UTC

[jira] Closed: (DIRMINA-340) Proxy example doesn't work.

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

Trustin Lee closed DIRMINA-340.
-------------------------------

    Resolution: Cannot Reproduce
      Assignee: Trustin Lee

I can't reproduce the problem.  All branches work fine with me.

Adding setTrafficMask is not necessary because ClientToProxyIoHandler.sessionOpened() already uses IoFutureListener to set the traffic mask.

> Proxy example doesn't work.
> ---------------------------
>
>                 Key: DIRMINA-340
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-340
>             Project: MINA
>          Issue Type: Bug
>          Components: Example
>    Affects Versions: 1.0.0, 1.0.1
>            Reporter: Trustin Lee
>         Assigned To: Trustin Lee
>            Priority: Minor
>             Fix For: 1.0.2
>
>
> The following is Scott's report.  We need to review it and apply the patch if necessary.
> On 12/1/06, Scott C. Ripley <sc...@scottripley.com> wrote:
>     hey all,
>     in order to get the mina-1.0.0 proxy example to work (as anticipated),
>     i had to modify:
>     ServerToProxyIoHandle.java
>     //...
>     public class ServerToProxyIoHandler extends AbstractProxyIoHandler
>     {
>        // previously empty method, added:
>        public void sessionOpened( final IoSession session ) throws Exception
>        {
>          session.setTrafficMask( TrafficMask.ALL );
>        }
>     }
>     //...
>     - am i missing anything?
>     - is this bad form, given the example?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.