public override void WritePropertiesTo(RabbitMQ.Client.Impl.ContentHeaderPropertyWriter writer)
 {
     writer.WritePresence(m_contentType_present);
       writer.WritePresence(m_contentEncoding_present);
       writer.WritePresence(m_headers_present);
       writer.WritePresence(m_priority_present);
       writer.WritePresence(m_timestamp_present);
       writer.FinishPresence();
       if (m_contentType_present) { writer.WriteShortstr(m_contentType); }
       if (m_contentEncoding_present) { writer.WriteShortstr(m_contentEncoding); }
       if (m_headers_present) { writer.WriteTable(m_headers); }
       if (m_priority_present) { writer.WriteOctet(m_priority); }
       if (m_timestamp_present) { writer.WriteTimestamp(m_timestamp); }
 }
 public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer)
 {
     writer.WriteShort(m_ticket);
       writer.WriteShortstr(m_destination);
       writer.WriteBit(m_redelivered);
       writer.WriteBit(m_immediate);
       writer.WriteLonglong(m_ttl);
       writer.WriteOctet(m_priority);
       writer.WriteTimestamp(m_timestamp);
       writer.WriteOctet(m_deliveryMode);
       writer.WriteTimestamp(m_expiration);
       writer.WriteShortstr(m_exchange);
       writer.WriteShortstr(m_routingKey);
       writer.WriteShortstr(m_messageId);
       writer.WriteShortstr(m_correlationId);
       writer.WriteShortstr(m_replyTo);
       writer.WriteShortstr(m_contentType);
       writer.WriteShortstr(m_contentEncoding);
       writer.WriteShortstr(m_userId);
       writer.WriteShortstr(m_appId);
       writer.WriteShortstr(m_transactionId);
       writer.WriteLongstr(m_securityToken);
       writer.WriteTable(m_applicationHeaders);
       writer.WriteContent(m_body);
 }
 public override void WritePropertiesTo(RabbitMQ.Client.Impl.ContentHeaderPropertyWriter writer)
 {
     writer.WritePresence(m_contentType_present);
       writer.WritePresence(m_contentEncoding_present);
       writer.WritePresence(m_headers_present);
       writer.WritePresence(m_deliveryMode_present);
       writer.WritePresence(m_priority_present);
       writer.WritePresence(m_correlationId_present);
       writer.WritePresence(m_replyTo_present);
       writer.WritePresence(m_expiration_present);
       writer.WritePresence(m_messageId_present);
       writer.WritePresence(m_timestamp_present);
       writer.WritePresence(m_type_present);
       writer.WritePresence(m_userId_present);
       writer.WritePresence(m_appId_present);
       writer.WritePresence(m_clusterId_present);
       writer.FinishPresence();
       if (m_contentType_present) { writer.WriteShortstr(m_contentType); }
       if (m_contentEncoding_present) { writer.WriteShortstr(m_contentEncoding); }
       if (m_headers_present) { writer.WriteTable(m_headers); }
       if (m_deliveryMode_present) { writer.WriteOctet(m_deliveryMode); }
       if (m_priority_present) { writer.WriteOctet(m_priority); }
       if (m_correlationId_present) { writer.WriteShortstr(m_correlationId); }
       if (m_replyTo_present) { writer.WriteShortstr(m_replyTo); }
       if (m_expiration_present) { writer.WriteShortstr(m_expiration); }
       if (m_messageId_present) { writer.WriteShortstr(m_messageId); }
       if (m_timestamp_present) { writer.WriteTimestamp(m_timestamp); }
       if (m_type_present) { writer.WriteShortstr(m_type); }
       if (m_userId_present) { writer.WriteShortstr(m_userId); }
       if (m_appId_present) { writer.WriteShortstr(m_appId); }
       if (m_clusterId_present) { writer.WriteShortstr(m_clusterId); }
 }