www.pudn.com > acdx.rar > EndpointStorage.h


// EndpointStorage.h: interface for the EndpointStorage class. 
// 
////////////////////////////////////////////////////////////////////// 
 
#if !defined(AFX_ENDPOINTSTORAGE_H__7FE3E20A_2295_4903_9548_0E94C440EAED__INCLUDED_) 
#define AFX_ENDPOINTSTORAGE_H__7FE3E20A_2295_4903_9548_0E94C440EAED__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
#include "endpoint.h" 
 
class Endpoint; 
 
//##ModelId=424BB6460140 
class EndpointStorage   
{ 
public: 
	//EndpointStorage(); 
	//virtual ~EndpointStorage(); 
    /** 
     * Add endpoint. 
     * @param _epid     endpoint ID 
     * @param _alias    first H.323 alias 
     */ 
	//##ModelId=424BB6460141 
    void addEndpoint(CString _epid, CString _alias); 
 
    /** 
     * Remove endpoint. 
     * @param _epid     endpoint ID 
     */ 
	//##ModelId=424BB6460151 
    void removeEndpoint(CString _epid); 
 
    /** 
     * Change endpoint state. 
     * @param _epid     endpoint ID 
     * @param _state    new state 
     */ 
	//##ModelId=424BB6460153 
    void setEndpointState(CString _epid, int _state); 
 
    /** 
     * Access endpoint by endpoint ID. 
     * @param _epid     endpoint ID 
     * @return          the endpoint 
     */ 
	//##ModelId=424BB6460161 
    Endpoint endpointById(CString _epid); 
 
    /** 
     * Access endpoint by alias. 
     * @param _alias    H.323 alias 
     * @return          the endpoint 
     */ 
	//##ModelId=424BB646016F 
    Endpoint endpointByAlias(CString _alias); 
 
 
}; 
 
#endif // !defined(AFX_ENDPOINTSTORAGE_H__7FE3E20A_2295_4903_9548_0E94C440EAED__INCLUDED_)