protected void Send(Atom atom) { if (outputStream == null) { throw new InvalidOperationException(); } AtomWriter.Write(sendStream, atom); }
protected void Send(Atom atom) { try { Connection.Send(stream => AtomWriter.Write(stream, atom)); } catch (IOException e) { Logger.Info(e); OnError(); } }
protected void Send(Atom atom) { AtomWriter.Write(sendStream, atom); }