pub fn claim(&mut self, process_id: i32, secret_key: i32) {
        let mut guard = self.client_server_map.lock();
        guard.insert(
            (process_id, secret_key),
            (
                self.process_id,
                self.secret_key,
                self.address.host.clone(),
                self.address.port.clone(),
            ),
        );
    }
/// Claim this server as mine for the purposes of query cancellation.
Claim this server as mine for the purposes of query cancellation.
Claim this server as mine for the purposes of query cancellation .
pub fn claim(&mut self, process_id: i32, secret_key: i32) {
        let mut guard = self.client_server_map.lock();
        guard.insert(
            (process_id, secret_key),
            (
                self.process_id,
                self.secret_key,
                self.address.host.clone(),
                self.address.port.clone(),
            ),
        );
    }
pub fn claim ( & mut self , process_id : i32 , secret_key : i32 ) { let mut guard = self . client_server_map . lock ( ) ; guard . insert ( ( process_id , secret_key ) , ( self . process_id , self . secret_key , self . address . host . clone ( ) , self . address . port . clone ( ) , ) , ) ; }
Claim this server as mine for the purposes of query cancellation.
Claim this server as mine for the purposes of query cancellation .
&mut self
process_id
i32
secret_key
i32
&mut self
process_id
i32
secret_key
i32