[jboss-jira] [JBoss JIRA] (JGRP-2097) Add Channel back

Bela Ban (JIRA) issues at jboss.org
Wed Aug 24 02:06:00 EDT 2016


    [ https://issues.jboss.org/browse/JGRP-2097?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13283126#comment-13283126 ] 

Bela Ban edited comment on JGRP-2097 at 8/24/16 2:05 AM:
---------------------------------------------------------

Instead of making JChannel extend Channel (this would have required a lot of changes), the following changes were made:
* Channel is not an abstract class any longer, but a real class 
* A Channel is created with a ref to a JChannel
* All methods which were previously abstract are now non-abstract and delegate to the JChannel ref
* Code which returned a JChannel now need to return a Channel with a ref to JChannel, e.g. {{return new Channel(jchannel)}}.


was (Author: belaban):
Instead of making JChannel extend Channel (this would have required a lot of changes), the following changes were made:
* Channel is not an abstract class any longer, but a real class 
* A Channel is created with a ref to a JChannel
* All methods which were previously abstract are now non-abstract and delegate to the JChannel ref
* Code which returned a JChannel now need to return a Channel with a ref to JChannel, e.g. `return new Channel(jchannel)`

> Add Channel back
> ----------------
>
>                 Key: JGRP-2097
>                 URL: https://issues.jboss.org/browse/JGRP-2097
>             Project: JGroups
>          Issue Type: Task
>            Reporter: Bela Ban
>            Assignee: Bela Ban
>             Fix For: 4.0
>
>
> Channel was removed, but this broke existing apps. Re-introduce Channel and mark it as deprecated.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list