コード例 #1
0
 public void Disconnect()
 {
     manualStreamOpenedEvent?.Reset();
     transporter.TransportDataReceived -= Dispatcher_DataReceivedEvent;
     transporter.TransportDataTimeout  -= Dispatcher_TransportDataTimeout;
     transporter.Disconnect();
     packetQueue.Clear();
 }
コード例 #2
0
 public bool Delete() => transporter.Disconnect();