You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2014/06/03 22:26:02 UTC
[jira] [Resolved] (SSHD-323) Provide a way to register custom
channels
[ 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)