@@ -1071,29 +1071,21 @@ protected bool HandleQueueDeclareOk(in IncomingCommand cmd)
1071
1071
1072
1072
#if SYNC_API
1073
1073
public abstract void _Private_ExchangeBind ( string destination , string source , string routingKey , bool nowait , IDictionary < string , object > arguments ) ;
1074
- #endif
1075
1074
1076
1075
public abstract void _Private_ExchangeDeclare ( string exchange , string type , bool passive , bool durable , bool autoDelete , bool @internal , bool nowait , IDictionary < string , object > arguments ) ;
1077
1076
1078
- #if SYNC_API
1079
1077
public abstract void _Private_ExchangeDelete ( string exchange , bool ifUnused , bool nowait ) ;
1080
- #endif
1081
1078
1082
- #if SYNC_API
1083
1079
public abstract void _Private_ExchangeUnbind ( string destination , string source , string routingKey , bool nowait , IDictionary < string , object > arguments ) ;
1084
- #endif
1085
1080
1086
1081
public abstract void _Private_QueueBind ( string queue , string exchange , string routingKey , bool nowait , IDictionary < string , object > arguments ) ;
1087
1082
1088
- #if SYNC_API
1089
1083
public abstract void _Private_QueueDeclare ( string queue , bool passive , bool durable , bool exclusive , bool autoDelete , bool nowait , IDictionary < string , object > arguments ) ;
1090
- #endif
1091
1084
1092
1085
public abstract uint _Private_QueueDelete ( string queue , bool ifUnused , bool ifEmpty , bool nowait ) ;
1093
1086
1094
1087
public abstract uint _Private_QueuePurge ( string queue , bool nowait ) ;
1095
1088
1096
- #if SYNC_API
1097
1089
public abstract void BasicAck ( ulong deliveryTag , bool multiple ) ;
1098
1090
#endif
1099
1091
@@ -1536,12 +1528,12 @@ public void ExchangeBindNoWait(string destination, string source, string routing
1536
1528
{
1537
1529
_Private_ExchangeBind ( destination , source , routingKey , true , arguments ) ;
1538
1530
}
1539
- #endif
1540
1531
1541
1532
public void ExchangeDeclare ( string exchange , string type , bool durable , bool autoDelete , IDictionary < string , object > arguments )
1542
1533
{
1543
1534
_Private_ExchangeDeclare ( exchange , type , false , durable , autoDelete , false , false , arguments ) ;
1544
1535
}
1536
+ #endif
1545
1537
1546
1538
public Task ExchangeDeclarePassiveAsync ( string exchange )
1547
1539
{
@@ -1583,6 +1575,7 @@ await ModelSendAsync(method)
1583
1575
}
1584
1576
}
1585
1577
1578
+ #if SYNC_API
1586
1579
public void ExchangeDeclareNoWait ( string exchange , string type , bool durable , bool autoDelete , IDictionary < string , object > arguments )
1587
1580
{
1588
1581
_Private_ExchangeDeclare ( exchange , type , false , durable , autoDelete , false , true , arguments ) ;
@@ -1593,7 +1586,6 @@ public void ExchangeDeclarePassive(string exchange)
1593
1586
_Private_ExchangeDeclare ( exchange , "" , true , false , false , false , false , null ) ;
1594
1587
}
1595
1588
1596
- #if SYNC_API
1597
1589
public void ExchangeDelete ( string exchange , bool ifUnused )
1598
1590
{
1599
1591
_Private_ExchangeDelete ( exchange , ifUnused , false ) ;
@@ -1684,7 +1676,6 @@ public void ExchangeUnbindNoWait(string destination, string source, string routi
1684
1676
{
1685
1677
_Private_ExchangeUnbind ( destination , source , routingKey , true , arguments ) ;
1686
1678
}
1687
- #endif
1688
1679
1689
1680
public void QueueBind ( string queue , string exchange , string routingKey , IDictionary < string , object > arguments )
1690
1681
{
@@ -1696,7 +1687,6 @@ public void QueueBindNoWait(string queue, string exchange, string routingKey, ID
1696
1687
_Private_QueueBind ( queue , exchange , routingKey , true , arguments ) ;
1697
1688
}
1698
1689
1699
- #if SYNC_API
1700
1690
public QueueDeclareOk QueueDeclare ( string queue , bool durable , bool exclusive , bool autoDelete , IDictionary < string , object > arguments )
1701
1691
{
1702
1692
return DoQueueDeclare ( queue , false , durable , exclusive , autoDelete , arguments ) ;
@@ -1825,10 +1815,12 @@ public async Task<uint> ConsumerCountAsync(string queue)
1825
1815
return ok . ConsumerCount ;
1826
1816
}
1827
1817
1818
+ #if SYNC_API
1828
1819
public uint QueueDelete ( string queue , bool ifUnused , bool ifEmpty )
1829
1820
{
1830
1821
return _Private_QueueDelete ( queue , ifUnused , ifEmpty , false ) ;
1831
1822
}
1823
+ #endif
1832
1824
1833
1825
public async Task < uint > QueueDeleteAsync ( string queue , bool ifUnused , bool ifEmpty , bool noWait )
1834
1826
{
@@ -1862,6 +1854,7 @@ await ModelSendAsync(method)
1862
1854
}
1863
1855
}
1864
1856
1857
+ #if SYNC_API
1865
1858
public void QueueDeleteNoWait ( string queue , bool ifUnused , bool ifEmpty )
1866
1859
{
1867
1860
_Private_QueueDelete ( queue , ifUnused , ifEmpty , true ) ;
@@ -1871,6 +1864,7 @@ public uint QueuePurge(string queue)
1871
1864
{
1872
1865
return _Private_QueuePurge ( queue , false ) ;
1873
1866
}
1867
+ #endif
1874
1868
1875
1869
public async Task < uint > QueuePurgeAsync ( string queue )
1876
1870
{
0 commit comments