@@ -76,10 +76,6 @@ public abstract class ModelBase : IFullModel
76
76
private readonly object m_eventLock = new object ( ) ;
77
77
private BasicReturnEventHandler m_basicReturn ;
78
78
private CallbackExceptionEventHandler m_callbackException ;
79
-
80
- ///<summary>Deprecated. When 0.9.1 is signed off, tickets can be removed
81
- ///from the codec and this field can be deleted.</summary>
82
- public ushort TICKET = 0 ;
83
79
84
80
public event ModelShutdownEventHandler ModelShutdown
85
81
{
@@ -584,7 +580,7 @@ public string BasicConsume(string queue,
584
580
// the RPC response, but a response is still expected.
585
581
try
586
582
{
587
- _Private_BasicConsume ( TICKET , queue , consumerTag , noLocal , noAck , exclusive ,
583
+ _Private_BasicConsume ( queue , consumerTag , noLocal , noAck , exclusive ,
588
584
/*nowait:*/ false , filter ) ;
589
585
}
590
586
catch ( AlreadyClosedException )
@@ -686,7 +682,7 @@ public BasicGetResult BasicGet(string queue,
686
682
Enqueue ( k ) ;
687
683
try
688
684
{
689
- _Private_BasicGet ( TICKET , queue , noAck ) ;
685
+ _Private_BasicGet ( queue , noAck ) ;
690
686
}
691
687
catch ( AlreadyClosedException )
692
688
{
@@ -702,8 +698,7 @@ public abstract void BasicQos(uint prefetchSize,
702
698
ushort prefetchCount ,
703
699
bool global ) ;
704
700
705
- public abstract void _Private_BasicConsume ( ushort ticket ,
706
- string queue ,
701
+ public abstract void _Private_BasicConsume ( string queue ,
707
702
string consumerTag ,
708
703
bool noLocal ,
709
704
bool noAck ,
@@ -748,17 +743,15 @@ public void BasicPublish(string exchange,
748
743
{
749
744
basicProperties = CreateBasicProperties ( ) ;
750
745
}
751
- _Private_BasicPublish ( TICKET ,
752
- exchange ,
746
+ _Private_BasicPublish ( exchange ,
753
747
routingKey ,
754
748
mandatory ,
755
749
immediate ,
756
750
basicProperties ,
757
751
body ) ;
758
752
}
759
753
760
- public abstract void _Private_BasicPublish ( ushort ticket ,
761
- string exchange ,
754
+ public abstract void _Private_BasicPublish ( string exchange ,
762
755
string routingKey ,
763
756
bool mandatory ,
764
757
bool immediate ,
@@ -814,8 +807,7 @@ public abstract void _Private_ChannelClose(ushort replyCode,
814
807
815
808
public abstract void _Private_ChannelCloseOk ( ) ;
816
809
817
- public abstract void _Private_BasicGet ( ushort ticket ,
818
- string queue ,
810
+ public abstract void _Private_BasicGet ( string queue ,
819
811
bool noAck ) ;
820
812
821
813
public void HandleBasicGetOk ( ulong deliveryTag ,
0 commit comments