public bool TrySendRequest(NamedPipeMessages.Message message) { try { this.SendRequest(message); return(true); } catch (BrokenPipeException) { } return(false); }
public bool TryReadResponse(out NamedPipeMessages.Message message) { try { message = NamedPipeMessages.Message.FromString(this.ReadRawResponse()); return true; } catch (BrokenPipeException) { message = null; return false; } }
public void SendRequest(NamedPipeMessages.Message message) { this.SendRequest(message.ToString()); }
public bool TrySendResponse(NamedPipeMessages.Message message) { return(this.TrySendResponse(message.ToString())); }