/// <summary> /// Register shared config memory region. /// </summary> /// <param name="msg"></param> private static void RegisterSharedConfigMemoryRegionRequestMessageCallback(MlosProxyInternal.RegisterSharedConfigMemoryRegionRequestMessage msg) { // Store shared config memory region. // SharedMemoryMapView sharedConfigMemoryMapView = MemoryRegions[msg.MemoryRegionId]; SharedConfigManager.SetMemoryRegion(new MlosProxyInternal.SharedConfigMemoryRegion() { Buffer = sharedConfigMemoryMapView.Buffer }); }
/// <summary> /// Register shared config memory region. /// </summary> /// <param name="msg"></param> private void RegisterSharedConfigMemoryRegionRequestMessageCallback(MlosProxyInternal.RegisterSharedConfigMemoryRegionRequestMessage msg) { RegisterSharedConfigMemoryRegion(msg.MemoryRegionId); }