Failed to build a middleman to pass connection between a server and a client

egg86 egg86_tam at yahoo.com
Mon Jan 17 01:45:25 EST 2011


Hi all,

I'm recently trying to write a middleman between server and client to manage
the connection.

The server will use one set of protocol, and client will use another set of
protocol. The middleman will be responsible to parse the message between two
sides.

I have designed the architecture like Server, serverInterface,
clientInterface, and Client; so Server will talk to serverInterface in their
protocol, and clientInterface and Client will talk in their own protocol.
The communication between their own set is successful, but combining both
set of communication (Client talks to Server through serverInterface and
clientInterface) is not successful. Always observed the exception thrown for
java.lang.NullPointerException.

Can anyone please help me on this. thanks.
-- 
View this message in context: http://netty-forums-and-mailing-lists.685743.n2.nabble.com/Failed-to-build-a-middleman-to-pass-connection-between-a-server-and-a-client-tp5930926p5930926.html
Sent from the Netty User Group mailing list archive at Nabble.com.


More information about the netty-users mailing list