public override void ReadPropertiesFrom(RabbitMQ.Client.Impl.ContentHeaderPropertyReader reader) { m_contentType_present = reader.ReadPresence(); m_contentEncoding_present = reader.ReadPresence(); m_headers_present = reader.ReadPresence(); m_priority_present = reader.ReadPresence(); m_timestamp_present = reader.ReadPresence(); reader.FinishPresence(); if (m_contentType_present) { m_contentType = reader.ReadShortstr(); } if (m_contentEncoding_present) { m_contentEncoding = reader.ReadShortstr(); } if (m_headers_present) { m_headers = reader.ReadTable(); } if (m_priority_present) { m_priority = reader.ReadOctet(); } if (m_timestamp_present) { m_timestamp = reader.ReadTimestamp(); } }
public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { m_ticket = reader.ReadShort(); m_destination = reader.ReadShortstr(); m_redelivered = reader.ReadBit(); m_immediate = reader.ReadBit(); m_ttl = reader.ReadLonglong(); m_priority = reader.ReadOctet(); m_timestamp = reader.ReadTimestamp(); m_deliveryMode = reader.ReadOctet(); m_expiration = reader.ReadTimestamp(); m_exchange = reader.ReadShortstr(); m_routingKey = reader.ReadShortstr(); m_messageId = reader.ReadShortstr(); m_correlationId = reader.ReadShortstr(); m_replyTo = reader.ReadShortstr(); m_contentType = reader.ReadShortstr(); m_contentEncoding = reader.ReadShortstr(); m_userId = reader.ReadShortstr(); m_appId = reader.ReadShortstr(); m_transactionId = reader.ReadShortstr(); m_securityToken = reader.ReadLongstr(); m_applicationHeaders = reader.ReadTable(); m_body = reader.ReadContent(); }
public override void ReadPropertiesFrom(RabbitMQ.Client.Impl.ContentHeaderPropertyReader reader) { m_contentType_present = reader.ReadPresence(); m_contentEncoding_present = reader.ReadPresence(); m_headers_present = reader.ReadPresence(); m_deliveryMode_present = reader.ReadPresence(); m_priority_present = reader.ReadPresence(); m_correlationId_present = reader.ReadPresence(); m_replyTo_present = reader.ReadPresence(); m_expiration_present = reader.ReadPresence(); m_messageId_present = reader.ReadPresence(); m_timestamp_present = reader.ReadPresence(); m_type_present = reader.ReadPresence(); m_userId_present = reader.ReadPresence(); m_appId_present = reader.ReadPresence(); m_clusterId_present = reader.ReadPresence(); reader.FinishPresence(); if (m_contentType_present) { m_contentType = reader.ReadShortstr(); } if (m_contentEncoding_present) { m_contentEncoding = reader.ReadShortstr(); } if (m_headers_present) { m_headers = reader.ReadTable(); } if (m_deliveryMode_present) { m_deliveryMode = reader.ReadOctet(); } if (m_priority_present) { m_priority = reader.ReadOctet(); } if (m_correlationId_present) { m_correlationId = reader.ReadShortstr(); } if (m_replyTo_present) { m_replyTo = reader.ReadShortstr(); } if (m_expiration_present) { m_expiration = reader.ReadShortstr(); } if (m_messageId_present) { m_messageId = reader.ReadShortstr(); } if (m_timestamp_present) { m_timestamp = reader.ReadTimestamp(); } if (m_type_present) { m_type = reader.ReadShortstr(); } if (m_userId_present) { m_userId = reader.ReadShortstr(); } if (m_appId_present) { m_appId = reader.ReadShortstr(); } if (m_clusterId_present) { m_clusterId = reader.ReadShortstr(); } }