Channel.write(Object obj)
Christian Migowski
chrismfwrd at gmail.com
Thu Jan 7 10:24:25 EST 2010
Hi Michael,
now it is clear: you're writing to the ServerChannel - what are you
trying to achieve with this? (i.e. this is the problem). The
ServerChannel is only for accepting incoming connections.
What you want to do is to write to a client channel, i.e. when
channelOpen is called in your NJServerHandler, store the reference
retrieved from e.getChannel() somewhere and use this for writing -
this should work.
regards,
christian!
On Thu, Jan 7, 2010 at 4:12 PM, MichaelW86 <fox_mpxygyu at kurzepost.de> wrote:
>
> I should add, that this Exception is send regardless whether a Channel is
> connected and opened or not.
>
> Regards, Michael
> --
> View this message in context: http://n2.nabble.com/Channel-write-Object-obj-tp4263112p4266913.html
> Sent from the Netty User Group mailing list archive at Nabble.com.
> _______________________________________________
> netty-users mailing list
> netty-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/netty-users
>
More information about the netty-users
mailing list