Beispiel #1
0
 public static void CheckAndCreateInstance()
 {
     if (_instance == null)
     {
         _instance = new RpcClassFactory();
     }
 }
Beispiel #2
0
 public RpcClassFactory()
 {
     _instance = this;
     _table    = new ConcurrentDictionary <int, Func <object, ISession, NetDataReader, NetDataWriter, Task> >();
 }