{
HessianRPCCallMessage result = null;
boolean getNextMessage = true;
if (in == null || in.isClosed() || in.getInputStream() != inx)
{
in = new Hessian2Input(inx);
in.setSerializerFactory(sFactory);
}
while (ctx.getChannel().isConnected() && getNextMessage)
{
try