You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by mat <fo...@gmail.com> on 2007/11/23 01:21:52 UTC

Boardcast

How can I implement boardcast in my application before Mina 2.0 releases?
Any suggestion? Thanks.

Re: Boardcast

Posted by Trustin Lee <tr...@gmail.com>.
Hi Mat,

Well, you will have to backport them by yourself and that's all.

Trustin

On Nov 23, 2007 4:21 PM, mat <fo...@gmail.com> wrote:
> Actually I am talking about :
>  broadcast
>
> public static List
> <http://java.sun.com/j2se/1.5.0/docs/api/java/util/List.html?is-external=true><WriteFuture
> <http://mina.apache.org/report/trunk/apidocs/org/apache/mina/common/WriteFuture.html>>
> *broadcast*(Object
> <http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true>
> message,
>                                           Collection
> <http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html?is-external=true><IoSession
> <http://mina.apache.org/report/trunk/apidocs/org/apache/mina/common/IoSession.html>>
> sessions)
>
> in the trunk.
>
>
>
> On 11/23/07, Trustin Lee <tr...@gmail.com> wrote:
> >
> > On Nov 23, 2007 9:21 AM, mat <fo...@gmail.com> wrote:
> > > How can I implement boardcast in my application before Mina 2.0releases?
> > > Any suggestion? Thanks.
> >
> > IIRC, it's not different from MINA 2.0.  Just send some datagram to
> > 255.255.255.255 after setting the broadcast property in session
> > configuration.
> >
> > HTH,
> > Trustin
> > --
> > what we call human nature is actually human habit
> > --
> > http://gleamynode.net/
> > --
> > PGP Key ID: 0x0255ECA6
> >
>



-- 
what we call human nature is actually human habit
--
http://gleamynode.net/
--
PGP Key ID: 0x0255ECA6

Re: Boardcast

Posted by mat <fo...@gmail.com>.
Actually I am talking about :
 broadcast

public static List
<http://java.sun.com/j2se/1.5.0/docs/api/java/util/List.html?is-external=true><WriteFuture
<http://mina.apache.org/report/trunk/apidocs/org/apache/mina/common/WriteFuture.html>>
*broadcast*(Object
<http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true>
message,
                                          Collection
<http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html?is-external=true><IoSession
<http://mina.apache.org/report/trunk/apidocs/org/apache/mina/common/IoSession.html>>
sessions)

in the trunk.


On 11/23/07, Trustin Lee <tr...@gmail.com> wrote:
>
> On Nov 23, 2007 9:21 AM, mat <fo...@gmail.com> wrote:
> > How can I implement boardcast in my application before Mina 2.0releases?
> > Any suggestion? Thanks.
>
> IIRC, it's not different from MINA 2.0.  Just send some datagram to
> 255.255.255.255 after setting the broadcast property in session
> configuration.
>
> HTH,
> Trustin
> --
> what we call human nature is actually human habit
> --
> http://gleamynode.net/
> --
> PGP Key ID: 0x0255ECA6
>

Re: Boardcast

Posted by Trustin Lee <tr...@gmail.com>.
On Nov 23, 2007 9:21 AM, mat <fo...@gmail.com> wrote:
> How can I implement boardcast in my application before Mina 2.0 releases?
> Any suggestion? Thanks.

IIRC, it's not different from MINA 2.0.  Just send some datagram to
255.255.255.255 after setting the broadcast property in session
configuration.

HTH,
Trustin
-- 
what we call human nature is actually human habit
--
http://gleamynode.net/
--
PGP Key ID: 0x0255ECA6