示例#1
0
 private void PromoteNullRPCClient(KeePassRPCClientConnection connection, KeePassRPCClientManager destination)
 {
     lock (_lockRPCClientManagers)
     {
         ((NullRPCClientManager)_RPCClientManagers["null"]).RemoveRPCClientConnection(connection);
         destination.AddRPCClientConnection(connection);
     }
 }
示例#2
0
 private void PromoteGeneralRPCClient(KeePassRPCClientConnection connection, KeePassRPCClientManager destination)
 {
     lock (_lockRPCClientManagers)
     {
         _lockRPCClientManagers.HeldBy = Thread.CurrentThread.ManagedThreadId;
         ((GeneralRPCClientManager)_RPCClientManagers["general"]).RemoveRPCClientConnection(connection);
         destination.AddRPCClientConnection(connection);
     }
 }
示例#3
0
 private void PromoteNullRPCClient(KeePassRPCClientConnection connection, KeePassRPCClientManager destination)
 {
     lock (_lockRPCClientManagers)
     {
         _lockRPCClientManagers.HeldBy = Thread.CurrentThread.ManagedThreadId;
         ((NullRPCClientManager)_RPCClientManagers["null"]).RemoveRPCClientConnection(connection);
         destination.AddRPCClientConnection(connection);
     }
 }
 private void PromoteNullRPCClient(KeePassRPCClientConnection connection, KeePassRPCClientManager destination)
 {
     lock (_lockRPCClientManagers)
     {
         ((NullRPCClientManager)_RPCClientManagers["null"]).RemoveRPCClientConnection(connection);
         destination.AddRPCClientConnection(connection);
     }
 }