亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? ptprovider.h

?? 基于sipfoundy 公司開發的sipx協議API
?? H
?? 第 1 頁 / 共 2 頁
字號:
//// Copyright (C) 2004, 2005 Pingtel Corp.// //// $$//////////////////////////////////////////////////////////////////////////////#ifndef _PtProvider_h_#define _PtProvider_h_// SYSTEM INCLUDES// APPLICATION INCLUDES#include "os/OsDefs.h"#include "os/OsBSem.h"#include "os/OsProtectEventMgr.h"#include "ptapi/PtDefs.h"#include "tao/TaoDefs.h"// DEFINES// MACROS// EXTERNAL FUNCTIONS// EXTERNAL VARIABLES// CONSTANTS// STRUCTS// TYPEDEFS// FORWARD DECLARATIONSclass PtAddress;class PtCall;class PtProviderListener;class PtTerminal;class TaoClientTask;class TaoServerTask;class TaoReference;class TaoObjectMap;class CpCallManager;//:A PtProvider represents the software entity that interfaces with an//:instance of the "Pingtel Server" to monitor and control a group of//:Pingtel phones.//// <H3>Obtaining access to a Provider (Pingtel Server)</H3>// A PtProvider object is created and returned by the static// PtProvider::getProvider() method.  This method sets up any needed// communication paths between the application and the provider.//// <H3>Listeners and Events</H3>// Each time a state change occurs on a provider, the application is notified// via an event. These events are reported via PtProviderListener objects.// Applications instantiate objects which are derived from the// PtProviderListener class and use the PtProvider.addProviderListener()// method to begin the delivery of events. Nearly all provider// events reported via a PtProviderListener are instances of either the// PtProviderEvent class or its descendants.  The only exceptions are the// PROVIDER_ADDRESS_ADDED and PROVIDER_ADDRESS_REMOVED events (which are// instances of the PtAddressEvent class) and the PROVIDER_TERMINAL_ADDED// and PROVIDER_TERMINAL_REMOVED events (which are instances of the// PtTerminalEvent class).<br>// <br>// Applications may query the reported event object for// the specific state change via the PtEvent.getId() method. When the// provider changes state, a PtProviderEvent is reported via the// PtProviderListener with one of the following event IDs:// PROVIDER_IN_SERVICE, PROVIDER_OUT_OF_SERVICE, or PROVIDER_SHUTDOWN.  A// PtProviderEvent with an event ID of PROVIDER_EVENT_TRANSMISSION_ENDED is// delivered to all PtProviderListeners when the provider becomes// unobservable and is the final event delivered to the listener.//// <H3>Call Objects and Providers</H3>// The PtProvider maintains knowledge of the calls currently associated with// it. Applications may obtain an array of these calls via the// PtProvider.getCalls() method. A PtProvider may have calls associated with// it that were created before it came into existence. The provider maintains// references to all calls until they move into the PtCall::INVALID state.<br>// <br>// Applications may create new calls using the PtProvider.createCall() method.// A new call is returned in the PtCall::IDLE state. Applications may then// use this idle call to place new phone calls. Once created, this new// call object is returned via the PtProvider.getCalls() method.//// <H3>The Provider's domain</H3>// The term "provider's domain" refers to the collection of PtAddress and// PtTerminal objects which are local to the provider, and typically, can be// controlled by the provider.//// <H3>Address and Terminal Objects</H3>// A PtAddress object represents what we commonly think of as a "telephone// number." For calls to IP telephony endpoints, the "telephone number" may// actually be a URL or IP address identifying the endpoint.  Regardless, it// represents a logical endpoint of a phone call.  A PtTerminal// represents a physical endpoint connected to the telephone or IP network.// An example of a terminal is a telephone that uses the Pingtel Telephony API.// PtAddresses and PtTerminals are in a many-to-many relationship. A// PtAddress may be associated with multiple PtTerminals, and PtTerminals// may be associated with multiple PtAddresses. See the specifications for// the PtAddress and PtTerminal classes for more information.<br>// <br>// Unlike PtCall objects, applications may not create PtTerminal or PtAddress// objects. The PtProvider begins with knowledge of certain PtTerminal and// PtAddress objects within its local domain. This list is quasi-static,// changing only as logical and physical endpoints are added and removed in// the phone system. The currently known addresses and terminals in the// provider's domain are reported by the PtProvider.getAddresses() and// PtProvider.getTerminals() methods, respectively.<br>// <br>// PtAddress and PtTerminal objects may also be created sometime during the// operation of the PtProvider when the PtProvider learns of addresses and// terminals that are outside of its domain.  For example, if the PtProvider's// domain is a PBX, the PtProvider will know about all PtAddresses and// PtTerminals in the PBX.  Any PtAddresses and PtTerminals it subsequently// learns about that are outside the PBX are referred to as remote. These// remote address and terminal objects are not reported by the// PtProvider.getTerminals() and PtProvider.getAddresses() methods.class PtProvider{/* //////////////////////////// PUBLIC //////////////////////////////////// */public:   enum ProviderState   {      IN_SERVICE,      OUT_OF_SERVICE,      SHUTDOWN   };   //!enumcode: IN_SERVICE - the provider is currently available for use   //!enumcode: OUT_OF_SERVICE - the provider is currently not available for use   //!enumcode: SHUTDOWN - the provider is permanently no longer available for use/* ============================ CREATORS ================================== */   static PtStatus getProvider(const char* login, const char* password,                               const char* server, const char* options,                                                           CpCallManager* pCallMgr, PtProvider*& rpProvider); //  static int getProvider(const char* login, const char* password,   //                            const char* server, const char* options,     //                          PtProvider& rProvider);     //:If successful, sets <i>rpProvider</i> to point to a PtProvider object.     //!param: (in) login - user identifier (used for authentication)     //!param: (in) password - password (used for authentication)     //!param: (in) server - Pingtel server expressed as "host:port"     //!param: (in) options - (not presently used)     //!param: (in) pCallManager - Pointer to the call manager     //!param: (out) rProvider - set to refer to a PtProvider object     //!retcode: PT_SUCCESS - rProvider reference to a PtProvider object     //!retcode: PT_PROVIDER_UNAVAILABLE - the Pingtel server did not respond     //!retcode: PT_HOST_NOT_FOUND - Invalid host or port for server     //!retcode: PT_AUTH_FAILED - Invalid login name or password/* ============================ MANIPULATORS ============================== */   virtual PtStatus addProviderListener(PtProviderListener& rListener);     //:Adds a listener to the provider.     //!param: (in) rListener - the listener to add to this provider     //!retcode: PT_SUCCESS - success     //!retcode: PT_EXISTS - <i>rListener</i> is already registered     //!retcode: PT_PROVIDER_UNAVAILABLE - the provider is not available   virtual PtStatus createCall(PtCall& rCall);     //:If successful, sets <i>rpCall</i> to refer to a new PtCall object.     // The new PtCall object will be in the PtCall::IDLE state and have no     // connections.     //!param: (out) rCall - reference to the newly created call     //!retcode: PT_SUCCESS - success     //!retcode: PT_RESOURCE_UNAVAILABLE - insufficient resources     //!retcode: PT_PROVIDER_UNAVAILABLE - the provider is not available   virtual PtStatus removeProviderListener(PtProviderListener& rListener);     //:Removes the specified listener from the provider.     //!param: (in) rListener - the listener to remove from this provider     //!retcode: PT_SUCCESS - success     //!retcode: PT_NOT_FOUND - <i>rListener</i> not registered     //!retcode: PT_PROVIDER_UNAVAILABLE - the provider is not available   virtual PtStatus shutdown(void);     //:Instructs the provider to shut itself down and perform all necessary     //:cleanup.     //!retcode: PT_SUCCESS - success     //!retcode: PT_PROVIDER_UNAVAILABLE - the provider is not available/* ============================ ACCESSORS ================================= */   virtual PtStatus getAddress(const char* phoneURL, PtAddress& rAddress);

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品一区2区| 久久久久国产免费免费| 亚洲一区二区在线观看视频| 色综合天天综合狠狠| 综合色中文字幕| 在线一区二区三区四区五区 | 欧美精品乱码久久久久久| 亚洲韩国精品一区| 日韩一区二区影院| 懂色av中文一区二区三区 | 国产无一区二区| 成人自拍视频在线观看| 国产精品午夜春色av| 色综合亚洲欧洲| 午夜欧美一区二区三区在线播放| 7799精品视频| 国产成人免费视频一区| 亚洲三级电影网站| 91精品国产高清一区二区三区蜜臀| 午夜视频在线观看一区二区三区| 欧美成人一区二区三区片免费| 国产一区二区美女| 亚洲一区二区美女| 精品国产91久久久久久久妲己| 99在线精品一区二区三区| 天天亚洲美女在线视频| 国产精品丝袜久久久久久app| 欧美精品三级日韩久久| 色综合欧美在线| 成人福利视频网站| 麻豆精品国产91久久久久久| 樱桃国产成人精品视频| 国产清纯美女被跳蛋高潮一区二区久久w | 在线看不卡av| 91丨九色porny丨蝌蚪| 国产91精品精华液一区二区三区 | 成人短视频下载| 韩国三级在线一区| 日韩精品电影在线| 有坂深雪av一区二区精品| 亚洲欧洲精品一区二区精品久久久| 欧美v日韩v国产v| 欧美一区二区日韩| 日韩亚洲欧美在线| 日韩一区二区三区在线| 制服.丝袜.亚洲.另类.中文| 欧美午夜不卡在线观看免费| 91麻豆国产福利在线观看| 色呦呦网站一区| 色噜噜久久综合| 欧美日韩国产一级片| 91精品国产日韩91久久久久久| 欧美高清视频在线高清观看mv色露露十八 | 国产精品自在欧美一区| 成人99免费视频| bt欧美亚洲午夜电影天堂| av欧美精品.com| 精品视频全国免费看| 欧美成人在线直播| 亚洲精品视频自拍| 亚洲福利一区二区三区| 男女性色大片免费观看一区二区| 国产精品69毛片高清亚洲| jlzzjlzz亚洲日本少妇| 欧美亚洲一区三区| 欧美sm美女调教| 亚洲视频你懂的| 欧美aⅴ一区二区三区视频| 国产麻豆成人传媒免费观看| 91一区一区三区| 日韩欧美成人激情| 国产精品三级av| 午夜精品久久久久久| 极品少妇一区二区| 欧美亚洲一区二区在线观看| 国产性天天综合网| 日韩国产在线一| jvid福利写真一区二区三区| 制服丝袜国产精品| 亚洲男同性恋视频| 国产精品一区二区91| 欧美一区二区视频网站| 亚洲少妇30p| 色综合中文字幕国产 | 色偷偷久久人人79超碰人人澡| 精品精品国产高清a毛片牛牛 | av电影一区二区| 国产亚洲精久久久久久| 日本在线不卡一区| 欧美日韩你懂的| 亚洲制服丝袜在线| 91久久免费观看| 亚洲少妇30p| 在线视频欧美区| 日本一区二区不卡视频| 国产伦精品一区二区三区在线观看 | 在线亚洲高清视频| 精品一区二区三区欧美| 欧美精品一区二区蜜臀亚洲| 日韩极品在线观看| 日韩一区二区电影| 激情五月激情综合网| 92国产精品观看| 一区二区三区美女| 国产色产综合色产在线视频| 日本不卡视频在线| 久久综合成人精品亚洲另类欧美| 精品一区二区成人精品| 久久影音资源网| 91网页版在线| 日韩av在线免费观看不卡| 久久久久久免费| 欧美一区二区三区视频免费| 成人污污视频在线观看| 免费观看日韩电影| 午夜精品福利视频网站| 日本一区二区三级电影在线观看 | 亚洲欧美一区二区不卡| 久久免费视频色| 91精品国产综合久久福利| 99这里只有精品| 男女性色大片免费观看一区二区 | jlzzjlzz欧美大全| 国产精品一品视频| 国产精品一二三| 午夜视频一区在线观看| 成人欧美一区二区三区在线播放| 欧美tk丨vk视频| 日韩欧美高清一区| 日韩西西人体444www| 欧美视频在线一区| 色综合天天综合狠狠| 91美女福利视频| 在线视频一区二区三| 欧美日韩一区高清| 日韩视频不卡中文| 国产三级三级三级精品8ⅰ区| 欧美日韩高清在线播放| 欧美亚洲动漫精品| 色综合天天综合色综合av| av不卡在线播放| 国产·精品毛片| 91在线观看视频| 97久久精品人人爽人人爽蜜臀| 成人免费观看av| 99精品在线观看视频| 欧美主播一区二区三区| 欧美挠脚心视频网站| 51精品秘密在线观看| 91精品国产免费| 久久精品日产第一区二区三区高清版| 精品国产乱码久久久久久蜜臀 | 久久久久久久久伊人| 国产人成亚洲第一网站在线播放| 国产欧美一区二区精品性 | 欧美一区二区福利视频| 777久久久精品| 精品国产免费一区二区三区香蕉 | 欧美最猛黑人xxxxx猛交| 91精品国产综合久久婷婷香蕉| 欧美一区2区视频在线观看| 中文字幕不卡一区| 中文字幕欧美国产| 午夜欧美电影在线观看| 国产在线视频不卡二| 色先锋aa成人| 欧美xfplay| 五月婷婷久久综合| 粉嫩av一区二区三区粉嫩| 欧美日韩一本到| 中文字幕一区二区三区精华液| 午夜精品一区二区三区免费视频| 国产麻豆精品一区二区| 91精品一区二区三区在线观看| 国产日产欧美一区二区视频| 麻豆久久久久久| 欧美视频日韩视频在线观看| 国产亚洲精久久久久久| 日韩黄色一级片| 欧美色图12p| 亚洲一区二区三区在线看| 成人午夜电影久久影院| 精品国产sm最大网站免费看| 亚洲国产精品久久久男人的天堂| 成人av在线播放网址| 久久久久久亚洲综合| 韩日av一区二区| 久久先锋资源网| 岛国精品一区二区| 国产色91在线| youjizz久久| 日韩理论电影院| 色94色欧美sute亚洲线路二 | 亚洲精品视频在线观看免费| 99久久久久久99| 亚洲精品中文在线影院| 欧美色欧美亚洲另类二区| 亚洲va欧美va天堂v国产综合| 欧美日本一区二区| 日本不卡高清视频|