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