protected virtual bool HandleClientRemoved(IMessageBus messageBus, ClientId clientId, bool isPermanent) { Type clientType = messageBus.GetClientType(clientId); if (clientType == null) { #if Matrix_Diagnostics InstanceMonitor.OperationError("Failed to establish client type."); #endif return(false); } if (clientType != typeof(SuperPoolClient) && clientType.IsSubclassOf(typeof(SuperPoolClient)) == false) {// Client not a super pool client. return(false); } UnRegisterClientSourceTypes(clientId); return(true); }
protected virtual bool HandleClientRemoved(IMessageBus messageBus, ClientId clientId, bool isPermanent) { Type clientType = messageBus.GetClientType(clientId); if (clientType == null) { #if Matrix_Diagnostics InstanceMonitor.OperationError("Failed to establish client type."); #endif return false; } if (clientType != typeof(SuperPoolClient) && clientType.IsSubclassOf(typeof(SuperPoolClient)) == false) {// Client not a super pool client. return false; } UnRegisterClientSourceTypes(clientId); return true; }