示例#1
0
        public ServerCall(ServiceName service, ServiceOperation operation, IDictionary jsonData, ServerCallback callback)
        {
            m_service = service.Value;
            m_operation = operation.Value;
            m_jsonData = jsonData;
            m_callback = callback;

            //string jsonData2 = JsonMapper.ToJson(m_jsonData);
            //Console.WriteLine("\n ServerCall::ServerCall -- json data -- " + jsonData2);
        }
示例#2
0
 /// <summary>
 ///
 /// </summary>
 public void RegisterRTTCallback(ServiceName in_serviceName, RTTCallback in_callback)
 {
     m_registeredCallbacks[in_serviceName.Value] = in_callback;
 }