internal void GetContextAttribute(AlpcContextMessageAttribute attribute) { var attr = GetAttribute <AlpcContextAttr>(AlpcMessageAttributeFlags.Context).Result; attribute.PortContext = attr.PortContext.ToInt64(); attribute.MessageContext = attr.MessageContext.ToInt64(); attribute.MessageId = attr.MessageId; attribute.Sequence = attr.Sequence; attribute.CallbackId = attr.CallbackId; }
internal void SetContextAttribute(AlpcContextMessageAttribute attribute) { var attr = GetAttribute <AlpcContextAttr>(AlpcMessageAttributeFlags.Context); attr.Result = attribute.ToStruct(); }