[ 
https://issues.apache.org/jira/browse/DIRMINA-432?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12527056
 ] 

Trustin Lee commented on DIRMINA-432:
-------------------------------------

I'd prefer MessageBroadcaster.  And users will want to know which peer failed 
to receive the broadcast message, so we need to return something different 
like....

* Map<IoSession, WriteFuture> or
* CompositeIoFuture (new interface) that can combine any IoFutures (e.g. 
ConnectFuture + WriteFuture).



> IoService method for writing Object to all the managed IoSession
> ----------------------------------------------------------------
>
>                 Key: DIRMINA-432
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-432
>             Project: MINA
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 0.7.0, 0.7.1, 0.7.2, 0.7.3, 0.7.4, 0.8.0, 0.8.1, 0.8.2, 
> 0.8.3, 0.8.4, 0.9.0, 0.9.1, 0.9.2, 0.9.3, 0.9.4, 0.9.5, 1.0.0, 1.0.1, 1.0.2, 
> 1.0.3, 1.1.0, 1.0.4, 1.1.1, 1.0.5, 1.1.2, 1.0.6, 1.1.3, 2.0.0-M1
>            Reporter: Julien Vermillard
>            Assignee: Julien Vermillard
>            Priority: Trivial
>             Fix For: 2.0.0-M1
>
>
> Would be convenient to ad a method to IoService for writing a message to all 
> the managed sessions.
> in IoService : 
> public WriteFuture writeAllSession(Object message);
> the implementation could be done in AbstractIoService.

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

Reply via email to