zoukankan      html  css  js  c++  java
  • ons.ONSFactoryPorperty.cs

    ylbtech-ons.ONSFactoryPorperty.cs
    1.返回顶部
    1、
    //------------------------------------------------------------------------------
    // <auto-generated />
    //
    // This file was automatically generated by SWIG (http://www.swig.org).
    // Version 3.0.12
    //
    // Do not make changes to this file unless you know what you are doing--modify
    // the SWIG interface file instead.
    //------------------------------------------------------------------------------
    
    namespace ons {
    
    public class ONSFactoryProperty : global::System.IDisposable {
      private global::System.Runtime.InteropServices.HandleRef swigCPtr;
      protected bool swigCMemOwn;
    
      internal ONSFactoryProperty(global::System.IntPtr cPtr, bool cMemoryOwn) {
        swigCMemOwn = cMemoryOwn;
        swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
      }
    
      internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ONSFactoryProperty obj) {
        return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
      }
    
      ~ONSFactoryProperty() {
        Dispose();
      }
    
      public virtual void Dispose() {
        lock(this) {
          if (swigCPtr.Handle != global::System.IntPtr.Zero) {
            if (swigCMemOwn) {
              swigCMemOwn = false;
              ONSClient4CPPPINVOKE.delete_ONSFactoryProperty(swigCPtr);
            }
            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
          }
          global::System.GC.SuppressFinalize(this);
        }
      }
    
      public ONSFactoryProperty() : this(ONSClient4CPPPINVOKE.new_ONSFactoryProperty(), true) {
      }
    
      public bool checkValidityOfFactoryProperties(string key, string value) {
        bool ret = ONSClient4CPPPINVOKE.ONSFactoryProperty_checkValidityOfFactoryProperties(swigCPtr, key, value);
        if (ONSClient4CPPPINVOKE.SWIGPendingException.Pending) throw ONSClient4CPPPINVOKE.SWIGPendingException.Retrieve();
        return ret;
      }
    
      public string getLogPath() {
        string ret = ONSClient4CPPPINVOKE.ONSFactoryProperty_getLogPath(swigCPtr);
        return ret;
      }
    
      public void setSendMsgTimeout(int value) {
        ONSClient4CPPPINVOKE.ONSFactoryProperty_setSendMsgTimeout(swigCPtr, value);
      }
    
      public void setSendMsgRetryTimes(int value) {
        ONSClient4CPPPINVOKE.ONSFactoryProperty_setSendMsgRetryTimes(swigCPtr, value);
      }
    
      public void setMaxMsgCacheSize(int size) {
        ONSClient4CPPPINVOKE.ONSFactoryProperty_setMaxMsgCacheSize(swigCPtr, size);
      }
    
      public void setOnsTraceSwitch(bool onswitch) {
        ONSClient4CPPPINVOKE.ONSFactoryProperty_setOnsTraceSwitch(swigCPtr, onswitch);
      }
    
      public void setOnsChannel(ONSChannel onsChannel) {
        ONSClient4CPPPINVOKE.ONSFactoryProperty_setOnsChannel(swigCPtr, (int)onsChannel);
        if (ONSClient4CPPPINVOKE.SWIGPendingException.Pending) throw ONSClient4CPPPINVOKE.SWIGPendingException.Retrieve();
      }
    
      public void setFactoryProperty(string key, string value) {
        ONSClient4CPPPINVOKE.ONSFactoryProperty_setFactoryProperty(swigCPtr, key, value);
        if (ONSClient4CPPPINVOKE.SWIGPendingException.Pending) throw ONSClient4CPPPINVOKE.SWIGPendingException.Retrieve();
      }
    
      public void setFactoryProperties(SWIGTYPE_p_std__mapT_std__string_std__string_t factoryProperties) {
        ONSClient4CPPPINVOKE.ONSFactoryProperty_setFactoryProperties(swigCPtr, SWIGTYPE_p_std__mapT_std__string_std__string_t.getCPtr(factoryProperties));
        if (ONSClient4CPPPINVOKE.SWIGPendingException.Pending) throw ONSClient4CPPPINVOKE.SWIGPendingException.Retrieve();
      }
    
      public SWIGTYPE_p_std__mapT_std__string_std__string_t getFactoryProperties() {
        SWIGTYPE_p_std__mapT_std__string_std__string_t ret = new SWIGTYPE_p_std__mapT_std__string_std__string_t(ONSClient4CPPPINVOKE.ONSFactoryProperty_getFactoryProperties(swigCPtr), true);
        return ret;
      }
    
      public string getProducerId() {
        string ret = ONSClient4CPPPINVOKE.ONSFactoryProperty_getProducerId(swigCPtr);
        return ret;
      }
    
      public string getConsumerId() {
        string ret = ONSClient4CPPPINVOKE.ONSFactoryProperty_getConsumerId(swigCPtr);
        return ret;
      }
    
      public string getPublishTopics() {
        string ret = ONSClient4CPPPINVOKE.ONSFactoryProperty_getPublishTopics(swigCPtr);
        return ret;
      }
    
      public string getMessageModel() {
        string ret = ONSClient4CPPPINVOKE.ONSFactoryProperty_getMessageModel(swigCPtr);
        return ret;
      }
    
      public int getSendMsgTimeout() {
        int ret = ONSClient4CPPPINVOKE.ONSFactoryProperty_getSendMsgTimeout(swigCPtr);
        return ret;
      }
    
      public int getSendMsgRetryTimes() {
        int ret = ONSClient4CPPPINVOKE.ONSFactoryProperty_getSendMsgRetryTimes(swigCPtr);
        return ret;
      }
    
      public int getConsumeThreadNums() {
        int ret = ONSClient4CPPPINVOKE.ONSFactoryProperty_getConsumeThreadNums(swigCPtr);
        return ret;
      }
    
      public int getMaxMsgCacheSize() {
        int ret = ONSClient4CPPPINVOKE.ONSFactoryProperty_getMaxMsgCacheSize(swigCPtr);
        return ret;
      }
    
      public ONSChannel getOnsChannel() {
        ONSChannel ret = (ONSChannel)ONSClient4CPPPINVOKE.ONSFactoryProperty_getOnsChannel(swigCPtr);
        return ret;
      }
    
      public string getChannel() {
        string ret = ONSClient4CPPPINVOKE.ONSFactoryProperty_getChannel(swigCPtr);
        return ret;
      }
    
      public string getMessageContent() {
        string ret = ONSClient4CPPPINVOKE.ONSFactoryProperty_getMessageContent(swigCPtr);
        return ret;
      }
    
      public string getNameSrvAddr() {
        string ret = ONSClient4CPPPINVOKE.ONSFactoryProperty_getNameSrvAddr(swigCPtr);
        return ret;
      }
    
      public string getNameSrvDomain() {
        string ret = ONSClient4CPPPINVOKE.ONSFactoryProperty_getNameSrvDomain(swigCPtr);
        return ret;
      }
    
      public string getAccessKey() {
        string ret = ONSClient4CPPPINVOKE.ONSFactoryProperty_getAccessKey(swigCPtr);
        return ret;
      }
    
      public string getSecretKey() {
        string ret = ONSClient4CPPPINVOKE.ONSFactoryProperty_getSecretKey(swigCPtr);
        return ret;
      }
    
      public string getConsumerInstanceName() {
        string ret = ONSClient4CPPPINVOKE.ONSFactoryProperty_getConsumerInstanceName(swigCPtr);
        return ret;
      }
    
      public bool getOnsTraceSwitch() {
        bool ret = ONSClient4CPPPINVOKE.ONSFactoryProperty_getOnsTraceSwitch(swigCPtr);
        return ret;
      }
    
      public string getNameSpace() {
        string ret = ONSClient4CPPPINVOKE.ONSFactoryProperty_getNameSpace(swigCPtr);
        return ret;
      }
    
      public static string LogPath {
        set {
          ONSClient4CPPPINVOKE.ONSFactoryProperty_LogPath_set(value);
        } 
        get {
          string ret = ONSClient4CPPPINVOKE.ONSFactoryProperty_LogPath_get();
          return ret;
        } 
      }
    
      public static string ProducerId {
        set {
          ONSClient4CPPPINVOKE.ONSFactoryProperty_ProducerId_set(value);
        } 
        get {
          string ret = ONSClient4CPPPINVOKE.ONSFactoryProperty_ProducerId_get();
          return ret;
        } 
      }
    
      public static string ConsumerId {
        set {
          ONSClient4CPPPINVOKE.ONSFactoryProperty_ConsumerId_set(value);
        } 
        get {
          string ret = ONSClient4CPPPINVOKE.ONSFactoryProperty_ConsumerId_get();
          return ret;
        } 
      }
    
      public static string PublishTopics {
        set {
          ONSClient4CPPPINVOKE.ONSFactoryProperty_PublishTopics_set(value);
        } 
        get {
          string ret = ONSClient4CPPPINVOKE.ONSFactoryProperty_PublishTopics_get();
          return ret;
        } 
      }
    
      public static string MsgContent {
        set {
          ONSClient4CPPPINVOKE.ONSFactoryProperty_MsgContent_set(value);
        } 
        get {
          string ret = ONSClient4CPPPINVOKE.ONSFactoryProperty_MsgContent_get();
          return ret;
        } 
      }
    
      public static string ONSAddr {
        set {
          ONSClient4CPPPINVOKE.ONSFactoryProperty_ONSAddr_set(value);
        } 
        get {
          string ret = ONSClient4CPPPINVOKE.ONSFactoryProperty_ONSAddr_get();
          return ret;
        } 
      }
    
      public static string AccessKey {
        set {
          ONSClient4CPPPINVOKE.ONSFactoryProperty_AccessKey_set(value);
        } 
        get {
          string ret = ONSClient4CPPPINVOKE.ONSFactoryProperty_AccessKey_get();
          return ret;
        } 
      }
    
      public static string SecretKey {
        set {
          ONSClient4CPPPINVOKE.ONSFactoryProperty_SecretKey_set(value);
        } 
        get {
          string ret = ONSClient4CPPPINVOKE.ONSFactoryProperty_SecretKey_get();
          return ret;
        } 
      }
    
      public static string MessageModel {
        set {
          ONSClient4CPPPINVOKE.ONSFactoryProperty_MessageModel_set(value);
        } 
        get {
          string ret = ONSClient4CPPPINVOKE.ONSFactoryProperty_MessageModel_get();
          return ret;
        } 
      }
    
      public static string BROADCASTING {
        set {
          ONSClient4CPPPINVOKE.ONSFactoryProperty_BROADCASTING_set(value);
        } 
        get {
          string ret = ONSClient4CPPPINVOKE.ONSFactoryProperty_BROADCASTING_get();
          return ret;
        } 
      }
    
      public static string CLUSTERING {
        set {
          ONSClient4CPPPINVOKE.ONSFactoryProperty_CLUSTERING_set(value);
        } 
        get {
          string ret = ONSClient4CPPPINVOKE.ONSFactoryProperty_CLUSTERING_get();
          return ret;
        } 
      }
    
      public static string SendMsgTimeoutMillis {
        set {
          ONSClient4CPPPINVOKE.ONSFactoryProperty_SendMsgTimeoutMillis_set(value);
        } 
        get {
          string ret = ONSClient4CPPPINVOKE.ONSFactoryProperty_SendMsgTimeoutMillis_get();
          return ret;
        } 
      }
    
      public static string NAMESRV_ADDR {
        set {
          ONSClient4CPPPINVOKE.ONSFactoryProperty_NAMESRV_ADDR_set(value);
        } 
        get {
          string ret = ONSClient4CPPPINVOKE.ONSFactoryProperty_NAMESRV_ADDR_get();
          return ret;
        } 
      }
    
      public static string ConsumeThreadNums {
        set {
          ONSClient4CPPPINVOKE.ONSFactoryProperty_ConsumeThreadNums_set(value);
        } 
        get {
          string ret = ONSClient4CPPPINVOKE.ONSFactoryProperty_ConsumeThreadNums_get();
          return ret;
        } 
      }
    
      public static string OnsChannel {
        set {
          ONSClient4CPPPINVOKE.ONSFactoryProperty_OnsChannel_set(value);
        } 
        get {
          string ret = ONSClient4CPPPINVOKE.ONSFactoryProperty_OnsChannel_get();
          return ret;
        } 
      }
    
      public static string MaxMsgCacheSize {
        set {
          ONSClient4CPPPINVOKE.ONSFactoryProperty_MaxMsgCacheSize_set(value);
        } 
        get {
          string ret = ONSClient4CPPPINVOKE.ONSFactoryProperty_MaxMsgCacheSize_get();
          return ret;
        } 
      }
    
      public static string OnsTraceSwitch {
        set {
          ONSClient4CPPPINVOKE.ONSFactoryProperty_OnsTraceSwitch_set(value);
        } 
        get {
          string ret = ONSClient4CPPPINVOKE.ONSFactoryProperty_OnsTraceSwitch_get();
          return ret;
        } 
      }
    
      public static string SendMsgRetryTimes {
        set {
          ONSClient4CPPPINVOKE.ONSFactoryProperty_SendMsgRetryTimes_set(value);
        } 
        get {
          string ret = ONSClient4CPPPINVOKE.ONSFactoryProperty_SendMsgRetryTimes_get();
          return ret;
        } 
      }
    
      public static string ConsumerInstanceName {
        set {
          ONSClient4CPPPINVOKE.ONSFactoryProperty_ConsumerInstanceName_set(value);
        } 
        get {
          string ret = ONSClient4CPPPINVOKE.ONSFactoryProperty_ConsumerInstanceName_get();
          return ret;
        } 
      }
    
      public static string InstanceId {
        set {
          ONSClient4CPPPINVOKE.ONSFactoryProperty_InstanceId_set(value);
        } 
        get {
          string ret = ONSClient4CPPPINVOKE.ONSFactoryProperty_InstanceId_get();
          return ret;
        } 
      }
    
    }
    
    }
    2、
    2.返回顶部
     
    3.返回顶部
     
    4.返回顶部
     
    5.返回顶部
     
     
    6.返回顶部
     
    warn 作者:ylbtech
    出处:http://ylbtech.cnblogs.com/
    本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。
  • 相关阅读:
    第十一周编程作业
    第十周作业
    第九周编程作业
    第八周作业总结
    第七周作业编程
    第六周作业总结
    第五周课程总结&试验报告(三)
    第四周课程总结&试验报告(二)
    第三周总结
    java2
  • 原文地址:https://www.cnblogs.com/storebook/p/12603914.html
Copyright © 2011-2022 走看看