예제 #1
0
 public override RabbitMQ.Client.Impl.ConnectionTuneDetails ConnectionStartOk(
   System.Collections.IDictionary @clientProperties,
   System.String @mechanism,
   System.Byte[] @response,
   System.String @locale)
 {
   ConnectionStartOk __req = new ConnectionStartOk();
   __req.m_clientProperties = @clientProperties;
   __req.m_mechanism = @mechanism;
   __req.m_response = @response;
   __req.m_locale = @locale;
   RabbitMQ.Client.Impl.MethodBase __repBase = ModelRpc(__req,null,null);
   ConnectionTune __rep = __repBase as ConnectionTune;
   if (__rep == null) throw new UnexpectedMethodException(__repBase);
   RabbitMQ.Client.Impl.ConnectionTuneDetails __result = new RabbitMQ.Client.Impl.ConnectionTuneDetails();
   __result.m_channelMax = __rep.m_channelMax;
   __result.m_frameMax = __rep.m_frameMax;
   __result.m_heartbeat = __rep.m_heartbeat;
   return __result;
 }
   public override void _Private_ConnectionStartOk(
 System.Collections.Generic.IDictionary<string, object> @clientProperties,
 string @mechanism,
 byte[] @response,
 string @locale)
   {
       ConnectionStartOk __req = new ConnectionStartOk();
         __req.m_clientProperties = @clientProperties;
         __req.m_mechanism = @mechanism;
         __req.m_response = @response;
         __req.m_locale = @locale;
         ModelSend(__req,null,null);
   }