internal void send(PackageType type) { if (this.state != ProtocolState.closed) { this.transporter.send(PackageProtocol.encode(type)); } }
internal void send(PackageType type) { if (this._state == ProtocolState.closed) { return; } _transporter.send(PackageProtocol.encode(type)); }
public void send(PackageType type) { if (this.state == ProtocolState.closed) { return; } transporter.send(PackageProtocol.encode(type)); }
internal void send(PackageType type, byte[] body) { if (this.state != ProtocolState.closed) { byte[] buffer = PackageProtocol.encode(type, body); this.transporter.send(buffer); } }
internal void send(PackageType type) { if (this.state == ProtocolState.closed) { return; } Trace.TraceInformation("send " + type); transporter.send(PackageProtocol.encode(type)); }
//Send message use the transporter internal void send(PackageType type, byte[] body) { if (this.state == ProtocolState.closed) { return; } byte[] pkg = PackageProtocol.encode(type, body); transporter.send(pkg); }
internal void send(PackageType type, byte[] body) { if (this.state == ProtocolState.closed) return; this.transporter.send(PackageProtocol.encode(type, body)); }