private void HandleKeyRequest(KeyRequestMessage msg) { _processor.Stop(); int c = _processor.KeyCount; var dataRspMsg = new KeyResponseMessage() { SourceID = _config.ID, DestinationID = msg.SourceID, Address = _config.TCPServerAddress, Port = _config.TCPServerPort, KeyCount = c }; SendMessage(dataRspMsg, _group); }
private void HandleKeyResponse(KeyResponseMessage msg) { _responses.Add(msg); }