public void OnRegistrationFailed(ServiceCommandError error) { service.Disconnect(); if (listener != null) listener.OnConnectionFailure(service, new Exception(error.GetCode().ToString())); }
public void OnFailWithError(ServiceCommandError error) { if (listener != null) listener.OnConnectionFailure(service, new Exception(error.GetCode().ToString())); }