internal static void RaiseTextWithEndCharReceived(INamedPort ivp, string messageText) { var e = new NamedPortEventArgs(NamedPortEventArgs.PortEventType.DataWithEndCharReceived, messageText, ivp); VirtualPortEvent?.Invoke(ivp, e); }
internal static void RaiseDialUpModemEvent(INamedPort port, string text) { var e = new NamedPortEventArgs(NamedPortEventArgs.PortEventType.ModemEvent, text, port); VirtualPortEvent?.Invoke(port, e); }
internal static void RaiseByteReceivedEvent(INamedPort ivp, byte messageBytes) { var e = new NamedPortEventArgs(NamedPortEventArgs.PortEventType.ByteReceived, messageBytes, ivp); VirtualPortEvent?.Invoke(ivp, e); }
internal static void RaiseLineTimeoutEvent(INamedPort ivp) { var e = new NamedPortEventArgs(NamedPortEventArgs.PortEventType.LineIdleTimeout, ivp); VirtualPortEvent?.Invoke(ivp, e); }