public void OnCall(RemoteHostInfo remoteHost, EventCallArgs args) { Logger.Debug($"Invoked OnCall for {remoteHost.Host} via {remoteHost.Protocol} file {args.CallInfo}"); string message = Serializing.GetString(args.CallInfo); OnSend(this, new EventDataArg <string>(remoteHost, message)); }
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)); }