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

Julien Vermillard commented on DIRMINA-432:
-------------------------------------------

The WriteFuture write(Object messsage); can be placed in IoService, but as 
Trustin thought  write(Set<IoSession>,Object message) need to go to a utility 
class because the set can be composed of session of different IoService.

> 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