void HandleDatabusProperty(CallInfo callInfo) { if (DataBus == null) { throw new InvalidOperationException("Databus transmission received without a configured databus"); } var newDatabusKey = DataBus.Put(callInfo.Data, callInfo.TimeToBeReceived); using (var databusStream = DataBus.Get(newDatabusKey)) { Hasher.Verify(databusStream, callInfo.Md5); } var specificDataBusHeaderToUpdate = callInfo.ReadDataBus(); headerManager.InsertHeader(callInfo.ClientId, specificDataBusHeaderToUpdate, newDatabusKey); }
void HandleDatabusProperty(CallInfo callInfo) { if (DataBus == null) { throw new InvalidOperationException("Databus transmission received without a databus configured"); } var newDatabusKey = DataBus.Put(callInfo.Data, callInfo.TimeToBeReceived); var specificDataBusHeaderToUpdate = callInfo.ReadDataBus(); persister.UpdateHeader(callInfo.ClientId, specificDataBusHeaderToUpdate, newDatabusKey); }