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/10/01 11:18:55 UTC

Re: BroadcastIoSession merged into IoSession

Will that be 2.0?

On 9/27/07, Trustin Lee <tr...@gmail.com> wrote:
>
> Hi folks,
>
> I merged the only one method (i.e. write(Object message, SocketAddress
> remoteAddress)) in BroadcastIoSession, so there's no more
> BroadcastIoSession.  I also explicitly documented it to be an optional
> operation and therefore calling the method in non-connectionless
> transports will throw a UnsupportedOperationException.  There are two
> reasons why I did so:
>
> * It's not used often but it doesn't worth an interface either.
> * It has a wrong name; it's not really for broadcasting but for
> sending a message to an alternative recipient.
>
> Please let me know if you have any concern regarding this change.
>
> Trustin
> --
> what we call human nature is actually human habit
> --
> http://gleamynode.net/
> --
> PGP Key ID: 0x0255ECA6
>

Re: BroadcastIoSession merged into IoSession

Posted by Trustin Lee <tr...@gmail.com>.
On 10/1/07, mat <fo...@gmail.com> wrote:
> Will that be 2.0?

Yes.

Trustin

> On 9/27/07, Trustin Lee <tr...@gmail.com> wrote:
> >
> > Hi folks,
> >
> > I merged the only one method (i.e. write(Object message, SocketAddress
> > remoteAddress)) in BroadcastIoSession, so there's no more
> > BroadcastIoSession.  I also explicitly documented it to be an optional
> > operation and therefore calling the method in non-connectionless
> > transports will throw a UnsupportedOperationException.  There are two
> > reasons why I did so:
> >
> > * It's not used often but it doesn't worth an interface either.
> > * It has a wrong name; it's not really for broadcasting but for
> > sending a message to an alternative recipient.
> >
> > Please let me know if you have any concern regarding this change.
> >
> > 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