⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rveppserver.h

📁 h.248协议源码
💻 H
字号:
#if (0)
******************************************************************************
Filename   :
Description:
******************************************************************************
                Copyright (c) 1999 RADVision Inc.
************************************************************************
NOTICE:
This document contains information that is proprietary to RADVision LTD.
No part of this publication may be reproduced in any form whatsoever 
without written prior approval by RADVision LTD..

RADVision LTD. reserves the right to revise this publication and make 
changes without obligation to notify any person of such revisions or 
changes.
******************************************************************************
$Revision:$
$Date:$
$Author: S. Cipolli$
******************************************************************************
#endif
#ifndef RV_EPPSERVER_H
#define RV_EPPSERVER_H

#include "rvtypes.h"
#include "rvthread.h"
#include "rvsocket.h"
#include "rvepp.h"

/* Server */
struct RvEppServer_;
typedef RvEppConnId (*RvEppServerOpen)(struct RvEppServer_* es, char* termId,
  const RvEppConnParameters* params);
typedef RvBool (*RvEppServerModify)(struct RvEppServer_* es,
  RvEppConnId connId, const RvEppConnParameters* params);
typedef RvBool (*RvEppServerQuery)(struct RvEppServer_* es, char* termConnId,
  const char* propertyName, OUT char* propertyValue);
typedef RvBool (*RvEppServerSet)(struct RvEppServer_* es, 	char* termId, const char* propertyName,
								 char* propertyParam);
typedef RvBool (*RvEppServerClose)(struct RvEppServer_* es, RvEppConnId connId);
typedef RvBool (*RvEppServerStart)(struct RvEppServer_* es, char* termId, const char* signal);
typedef RvBool (*RvEppServerStop)(struct RvEppServer_* es, 	char* termId, const char* signal);


typedef struct RvEppServer_ {
	RvHost host;
	RvSocket s;
	RvThread thread;
	RvBool done;
	const char* endpointName;
	const char* mgIp;
	RvInetPort mgPort;
	RvEppServerOpen eOpen;
	RvEppServerModify eModify;
	RvEppServerQuery eQuery;
	RvEppServerClose eClose;
	RvEppServerStart eStart;
	RvEppServerStop eStop;
	RvEppServerSet eSet;
} RvEppServer;

RvEppServer* rvEppServerConstruct(RvEppServer* es, 
  const char* endpointName, const char* packageList,
  const char* mgIp, RvInetPort mgPort,
  RvEppServerOpen eOpen, RvEppServerModify eModify, RvEppServerClose eClose,
  RvEppServerQuery eQuery, RvEppServerStart eStart, RvEppServerStop eStop, RvEppServerSet eSet);
void rvEppServerDestruct(RvEppServer* es);
void rvEppServerEvent(RvEppServer* es, const char* eventName);
#define rvEppServerGetName(es)			((es)->endpointName)
#define rvEppServerGetPort(es)			((rvSocketGetPort(&es->s))
#define rvEppServerGetMgIp(es)			((es)->mgIp)
#define rvEppServerGetMgPort(es)		((es)->mgPort)

#endif

⌨️ 快捷键说明

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