internal void close() { transporter.close(); if (heartBeatService != null) { heartBeatService.stop(); } this.state = ProtocolState.closed; }
internal void close() { Trace.TraceInformation("close"); transporter.close(); if (heartBeatService != null) { heartBeatService.stop(); } this.state = ProtocolState.closed; }
public void close() { if (heartBeatService != null) { heartBeatService.stop(); } this.state = ProtocolState.closed; if (onProtocolClose != null) { onProtocolClose(); } }