private static string Callback(string inputString, RpcServer rpcServer) { var testMessage = TestMessage.FromString(inputString); var testMessageReply = new TestMessageReply(); testMessageReply.messageid = "0"; testMessageReply.consumerid = rpcServer.GetId(); testMessageReply.content = testMessage.content * 10; testMessageReply.testmessage = testMessage; var result = testMessageReply.ToJson(); return(result); }