kernelparameters.cs

来自「EasySMPP是一个VS.NET平台下的短信开发包」· CS 代码 · 共 57 行

CS
57
字号
/*
 * EasySMPP - SMPP protocol library for fast and easy
 * SMSC(Short Message Service Centre) client development
 * even for non-telecom guys.
 * 
 * Easy to use classes covers all needed functionality
 * for SMS applications developers and Content Providers.
 * 
 * Written for .NET 2.0 in C#
 * 
 * Copyright (C) 2006 Balan Andrei, http://balan.name
 * 
 * Licensed under the terms of the GNU Lesser General Public License:
 * 		http://www.opensource.org/licenses/lgpl-license.php
 * 
 * For further information visit:
 * 		http://easysmpp.sf.net/
 * 
 * 
 * "Support Open Source software. What about a donation today?"
 *
 * 
 * File Name: KernelParameters.cs
 * 
 * File Authors:
 * 		Balan Name, http://balan.name
 */
using System;

namespace EasySMPP
{
    public class KernelParameters
    {
        public const int MaxBufferSize = 1048576; // 1MB

        public const int MaxPduSize = 131072;

        public const int ReconnectTimeout = 15000; // miliseconds

        public const int WaitPacketResponse = 30; //seconds

        public const int CanBeDisconnected = 180; //seconds - BETTER TO BE MORE THAN TryToReconnectTimeOut

        public const int NationalNumberLength = 8;

        public const int MaxUndeliverableMessages = 30;

        public const int AskDeliveryReceipt = 0; //NoReceipt = 0;

        public const bool SplitLongText = false;

        public const bool UseEnquireLink = false;

        public const int EnquireLinkTimeout = 120000; //miliseconds
    }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?