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

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

WDYT of adding a class in o.a.mina.common called SessionWriter with the 
folowing static method :
public static WriteFuture write(Set<IoSession> sessions,Object message); 
public static WriteFuture write(IoSession[] sessions,Object message); 


> 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