public override void WritePropertiesTo(RabbitMQ.Client.Impl.ContentHeaderPropertyWriter writer)
 {
     writer.WritePresence(m_headers_present);
       writer.WritePresence(m_proxyName_present);
       writer.WritePresence(m_dataName_present);
       writer.WritePresence(m_durable_present);
       writer.WritePresence(m_broadcast_present);
       writer.FinishPresence();
       if (m_headers_present) { writer.WriteTable(m_headers); }
       if (m_proxyName_present) { writer.WriteShortstr(m_proxyName); }
       if (m_dataName_present) { writer.WriteShortstr(m_dataName); }
       if (m_durable_present) { writer.WriteOctet(m_durable); }
       if (m_broadcast_present) { writer.WriteOctet(m_broadcast); }
 }
 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 ReadPropertiesFrom(RabbitMQ.Client.Impl.ContentHeaderPropertyReader reader)
 {
     m_headers_present = reader.ReadPresence();
       m_proxyName_present = reader.ReadPresence();
       m_dataName_present = reader.ReadPresence();
       m_durable_present = reader.ReadPresence();
       m_broadcast_present = reader.ReadPresence();
       reader.FinishPresence();
       if (m_headers_present) { m_headers = reader.ReadTable(); }
       if (m_proxyName_present) { m_proxyName = reader.ReadShortstr(); }
       if (m_dataName_present) { m_dataName = reader.ReadShortstr(); }
       if (m_durable_present) { m_durable = reader.ReadOctet(); }
       if (m_broadcast_present) { m_broadcast = reader.ReadOctet(); }
 }
 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 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); }
 }
 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(); }
 }
Exemplo n.º 7
0
 public override void WritePropertiesTo(RabbitMQ.Client.Impl.ContentHeaderPropertyWriter writer) {
   writer.FinishPresence();
 }
Exemplo n.º 8
0
 public override void ReadPropertiesFrom(RabbitMQ.Client.Impl.ContentHeaderPropertyReader reader) {
   reader.FinishPresence();
 }