mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Nodet (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (SSHD-323) Provide a way to register custom channels
Date Tue, 03 Jun 2014 20:26:02 GMT

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

Guillaume Nodet resolved SSHD-323.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 0.12.0
         Assignee: Guillaume Nodet

https://git-wip-us.apache.org/repos/asf?p=mina-sshd.git;a=commit;h=c9974d18a5907012d5c5cd22c5a7365cad1a2824

You can now use:
{code}
session.getService(ConnectionService.class).registerChannel(channel);
{code}

> Provide a way to register custom channels
> -----------------------------------------
>
>                 Key: SSHD-323
>                 URL: https://issues.apache.org/jira/browse/SSHD-323
>             Project: MINA SSHD
>          Issue Type: Improvement
>    Affects Versions: 0.11.0
>            Reporter: Darren Shepherd
>            Assignee: Guillaume Nodet
>            Priority: Minor
>             Fix For: 0.12.0
>
>
> In 0.9 there existed a method org.apache.sshd.common.Session.registerChannel(Channel)
that could be used to add you own custom channel.  It would be useful if this method, or the
similar functionality was added back.  The main reason for registering a custom channel is
not necessarily to add a different channel type, but instead sub class an existing Channel
to add different logic to respond to the messages.



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

Mime
View raw message