public void OnEventErrorMessage(RemoteHostInfo remoteHost, EventErrArgs args) { Logger.Debug($"Invoked OnEventErrorMessage for {remoteHost.Host} via {remoteHost.Protocol} file {args.ErrorMessage}"); string message = Serializing.GetString(args.ErrorMessage); OnSend(this, new EventDataArg <string>(remoteHost, message)); }
protected abstract void EventErrHandler(RemoteHostInfo remoteHost, EventErrArgs args);
public abstract void OnEventErrorMessage(object sender, EventErrArgs args);
public void OnEventErrorMessage(object sender, EventErrArgs args) { }
protected override void EventErrHandler(RemoteHostInfo remoteHost, EventErrArgs args) { Logger.Debug($"MessageManager.EventErrHandler Invoked for ({remoteHost.Host} via {remoteHost.Protocol} code: {args.Message.DeviceCode})"); _ErrorMessageReceived?.Invoke(this, args); }
public void ErrorMessageReceivedInvoke(RemoteHostInfo hostInfo, EventErrArgs args) => ErrorMessageReceived?.Invoke(hostInfo, args);
public void OnEventErrorMessage(RemoteHostInfo remoteHost, EventErrArgs args) { }