[netty-users] Client serverChannel.write("myString") throws ClassCastException exception

imagenesis imagenesis at gmail.com
Mon Nov 17 15:05:26 EST 2008


I am successfully connecting my client to the server. Then I am using the
ChannelFutureListener to confirm that the connection was successful and grab
the channel by doing serverChannel = f.getChannel();
The thing is, when I try to write to that channel (the client writing to
server) I am getting a java.lang.ClassCastException: java.lang.String. 
-- 
View this message in context: http://n2.nabble.com/Client-serverChannel.write%28%22myString%22%29-throws-ClassCastException-exception-tp1511015p1511015.html
Sent from the Netty User Group mailing list archive at Nabble.com.




More information about the netty-users mailing list