Update v2.x
This commit is contained in:
parent
bd7cf8cd92
commit
6c3391dcd6
|
@ -42,18 +42,18 @@ tmedia_type_t _get_media_type(twrap_media_type_t type){
|
|||
|
||||
ActionConfig::ActionConfig()
|
||||
{
|
||||
this->handle = tsip_action_create(tsip_atype_config,
|
||||
m_pHandle = tsip_action_create(tsip_atype_config,
|
||||
TSIP_ACTION_SET_NULL());
|
||||
}
|
||||
|
||||
ActionConfig::~ActionConfig()
|
||||
{
|
||||
TSK_OBJECT_SAFE_FREE(this->handle);
|
||||
TSK_OBJECT_SAFE_FREE(m_pHandle);
|
||||
}
|
||||
|
||||
bool ActionConfig::addHeader(const char* name, const char* value)
|
||||
{
|
||||
return (tsip_action_set(this->handle,
|
||||
return (tsip_action_set(m_pHandle,
|
||||
TSIP_ACTION_SET_HEADER(name, value),
|
||||
TSIP_ACTION_SET_NULL()) == 0);
|
||||
}
|
||||
|
@ -61,7 +61,7 @@ bool ActionConfig::addHeader(const char* name, const char* value)
|
|||
ActionConfig* ActionConfig::setResponseLine(short code, const char* phrase)
|
||||
{
|
||||
int32_t _code = code;
|
||||
tsip_action_set(this->handle,
|
||||
tsip_action_set(m_pHandle,
|
||||
TSIP_ACTION_SET_RESP_LINE(_code, phrase),
|
||||
TSIP_ACTION_SET_NULL());
|
||||
return this;
|
||||
|
@ -70,7 +70,7 @@ ActionConfig* ActionConfig::setResponseLine(short code, const char* phrase)
|
|||
ActionConfig* ActionConfig::setMediaString(twrap_media_type_t type, const char* key, const char* value)
|
||||
{
|
||||
tmedia_type_t media_type = _get_media_type(type);
|
||||
tsip_action_set(this->handle,
|
||||
tsip_action_set(m_pHandle,
|
||||
TSIP_ACTION_SET_MEDIA(
|
||||
TMEDIA_SESSION_SET_STR(media_type, key, value),
|
||||
TMEDIA_SESSION_SET_NULL()),
|
||||
|
@ -82,7 +82,7 @@ ActionConfig* ActionConfig::setMediaString(twrap_media_type_t type, const char*
|
|||
ActionConfig* ActionConfig::setMediaInt(twrap_media_type_t type, const char* key, int value)
|
||||
{
|
||||
tmedia_type_t media_type = _get_media_type(type);
|
||||
tsip_action_set(this->handle,
|
||||
tsip_action_set(m_pHandle,
|
||||
TSIP_ACTION_SET_MEDIA(
|
||||
TMEDIA_SESSION_SET_INT32(media_type, key, value),
|
||||
TMEDIA_SESSION_SET_NULL()),
|
||||
|
|
|
@ -38,12 +38,12 @@ public:
|
|||
ActionConfig* setMediaInt(twrap_media_type_t type, const char* key, int value);
|
||||
|
||||
private:
|
||||
tsip_action_handle_t* handle;
|
||||
tsip_action_handle_t* m_pHandle;
|
||||
|
||||
#if !defined(SWIG)
|
||||
public:
|
||||
const tsip_action_handle_t* getHandle()const{
|
||||
return this->handle;
|
||||
const inline tsip_action_handle_t* getHandle()const{
|
||||
return m_pHandle;
|
||||
}
|
||||
#endif
|
||||
};
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
#include "SipSession.h"
|
||||
#include "SipStack.h"
|
||||
#include "MediaSessionMgr.h"
|
||||
|
||||
#include "SipUri.h"
|
||||
#include "Msrp.h"
|
||||
|
||||
/* ======================== AsyncAction ========================*/
|
||||
|
@ -39,157 +39,171 @@ twrap_async_action_t;
|
|||
/* ======================== SipSession ========================*/
|
||||
SipSession::SipSession(SipStack* stack)
|
||||
{
|
||||
this->init(stack);
|
||||
init(stack);
|
||||
}
|
||||
|
||||
SipSession::SipSession(SipStack* stack, tsip_ssession_handle_t* handle)
|
||||
SipSession::SipSession(SipStack* stack, tsip_ssession_handle_t* pHandle)
|
||||
{
|
||||
this->init(stack, handle);
|
||||
init(stack, pHandle);
|
||||
}
|
||||
|
||||
SipSession::~SipSession()
|
||||
{
|
||||
tsip_ssession_set(this->handle,
|
||||
tsip_ssession_set(m_pHandle,
|
||||
TSIP_SSESSION_SET_USERDATA(tsk_null),
|
||||
TSIP_SSESSION_SET_NULL());
|
||||
|
||||
TSK_OBJECT_SAFE_FREE(this->handle);
|
||||
TSK_OBJECT_SAFE_FREE(m_pHandle);
|
||||
}
|
||||
|
||||
void SipSession::init(SipStack* _stack, tsip_ssession_handle_t* _handle/*=tsk_null*/)
|
||||
void SipSession::init(SipStack* pStack, tsip_ssession_handle_t* pHandle/*=tsk_null*/)
|
||||
{
|
||||
if(_handle){
|
||||
if(pHandle){
|
||||
/* "server-side-session" */
|
||||
if(tsip_ssession_take_ownership(_handle)){ /* should never happen */
|
||||
if(tsip_ssession_take_ownership(pHandle)){ /* should never happen */
|
||||
TSK_DEBUG_ERROR("Failed to take ownership");
|
||||
return;
|
||||
}
|
||||
this->handle = _handle;
|
||||
m_pHandle = pHandle;
|
||||
}
|
||||
else{
|
||||
/* "client-side-session" */
|
||||
this->handle = tsip_ssession_create(_stack->getHandle(),
|
||||
m_pHandle = tsip_ssession_create(pStack->getHandle(),
|
||||
TSIP_SSESSION_SET_USERDATA(this),
|
||||
TSIP_SSESSION_SET_NULL());
|
||||
}
|
||||
|
||||
/* set userdata (context) and ref. the stack handle */
|
||||
tsip_ssession_set(this->handle,
|
||||
tsip_ssession_set(m_pHandle,
|
||||
TSIP_SSESSION_SET_USERDATA(this),
|
||||
TSIP_SSESSION_SET_NULL());
|
||||
this->stack = _stack;
|
||||
m_pStack = pStack;
|
||||
}
|
||||
|
||||
bool SipSession::addHeader(const char* name, const char* value)
|
||||
{
|
||||
return (tsip_ssession_set(this->handle,
|
||||
return (tsip_ssession_set(m_pHandle,
|
||||
TSIP_SSESSION_SET_HEADER(name, value),
|
||||
TSIP_SSESSION_SET_NULL()) == 0);
|
||||
}
|
||||
|
||||
bool SipSession::haveOwnership()
|
||||
{
|
||||
return (tsip_ssession_have_ownership(this->handle) == tsk_true);
|
||||
return (tsip_ssession_have_ownership(m_pHandle) == tsk_true);
|
||||
}
|
||||
|
||||
bool SipSession::removeHeader(const char* name)
|
||||
{
|
||||
return (tsip_ssession_set(this->handle,
|
||||
return (tsip_ssession_set(m_pHandle,
|
||||
TSIP_SSESSION_UNSET_HEADER(name),
|
||||
TSIP_SSESSION_SET_NULL()) == 0);
|
||||
}
|
||||
|
||||
bool SipSession::addCaps(const char* name, const char* value)
|
||||
{
|
||||
return (tsip_ssession_set(this->handle,
|
||||
return (tsip_ssession_set(m_pHandle,
|
||||
TSIP_SSESSION_SET_CAPS(name, value),
|
||||
TSIP_SSESSION_SET_NULL()) == 0);
|
||||
}
|
||||
|
||||
bool SipSession::addCaps(const char* name)
|
||||
{
|
||||
return (tsip_ssession_set(this->handle,
|
||||
return (tsip_ssession_set(m_pHandle,
|
||||
TSIP_SSESSION_SET_CAPS(name, tsk_null),
|
||||
TSIP_SSESSION_SET_NULL()) == 0);
|
||||
}
|
||||
|
||||
bool SipSession::removeCaps(const char* name)
|
||||
{
|
||||
return (tsip_ssession_set(this->handle,
|
||||
return (tsip_ssession_set(m_pHandle,
|
||||
TSIP_SSESSION_UNSET_CAPS(name),
|
||||
TSIP_SSESSION_SET_NULL()) == 0);
|
||||
}
|
||||
|
||||
bool SipSession::setExpires(unsigned expires)
|
||||
{
|
||||
return (tsip_ssession_set(this->handle,
|
||||
return (tsip_ssession_set(m_pHandle,
|
||||
TSIP_SSESSION_SET_EXPIRES(expires),
|
||||
TSIP_SSESSION_SET_NULL()) == 0);
|
||||
}
|
||||
|
||||
bool SipSession::setFromUri(const char* fromUri)
|
||||
bool SipSession::setFromUri(const char* fromUriString)
|
||||
{
|
||||
return (tsip_ssession_set(this->handle,
|
||||
TSIP_SSESSION_SET_FROM(fromUri),
|
||||
return (tsip_ssession_set(m_pHandle,
|
||||
TSIP_SSESSION_SET_FROM_STR(fromUriString),
|
||||
TSIP_SSESSION_SET_NULL()) == 0);
|
||||
}
|
||||
|
||||
bool SipSession::setToUri(const char* toUri)
|
||||
bool SipSession::setFromUri(const SipUri* fromUri)
|
||||
{
|
||||
return (tsip_ssession_set(this->handle,
|
||||
TSIP_SSESSION_SET_TO(toUri),
|
||||
return (tsip_ssession_set(m_pHandle,
|
||||
TSIP_SSESSION_SET_FROM_OBJ(fromUri->getWrappedUri()),
|
||||
TSIP_SSESSION_SET_NULL()) == 0);
|
||||
}
|
||||
|
||||
bool SipSession::setToUri(const char* toUriString)
|
||||
{
|
||||
return (tsip_ssession_set(m_pHandle,
|
||||
TSIP_SSESSION_SET_TO_STR(toUriString),
|
||||
TSIP_SSESSION_SET_NULL()) == 0);
|
||||
}
|
||||
|
||||
bool SipSession::setToUri(const SipUri* toUri)
|
||||
{
|
||||
return (tsip_ssession_set(m_pHandle,
|
||||
TSIP_SSESSION_SET_TO_OBJ(toUri->getWrappedUri()),
|
||||
TSIP_SSESSION_SET_NULL()) == 0);
|
||||
}
|
||||
|
||||
bool SipSession::setSilentHangup(bool silent)
|
||||
{
|
||||
return (tsip_ssession_set(this->handle,
|
||||
return (tsip_ssession_set(m_pHandle,
|
||||
TSIP_SSESSION_SET_SILENT_HANGUP(silent ? tsk_true : tsk_false),
|
||||
TSIP_SSESSION_SET_NULL()) == 0);
|
||||
}
|
||||
|
||||
bool SipSession::addSigCompCompartment(const char* compId)
|
||||
{
|
||||
return (tsip_ssession_set(this->handle,
|
||||
return (tsip_ssession_set(m_pHandle,
|
||||
TSIP_SSESSION_SET_SIGCOMP_COMPARTMENT(compId),
|
||||
TSIP_SSESSION_SET_NULL()) == 0);
|
||||
}
|
||||
|
||||
bool SipSession::removeSigCompCompartment()
|
||||
{
|
||||
return (tsip_ssession_set(this->handle,
|
||||
return (tsip_ssession_set(m_pHandle,
|
||||
TSIP_SSESSION_UNSET_SIGCOMP_COMPARTMENT(),
|
||||
TSIP_SSESSION_SET_NULL()) == 0);
|
||||
}
|
||||
|
||||
unsigned SipSession::getId()
|
||||
{
|
||||
return (unsigned)tsip_ssession_get_id(this->handle);
|
||||
return (unsigned)tsip_ssession_get_id(m_pHandle);
|
||||
}
|
||||
|
||||
const SipStack* SipSession::getStack()const
|
||||
{
|
||||
return this->stack;
|
||||
return m_pStack;
|
||||
}
|
||||
|
||||
|
||||
/* ======================== InviteSession ========================*/
|
||||
|
||||
InviteSession::InviteSession(SipStack* Stack)
|
||||
: SipSession(Stack), mediaMgr(tsk_null)
|
||||
InviteSession::InviteSession(SipStack* pStack)
|
||||
: SipSession(pStack), m_pMediaMgr(tsk_null)
|
||||
{
|
||||
}
|
||||
|
||||
InviteSession::InviteSession(SipStack* Stack, tsip_ssession_handle_t* handle)
|
||||
: SipSession(Stack, handle), mediaMgr(tsk_null)
|
||||
InviteSession::InviteSession(SipStack* pStack, tsip_ssession_handle_t* pHandle)
|
||||
: SipSession(pStack, pHandle), m_pMediaMgr(tsk_null)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
InviteSession::~InviteSession()
|
||||
{
|
||||
if(this->mediaMgr){
|
||||
delete this->mediaMgr, this->mediaMgr = tsk_null;
|
||||
if(m_pMediaMgr){
|
||||
delete m_pMediaMgr, m_pMediaMgr = tsk_null;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -213,7 +227,7 @@ bool InviteSession::hangup(ActionConfig* config/*=tsk_null*/)
|
|||
int ret;
|
||||
twrap_async_action_t asyn_action = {0};
|
||||
|
||||
handle = tsk_object_ref(this->handle);
|
||||
handle = tsk_object_ref(m_pHandle);
|
||||
asyn_action.config = config;
|
||||
asyn_action.session = handle;
|
||||
ret = tsk_thread_create(tid, __droid_hangup, &asyn_action);
|
||||
|
@ -225,7 +239,7 @@ bool InviteSession::hangup(ActionConfig* config/*=tsk_null*/)
|
|||
#else
|
||||
bool InviteSession::hangup(ActionConfig* config/*=tsk_null*/)
|
||||
{
|
||||
return (tsip_action_BYE(this->handle,
|
||||
return (tsip_action_BYE(m_pHandle,
|
||||
TSIP_ACTION_SET_NULL()) == 0);
|
||||
}
|
||||
#endif
|
||||
|
@ -250,7 +264,7 @@ bool InviteSession::reject(ActionConfig* config/*=tsk_null*/)
|
|||
int ret;
|
||||
twrap_async_action_t asyn_action = {0};
|
||||
|
||||
handle = tsk_object_ref(this->handle);
|
||||
handle = tsk_object_ref(m_pHandle);
|
||||
asyn_action.config = config;
|
||||
asyn_action.session = handle;
|
||||
ret = tsk_thread_create(tid, __droid_reject, &asyn_action);
|
||||
|
@ -264,7 +278,7 @@ bool InviteSession::reject(ActionConfig* config/*=tsk_null*/)
|
|||
{
|
||||
const tsip_action_handle_t* action_cfg = config ? config->getHandle() : tsk_null;
|
||||
|
||||
return (tsip_action_REJECT(this->handle,
|
||||
return (tsip_action_REJECT(m_pHandle,
|
||||
TSIP_ACTION_SET_CONFIG(action_cfg),
|
||||
TSIP_ACTION_SET_NULL()) == 0);
|
||||
}
|
||||
|
@ -291,7 +305,7 @@ bool InviteSession::accept(ActionConfig* config/*=tsk_null*/)
|
|||
twrap_async_action_t asyn_action = {0};
|
||||
|
||||
|
||||
handle = tsk_object_ref(this->handle);
|
||||
handle = tsk_object_ref(m_pHandle);
|
||||
asyn_action.config = config;
|
||||
asyn_action.session = handle;
|
||||
ret = tsk_thread_create(tid, __droid_accept, &asyn_action);
|
||||
|
@ -305,7 +319,7 @@ bool InviteSession::accept(ActionConfig* config/*=tsk_null*/)
|
|||
{
|
||||
const tsip_action_handle_t* action_cfg = config ? config->getHandle() : tsk_null;
|
||||
|
||||
return (tsip_action_ACCEPT(this->handle,
|
||||
return (tsip_action_ACCEPT(m_pHandle,
|
||||
TSIP_ACTION_SET_CONFIG(action_cfg),
|
||||
TSIP_ACTION_SET_NULL()) == 0);
|
||||
}
|
||||
|
@ -313,17 +327,17 @@ bool InviteSession::accept(ActionConfig* config/*=tsk_null*/)
|
|||
|
||||
const MediaSessionMgr* InviteSession::getMediaMgr()
|
||||
{
|
||||
if(!this->mediaMgr && this->handle){
|
||||
tmedia_session_mgr_t* mgr = tsip_session_get_mediamgr(this->handle);
|
||||
if(!m_pMediaMgr && m_pHandle){
|
||||
tmedia_session_mgr_t* mgr = tsip_session_get_mediamgr(m_pHandle);
|
||||
if(mgr){
|
||||
this->mediaMgr = new MediaSessionMgr(mgr);
|
||||
m_pMediaMgr = new MediaSessionMgr(mgr);
|
||||
tsk_object_unref(mgr);
|
||||
}
|
||||
else{
|
||||
TSK_DEBUG_WARN("No media session associated to this session");
|
||||
}
|
||||
}
|
||||
return this->mediaMgr;
|
||||
return m_pMediaMgr;
|
||||
}
|
||||
|
||||
|
||||
|
@ -385,57 +399,99 @@ static bool __droid_call(tsip_ssession_handle_t * session_handle, tmedia_type_t
|
|||
}
|
||||
#endif
|
||||
|
||||
bool CallSession::callAudio(const char* remoteUri, ActionConfig* config/*=tsk_null*/)
|
||||
bool CallSession::callAudio(const SipUri* remoteUri, ActionConfig* config/*=tsk_null*/)
|
||||
{
|
||||
tsip_ssession_set(this->handle,
|
||||
TSIP_SSESSION_SET_TO(remoteUri),
|
||||
if(!remoteUri){
|
||||
TSK_DEBUG_ERROR("Invalid parameter");
|
||||
return false;
|
||||
}
|
||||
tsip_ssession_set(m_pHandle,
|
||||
TSIP_SSESSION_SET_TO_OBJ(remoteUri->getWrappedUri()),
|
||||
TSIP_SSESSION_SET_NULL());
|
||||
#if ANDROID
|
||||
__droid_call(this->handle, tmedia_audio, config);
|
||||
__droid_call(m_pHandle, tmedia_audio, config);
|
||||
return true;
|
||||
#else
|
||||
const tsip_action_handle_t* action_cfg = config ? config->getHandle() : tsk_null;
|
||||
return (tsip_action_INVITE(this->handle, tmedia_audio,
|
||||
return (tsip_action_INVITE(m_pHandle, tmedia_audio,
|
||||
TSIP_ACTION_SET_CONFIG(action_cfg),
|
||||
TSIP_ACTION_SET_NULL()) == 0);
|
||||
#endif
|
||||
}
|
||||
|
||||
bool CallSession::callAudioVideo(const char* remoteUri, ActionConfig* config/*=tsk_null*/)
|
||||
bool CallSession::callAudio(const char* remoteUriString, ActionConfig* config/*=tsk_null*/)
|
||||
{
|
||||
tsip_ssession_set(this->handle,
|
||||
TSIP_SSESSION_SET_TO(remoteUri),
|
||||
SipUri sipUri(remoteUriString);
|
||||
if(sipUri.isValid()){
|
||||
return callAudio(&sipUri, config);
|
||||
}
|
||||
TSK_DEBUG_ERROR("Failed to parse sip uri=%s", remoteUriString);
|
||||
return false;
|
||||
}
|
||||
|
||||
bool CallSession::callAudioVideo(const SipUri* remoteUri, ActionConfig* config/*=tsk_null*/)
|
||||
{
|
||||
if(!remoteUri){
|
||||
TSK_DEBUG_ERROR("Invalid parameter");
|
||||
return false;
|
||||
}
|
||||
tsip_ssession_set(m_pHandle,
|
||||
TSIP_SSESSION_SET_TO_OBJ(remoteUri->getWrappedUri()),
|
||||
TSIP_SSESSION_SET_NULL());
|
||||
#if ANDROID
|
||||
__droid_call(this->handle, (tmedia_type_t)(tmedia_audio | tmedia_video), config);
|
||||
__droid_call(m_pHandle, (tmedia_type_t)(tmedia_audio | tmedia_video), config);
|
||||
return true;
|
||||
#else
|
||||
const tsip_action_handle_t* action_cfg = config ? config->getHandle() : tsk_null;
|
||||
return (tsip_action_INVITE(this->handle, (tmedia_type_t)(tmedia_audio | tmedia_video),
|
||||
return (tsip_action_INVITE(m_pHandle, (tmedia_type_t)(tmedia_audio | tmedia_video),
|
||||
TSIP_ACTION_SET_CONFIG(action_cfg),
|
||||
TSIP_ACTION_SET_NULL()) == 0);
|
||||
#endif
|
||||
}
|
||||
|
||||
bool CallSession::callVideo(const char* remoteUri, ActionConfig* config/*=tsk_null*/)
|
||||
bool CallSession::callAudioVideo(const char* remoteUriString, ActionConfig* config/*=tsk_null*/)
|
||||
{
|
||||
tsip_ssession_set(this->handle,
|
||||
TSIP_SSESSION_SET_TO(remoteUri),
|
||||
SipUri sipUri(remoteUriString);
|
||||
if(sipUri.isValid()){
|
||||
return callAudioVideo(&sipUri, config);
|
||||
}
|
||||
TSK_DEBUG_ERROR("Failed to parse sip uri=%s", remoteUriString);
|
||||
return false;
|
||||
}
|
||||
|
||||
bool CallSession::callVideo(const SipUri* remoteUri, ActionConfig* config/*=tsk_null*/)
|
||||
{
|
||||
if(!remoteUri){
|
||||
TSK_DEBUG_ERROR("Invalid parameter");
|
||||
return false;
|
||||
}
|
||||
tsip_ssession_set(m_pHandle,
|
||||
TSIP_SSESSION_SET_TO_OBJ(remoteUri->getWrappedUri()),
|
||||
TSIP_SSESSION_SET_NULL());
|
||||
#if ANDROID
|
||||
__droid_call(this->handle, tmedia_video, config);
|
||||
__droid_call(m_pHandle, tmedia_video, config);
|
||||
return true;
|
||||
#else
|
||||
const tsip_action_handle_t* action_cfg = config ? config->getHandle() : tsk_null;
|
||||
return (tsip_action_INVITE(this->handle, tmedia_video,
|
||||
return (tsip_action_INVITE(m_pHandle, tmedia_video,
|
||||
TSIP_ACTION_SET_CONFIG(action_cfg),
|
||||
TSIP_ACTION_SET_NULL()) == 0);
|
||||
#endif
|
||||
}
|
||||
|
||||
bool CallSession::callVideo(const char* remoteUriString, ActionConfig* config/*=tsk_null*/)
|
||||
{
|
||||
SipUri sipUri(remoteUriString);
|
||||
if(sipUri.isValid()){
|
||||
return callVideo(&sipUri, config);
|
||||
}
|
||||
TSK_DEBUG_ERROR("Failed to parse sip uri=%s", remoteUriString);
|
||||
return false;
|
||||
}
|
||||
|
||||
bool CallSession::setSessionTimer(unsigned timeout, const char* refresher)
|
||||
{
|
||||
return (tsip_ssession_set(this->handle,
|
||||
return (tsip_ssession_set(m_pHandle,
|
||||
TSIP_SSESSION_SET_MEDIA(
|
||||
TSIP_MSESSION_SET_TIMERS(timeout, refresher),
|
||||
TSIP_MSESSION_SET_NULL()
|
||||
|
@ -446,7 +502,7 @@ bool CallSession::setSessionTimer(unsigned timeout, const char* refresher)
|
|||
bool CallSession::set100rel(bool enabled)
|
||||
{
|
||||
if(enabled){
|
||||
return (tsip_ssession_set(this->handle,
|
||||
return (tsip_ssession_set(m_pHandle,
|
||||
TSIP_SSESSION_SET_MEDIA(
|
||||
TSIP_MSESSION_SET_100rel(),
|
||||
TSIP_MSESSION_SET_NULL()
|
||||
|
@ -454,7 +510,7 @@ bool CallSession::set100rel(bool enabled)
|
|||
TSIP_SSESSION_SET_NULL()) == 0);
|
||||
}
|
||||
else{
|
||||
return (tsip_ssession_set(this->handle,
|
||||
return (tsip_ssession_set(m_pHandle,
|
||||
TSIP_SSESSION_SET_MEDIA(
|
||||
TSIP_MSESSION_UNSET_100rel(),
|
||||
TSIP_MSESSION_SET_NULL()
|
||||
|
@ -465,7 +521,7 @@ bool CallSession::set100rel(bool enabled)
|
|||
|
||||
bool CallSession::setQoS(tmedia_qos_stype_t type, tmedia_qos_strength_t strength)
|
||||
{
|
||||
return (tsip_ssession_set(this->handle,
|
||||
return (tsip_ssession_set(m_pHandle,
|
||||
TSIP_SSESSION_SET_MEDIA(
|
||||
TSIP_MSESSION_SET_QOS(type, strength),
|
||||
TSIP_MSESSION_SET_NULL()
|
||||
|
@ -477,7 +533,7 @@ bool CallSession::hold(ActionConfig* config/*=tsk_null*/)
|
|||
{
|
||||
const tsip_action_handle_t* action_cfg = config ? config->getHandle() : tsk_null;
|
||||
|
||||
return (tsip_action_HOLD(this->handle, tmedia_all,
|
||||
return (tsip_action_HOLD(m_pHandle, tmedia_all,
|
||||
TSIP_ACTION_SET_CONFIG(action_cfg),
|
||||
TSIP_ACTION_SET_NULL()) ==0 );
|
||||
}
|
||||
|
@ -486,24 +542,24 @@ bool CallSession::resume(ActionConfig* config/*=tsk_null*/)
|
|||
{
|
||||
const tsip_action_handle_t* action_cfg = config ? config->getHandle() : tsk_null;
|
||||
|
||||
return (tsip_action_RESUME(this->handle, tmedia_all,
|
||||
return (tsip_action_RESUME(m_pHandle, tmedia_all,
|
||||
TSIP_ACTION_SET_CONFIG(action_cfg),
|
||||
TSIP_ACTION_SET_NULL()) == 0);
|
||||
}
|
||||
|
||||
bool CallSession::sendDTMF(int number)
|
||||
{
|
||||
return (tsip_action_DTMF(this->handle, number,
|
||||
return (tsip_action_DTMF(m_pHandle, number,
|
||||
TSIP_ACTION_SET_NULL()) == 0);
|
||||
}
|
||||
|
||||
|
||||
/* ======================== MsrpSession ========================*/
|
||||
|
||||
MsrpSession::MsrpSession(SipStack* Stack, MsrpCallback* _callback)
|
||||
: InviteSession(Stack), callback(_callback)
|
||||
MsrpSession::MsrpSession(SipStack* pStack, MsrpCallback* pCallback)
|
||||
: InviteSession(pStack), m_pCallback(pCallback)
|
||||
{
|
||||
tsip_ssession_set(this->handle,
|
||||
tsip_ssession_set(m_pHandle,
|
||||
TSIP_SSESSION_SET_MEDIA(
|
||||
TSIP_MSESSION_SET_MSRP_CB(twrap_msrp_cb),
|
||||
TSIP_MSESSION_SET_NULL()
|
||||
|
@ -511,10 +567,10 @@ MsrpSession::MsrpSession(SipStack* Stack, MsrpCallback* _callback)
|
|||
TSIP_SSESSION_SET_NULL());
|
||||
}
|
||||
|
||||
MsrpSession::MsrpSession(SipStack* Stack, tsip_ssession_handle_t* handle)
|
||||
: InviteSession(Stack, handle), callback(tsk_null)
|
||||
MsrpSession::MsrpSession(SipStack* pStack, tsip_ssession_handle_t* pHandle)
|
||||
: InviteSession(pStack, pHandle), m_pCallback(tsk_null)
|
||||
{
|
||||
tsip_ssession_set(this->handle,
|
||||
tsip_ssession_set(m_pHandle,
|
||||
TSIP_SSESSION_SET_MEDIA(
|
||||
TSIP_MSESSION_SET_MSRP_CB(twrap_msrp_cb),
|
||||
TSIP_MSESSION_SET_NULL()
|
||||
|
@ -526,30 +582,44 @@ MsrpSession::~MsrpSession()
|
|||
{
|
||||
}
|
||||
|
||||
bool MsrpSession::setCallback(MsrpCallback* _callback)
|
||||
bool MsrpSession::setCallback(MsrpCallback* pCallback)
|
||||
{
|
||||
this->callback = _callback;
|
||||
m_pCallback = pCallback;
|
||||
return true;
|
||||
}
|
||||
|
||||
bool MsrpSession::callMsrp(const char* remoteUri, ActionConfig* config/*=tsk_null*/)
|
||||
bool MsrpSession::callMsrp(const SipUri* remoteUri, ActionConfig* config/*=tsk_null*/)
|
||||
{
|
||||
if(!remoteUri){
|
||||
TSK_DEBUG_ERROR("Invalid parameter");
|
||||
return false;
|
||||
}
|
||||
const tsip_action_handle_t* action_cfg = config ? config->getHandle() : tsk_null;
|
||||
|
||||
tsip_ssession_set(this->handle,
|
||||
TSIP_SSESSION_SET_TO(remoteUri),
|
||||
tsip_ssession_set(m_pHandle,
|
||||
TSIP_SSESSION_SET_TO_OBJ(remoteUri->getWrappedUri()),
|
||||
TSIP_SSESSION_SET_NULL());
|
||||
|
||||
return (tsip_action_INVITE(this->handle, tmedia_msrp,
|
||||
return (tsip_action_INVITE(m_pHandle, tmedia_msrp,
|
||||
TSIP_ACTION_SET_CONFIG(action_cfg),
|
||||
TSIP_ACTION_SET_NULL()) == 0);
|
||||
}
|
||||
|
||||
bool MsrpSession::callMsrp(const char* remoteUriString, ActionConfig* config/*=tsk_null*/)
|
||||
{
|
||||
SipUri sipUri(remoteUriString);
|
||||
if(sipUri.isValid()){
|
||||
return callMsrp(&sipUri, config);
|
||||
}
|
||||
TSK_DEBUG_ERROR("Failed to parse sip uri=%s", remoteUriString);
|
||||
return false;
|
||||
}
|
||||
|
||||
bool MsrpSession::sendMessage(const void* payload, unsigned len, ActionConfig* config/*=tsk_null*/)
|
||||
{
|
||||
const tsip_action_handle_t* action_cfg = config ? config->getHandle() : tsk_null;
|
||||
|
||||
return (tsip_action_LARGE_MESSAGE(this->handle,
|
||||
return (tsip_action_LARGE_MESSAGE(m_pHandle,
|
||||
TSIP_ACTION_SET_PAYLOAD(payload, len),
|
||||
TSIP_ACTION_SET_CONFIG(action_cfg),
|
||||
TSIP_ACTION_SET_NULL()) == 0);
|
||||
|
@ -561,13 +631,13 @@ bool MsrpSession::sendFile(ActionConfig* config/*=tsk_null*/)
|
|||
}
|
||||
|
||||
/* ======================== MessagingSession ========================*/
|
||||
MessagingSession::MessagingSession(SipStack* Stack)
|
||||
: SipSession(Stack)
|
||||
MessagingSession::MessagingSession(SipStack* pStack)
|
||||
: SipSession(pStack)
|
||||
{
|
||||
}
|
||||
|
||||
MessagingSession::MessagingSession(SipStack* Stack, tsip_ssession_handle_t* handle)
|
||||
: SipSession(Stack, handle)
|
||||
MessagingSession::MessagingSession(SipStack* pStack, tsip_ssession_handle_t* pHandle)
|
||||
: SipSession(pStack, pHandle)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -580,13 +650,13 @@ bool MessagingSession::send(const void* payload, unsigned len, ActionConfig* con
|
|||
int ret;
|
||||
const tsip_action_handle_t* action_cfg = config ? config->getHandle() : tsk_null;
|
||||
if(payload && len){
|
||||
ret = tsip_action_MESSAGE(this->handle,
|
||||
ret = tsip_action_MESSAGE(m_pHandle,
|
||||
TSIP_ACTION_SET_PAYLOAD(payload, len),
|
||||
TSIP_ACTION_SET_CONFIG(action_cfg),
|
||||
TSIP_ACTION_SET_NULL());
|
||||
}
|
||||
else{
|
||||
ret = tsip_action_PUBLISH(this->handle,
|
||||
ret = tsip_action_PUBLISH(m_pHandle,
|
||||
TSIP_ACTION_SET_NULL());
|
||||
}
|
||||
return (ret == 0);
|
||||
|
@ -595,7 +665,7 @@ bool MessagingSession::send(const void* payload, unsigned len, ActionConfig* con
|
|||
bool MessagingSession::accept(ActionConfig* config/*=tsk_null*/)
|
||||
{
|
||||
const tsip_action_handle_t* action_cfg = config ? config->getHandle() : tsk_null;
|
||||
return (tsip_action_ACCEPT(this->handle,
|
||||
return (tsip_action_ACCEPT(m_pHandle,
|
||||
TSIP_ACTION_SET_CONFIG(action_cfg),
|
||||
TSIP_ACTION_SET_NULL()) == 0);
|
||||
}
|
||||
|
@ -603,20 +673,20 @@ bool MessagingSession::accept(ActionConfig* config/*=tsk_null*/)
|
|||
bool MessagingSession::reject(ActionConfig* config/*=tsk_null*/)
|
||||
{
|
||||
const tsip_action_handle_t* action_cfg = config ? config->getHandle() : tsk_null;
|
||||
return (tsip_action_REJECT(this->handle,
|
||||
return (tsip_action_REJECT(m_pHandle,
|
||||
TSIP_ACTION_SET_CONFIG(action_cfg),
|
||||
TSIP_ACTION_SET_NULL()) == 0);
|
||||
}
|
||||
|
||||
|
||||
/* ======================== OptionsSession ========================*/
|
||||
OptionsSession::OptionsSession(SipStack* Stack)
|
||||
: SipSession(Stack)
|
||||
OptionsSession::OptionsSession(SipStack* pStack)
|
||||
: SipSession(pStack)
|
||||
{
|
||||
}
|
||||
|
||||
OptionsSession::OptionsSession(SipStack* Stack, tsip_ssession_handle_t* handle)
|
||||
: SipSession(Stack, handle)
|
||||
OptionsSession::OptionsSession(SipStack* pStack, tsip_ssession_handle_t* pHandle)
|
||||
: SipSession(pStack, pHandle)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -627,7 +697,7 @@ OptionsSession::~OptionsSession()
|
|||
bool OptionsSession::send(ActionConfig* config/*=tsk_null*/)
|
||||
{
|
||||
const tsip_action_handle_t* action_cfg = config ? config->getHandle() : tsk_null;
|
||||
return (tsip_action_OPTIONS(this->handle,
|
||||
return (tsip_action_OPTIONS(m_pHandle,
|
||||
TSIP_ACTION_SET_CONFIG(action_cfg),
|
||||
TSIP_ACTION_SET_NULL()) == 0);
|
||||
}
|
||||
|
@ -635,7 +705,7 @@ bool OptionsSession::send(ActionConfig* config/*=tsk_null*/)
|
|||
bool OptionsSession::accept(ActionConfig* config/*=tsk_null*/)
|
||||
{
|
||||
const tsip_action_handle_t* action_cfg = config ? config->getHandle() : tsk_null;
|
||||
return (tsip_action_ACCEPT(this->handle,
|
||||
return (tsip_action_ACCEPT(m_pHandle,
|
||||
TSIP_ACTION_SET_CONFIG(action_cfg),
|
||||
TSIP_ACTION_SET_NULL()) == 0);
|
||||
}
|
||||
|
@ -643,7 +713,7 @@ bool OptionsSession::accept(ActionConfig* config/*=tsk_null*/)
|
|||
bool OptionsSession::reject(ActionConfig* config/*=tsk_null*/)
|
||||
{
|
||||
const tsip_action_handle_t* action_cfg = config ? config->getHandle() : tsk_null;
|
||||
return (tsip_action_REJECT(this->handle,
|
||||
return (tsip_action_REJECT(m_pHandle,
|
||||
TSIP_ACTION_SET_CONFIG(action_cfg),
|
||||
TSIP_ACTION_SET_NULL()) == 0);
|
||||
}
|
||||
|
@ -666,12 +736,12 @@ bool PublicationSession::publish(const void* payload, unsigned len, ActionConfig
|
|||
int ret;
|
||||
const tsip_action_handle_t* action_cfg = config ? config->getHandle() : tsk_null;
|
||||
if(payload && len){
|
||||
ret = tsip_action_PUBLISH(this->handle,
|
||||
ret = tsip_action_PUBLISH(m_pHandle,
|
||||
TSIP_ACTION_SET_PAYLOAD(payload, len),
|
||||
TSIP_ACTION_SET_NULL());
|
||||
}
|
||||
else{
|
||||
ret = tsip_action_PUBLISH(this->handle,
|
||||
ret = tsip_action_PUBLISH(m_pHandle,
|
||||
TSIP_ACTION_SET_CONFIG(action_cfg),
|
||||
TSIP_ACTION_SET_NULL());
|
||||
}
|
||||
|
@ -681,7 +751,7 @@ bool PublicationSession::publish(const void* payload, unsigned len, ActionConfig
|
|||
bool PublicationSession::unPublish(ActionConfig* config/*=tsk_null*/)
|
||||
{
|
||||
const tsip_action_handle_t* action_cfg = config ? config->getHandle() : tsk_null;
|
||||
return (tsip_action_UNPUBLISH(this->handle,
|
||||
return (tsip_action_UNPUBLISH(m_pHandle,
|
||||
TSIP_ACTION_SET_CONFIG(action_cfg),
|
||||
TSIP_ACTION_SET_NULL()) == 0);
|
||||
}
|
||||
|
@ -689,13 +759,13 @@ bool PublicationSession::unPublish(ActionConfig* config/*=tsk_null*/)
|
|||
|
||||
|
||||
/* ======================== RegistrationSession ========================*/
|
||||
RegistrationSession::RegistrationSession(SipStack* Stack)
|
||||
: SipSession(Stack)
|
||||
RegistrationSession::RegistrationSession(SipStack* pStack)
|
||||
: SipSession(pStack)
|
||||
{
|
||||
}
|
||||
|
||||
RegistrationSession::RegistrationSession(SipStack* Stack, tsip_ssession_handle_t* handle)
|
||||
: SipSession(Stack, handle)
|
||||
RegistrationSession::RegistrationSession(SipStack* pStack, tsip_ssession_handle_t* pHandle)
|
||||
: SipSession(pStack, pHandle)
|
||||
{
|
||||
|
||||
}
|
||||
|
@ -706,13 +776,13 @@ RegistrationSession::~RegistrationSession()
|
|||
|
||||
bool RegistrationSession::register_()
|
||||
{
|
||||
return (tsip_action_REGISTER(this->handle,
|
||||
return (tsip_action_REGISTER(m_pHandle,
|
||||
TSIP_ACTION_SET_NULL()) == 0);
|
||||
}
|
||||
|
||||
bool RegistrationSession::unRegister()
|
||||
{
|
||||
return (tsip_action_UNREGISTER(this->handle,
|
||||
return (tsip_action_UNREGISTER(m_pHandle,
|
||||
TSIP_ACTION_SET_NULL()) == 0);
|
||||
}
|
||||
|
||||
|
@ -720,7 +790,7 @@ bool RegistrationSession::accept(ActionConfig* config/*=tsk_null*/)
|
|||
{
|
||||
const tsip_action_handle_t* action_cfg = config ? config->getHandle() : tsk_null;
|
||||
|
||||
return (tsip_action_ACCEPT(this->handle,
|
||||
return (tsip_action_ACCEPT(m_pHandle,
|
||||
TSIP_ACTION_SET_CONFIG(action_cfg),
|
||||
TSIP_ACTION_SET_NULL()) == 0);
|
||||
}
|
||||
|
@ -729,15 +799,15 @@ bool RegistrationSession::reject(ActionConfig* config/*=tsk_null*/)
|
|||
{
|
||||
const tsip_action_handle_t* action_cfg = config ? config->getHandle() : tsk_null;
|
||||
|
||||
return (tsip_action_REJECT(this->handle,
|
||||
return (tsip_action_REJECT(m_pHandle,
|
||||
TSIP_ACTION_SET_CONFIG(action_cfg),
|
||||
TSIP_ACTION_SET_NULL()) == 0);
|
||||
}
|
||||
|
||||
|
||||
/* ======================== SubscriptionSession ========================*/
|
||||
SubscriptionSession::SubscriptionSession(SipStack* Stack)
|
||||
: SipSession(Stack)
|
||||
SubscriptionSession::SubscriptionSession(SipStack* pStack)
|
||||
: SipSession(pStack)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -747,12 +817,12 @@ SubscriptionSession::~SubscriptionSession()
|
|||
|
||||
bool SubscriptionSession::subscribe()
|
||||
{
|
||||
return (tsip_action_SUBSCRIBE(this->handle,
|
||||
return (tsip_action_SUBSCRIBE(m_pHandle,
|
||||
TSIP_ACTION_SET_NULL()) == 0);
|
||||
}
|
||||
|
||||
bool SubscriptionSession::unSubscribe()
|
||||
{
|
||||
return (tsip_action_UNSUBSCRIBE(this->handle,
|
||||
return (tsip_action_UNSUBSCRIBE(m_pHandle,
|
||||
TSIP_ACTION_SET_NULL()) == 0);
|
||||
}
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
#include "tinymedia/tmedia_qos.h"
|
||||
#include "ActionConfig.h"
|
||||
|
||||
class SipUri;
|
||||
class SipStack;
|
||||
class MsrpCallback;
|
||||
class MediaSessionMgr;
|
||||
|
@ -36,7 +37,7 @@ class SipSession
|
|||
public:
|
||||
SipSession(SipStack* stack);
|
||||
#if !defined(SWIG)
|
||||
SipSession(SipStack* stack, tsip_ssession_handle_t* handle);
|
||||
SipSession(SipStack* stack, tsip_ssession_handle_t* pHandle);
|
||||
#endif
|
||||
virtual ~SipSession();
|
||||
|
||||
|
@ -48,8 +49,10 @@ public:
|
|||
bool addCaps(const char* name);
|
||||
bool removeCaps(const char* name);
|
||||
bool setExpires(unsigned expires);
|
||||
bool setFromUri(const char* fromUri);
|
||||
bool setToUri(const char* toUri);
|
||||
bool setFromUri(const char* fromUriString);
|
||||
bool setFromUri(const SipUri* fromUri);
|
||||
bool setToUri(const char* toUriString);
|
||||
bool setToUri(const SipUri* toUri);
|
||||
bool setSilentHangup(bool silent);
|
||||
bool addSigCompCompartment(const char* compId);
|
||||
bool removeSigCompCompartment();
|
||||
|
@ -60,11 +63,11 @@ public:
|
|||
#endif
|
||||
|
||||
private:
|
||||
void init(SipStack* stack, tsip_ssession_handle_t* handle=tsk_null);
|
||||
void init(SipStack* stack, tsip_ssession_handle_t* pHandle=tsk_null);
|
||||
|
||||
protected:
|
||||
tsip_ssession_handle_t* handle;
|
||||
const SipStack* stack;
|
||||
tsip_ssession_handle_t* m_pHandle;
|
||||
const SipStack* m_pStack;
|
||||
};
|
||||
|
||||
/* ======================== InviteSession ========================*/
|
||||
|
@ -73,7 +76,7 @@ class InviteSession : public SipSession
|
|||
public: /* ctor() and dtor() */
|
||||
InviteSession(SipStack* Stack);
|
||||
#if !defined(SWIG)
|
||||
InviteSession(SipStack* Stack, tsip_ssession_handle_t* handle);
|
||||
InviteSession(SipStack* pStack, tsip_ssession_handle_t* pHandle);
|
||||
#endif
|
||||
virtual ~InviteSession();
|
||||
|
||||
|
@ -84,7 +87,7 @@ public: /* Public functions */
|
|||
const MediaSessionMgr* getMediaMgr();
|
||||
|
||||
private:
|
||||
MediaSessionMgr* mediaMgr;
|
||||
MediaSessionMgr* m_pMediaMgr;
|
||||
};
|
||||
|
||||
|
||||
|
@ -92,16 +95,19 @@ private:
|
|||
class CallSession : public InviteSession
|
||||
{
|
||||
public: /* ctor() and dtor() */
|
||||
CallSession(SipStack* Stack);
|
||||
CallSession(SipStack* pStack);
|
||||
#if !defined(SWIG)
|
||||
CallSession(SipStack* Stack, tsip_ssession_handle_t* handle);
|
||||
CallSession(SipStack* pStack, tsip_ssession_handle_t* pHandle);
|
||||
#endif
|
||||
virtual ~CallSession();
|
||||
|
||||
public: /* Public functions */
|
||||
bool callAudio(const char* remoteUri, ActionConfig* config=tsk_null);
|
||||
bool callAudioVideo(const char* remoteUri, ActionConfig* config=tsk_null);
|
||||
bool callVideo(const char* remoteUri, ActionConfig* config=tsk_null);
|
||||
bool callAudio(const char* remoteUriString, ActionConfig* config=tsk_null);
|
||||
bool callAudio(const SipUri* remoteUri, ActionConfig* config=tsk_null);
|
||||
bool callAudioVideo(const char* remoteUriString, ActionConfig* config=tsk_null);
|
||||
bool callAudioVideo(const SipUri* remoteUri, ActionConfig* config=tsk_null);
|
||||
bool callVideo(const char* remoteUriString, ActionConfig* config=tsk_null);
|
||||
bool callVideo(const SipUri* remoteUri, ActionConfig* config=tsk_null);
|
||||
bool setSessionTimer(unsigned timeout, const char* refresher);
|
||||
bool set100rel(bool enabled);
|
||||
bool setQoS(tmedia_qos_stype_t type, tmedia_qos_strength_t strength);
|
||||
|
@ -114,27 +120,28 @@ public: /* Public functions */
|
|||
class MsrpSession : public InviteSession
|
||||
{
|
||||
public: /* ctor() and dtor() */
|
||||
MsrpSession(SipStack* Stack, MsrpCallback* callback);
|
||||
MsrpSession(SipStack* pStack, MsrpCallback* pCallback);
|
||||
#if !defined(SWIG)
|
||||
MsrpSession(SipStack* Stack, tsip_ssession_handle_t* handle);
|
||||
MsrpSession(SipStack* pStack, tsip_ssession_handle_t* pHandle);
|
||||
#endif
|
||||
virtual ~MsrpSession();
|
||||
|
||||
public: /* Public functions */
|
||||
bool setCallback(MsrpCallback* callback);
|
||||
bool callMsrp(const char* remoteUri, ActionConfig* config=tsk_null);
|
||||
bool setCallback(MsrpCallback* pCallback);
|
||||
bool callMsrp(const char* remoteUriString, ActionConfig* config=tsk_null);
|
||||
bool callMsrp(const SipUri* remoteUri, ActionConfig* config=tsk_null);
|
||||
bool sendMessage(const void* payload, unsigned len, ActionConfig* config=tsk_null);
|
||||
bool sendFile(ActionConfig* config=tsk_null);
|
||||
|
||||
public: /* Public helper function */
|
||||
#if !defined(SWIG)
|
||||
inline MsrpCallback* getCallback()const{
|
||||
return this->callback;
|
||||
return m_pCallback;
|
||||
}
|
||||
#endif
|
||||
|
||||
private:
|
||||
MsrpCallback* callback;
|
||||
MsrpCallback* m_pCallback;
|
||||
};
|
||||
|
||||
|
||||
|
@ -143,9 +150,9 @@ private:
|
|||
class MessagingSession : public SipSession
|
||||
{
|
||||
public: /* ctor() and dtor() */
|
||||
MessagingSession(SipStack* Stack);
|
||||
MessagingSession(SipStack* pStack);
|
||||
#if !defined(SWIG)
|
||||
MessagingSession(SipStack* Stack, tsip_ssession_handle_t* handle);
|
||||
MessagingSession(SipStack* pStack, tsip_ssession_handle_t* pHandle);
|
||||
#endif
|
||||
virtual ~MessagingSession();
|
||||
|
||||
|
@ -159,9 +166,9 @@ public: /* Public functions */
|
|||
class OptionsSession : public SipSession
|
||||
{
|
||||
public: /* ctor() and dtor() */
|
||||
OptionsSession(SipStack* Stack);
|
||||
OptionsSession(SipStack* pStack);
|
||||
#if !defined(SWIG)
|
||||
OptionsSession(SipStack* Stack, tsip_ssession_handle_t* handle);
|
||||
OptionsSession(SipStack* pStack, tsip_ssession_handle_t* pHandle);
|
||||
#endif
|
||||
virtual ~OptionsSession();
|
||||
|
||||
|
@ -177,7 +184,7 @@ public: /* Public functions */
|
|||
class PublicationSession : public SipSession
|
||||
{
|
||||
public: /* ctor() and dtor() */
|
||||
PublicationSession(SipStack* Stack);
|
||||
PublicationSession(SipStack* pStack);
|
||||
virtual ~PublicationSession();
|
||||
|
||||
public: /* Public functions */
|
||||
|
@ -190,9 +197,9 @@ public: /* Public functions */
|
|||
class RegistrationSession : public SipSession
|
||||
{
|
||||
public: /* ctor() and dtor() */
|
||||
RegistrationSession(SipStack* Stack);
|
||||
RegistrationSession(SipStack* pStack);
|
||||
#if !defined(SWIG)
|
||||
RegistrationSession(SipStack* Stack, tsip_ssession_handle_t* handle);
|
||||
RegistrationSession(SipStack* pStack, tsip_ssession_handle_t* pHandle);
|
||||
#endif
|
||||
virtual ~RegistrationSession();
|
||||
|
||||
|
@ -208,7 +215,7 @@ public: /* Public functions */
|
|||
class SubscriptionSession : public SipSession
|
||||
{
|
||||
public: /* ctor() and dtor() */
|
||||
SubscriptionSession(SipStack* Stack);
|
||||
SubscriptionSession(SipStack* pStack);
|
||||
virtual ~SubscriptionSession();
|
||||
|
||||
public: /* Public functions */
|
||||
|
|
|
@ -21,71 +21,80 @@
|
|||
*/
|
||||
#include "SipUri.h"
|
||||
|
||||
SipUri::SipUri(const char* uristring)
|
||||
SipUri::SipUri(const char* uriString, const char* displayName/*=tsk_null*/)
|
||||
{
|
||||
this->uri = tsip_uri_parse(uristring, tsk_strlen(uristring));
|
||||
if((m_pUri = tsip_uri_parse(uriString, tsk_strlen(uriString))) && displayName){
|
||||
m_pUri->display_name = tsk_strdup(displayName);
|
||||
}
|
||||
}
|
||||
|
||||
SipUri::~SipUri()
|
||||
{
|
||||
TSK_OBJECT_SAFE_FREE(this->uri);
|
||||
TSK_OBJECT_SAFE_FREE(m_pUri);
|
||||
}
|
||||
|
||||
bool SipUri::isValid(const char* uriString)
|
||||
{
|
||||
tsip_uri_t* _uri;
|
||||
tsip_uri_t* uri;
|
||||
bool ret = false;
|
||||
|
||||
if((_uri = tsip_uri_parse(uriString, tsk_strlen(uriString)))){
|
||||
ret = (_uri->type != uri_unknown)
|
||||
&& (!tsk_strnullORempty(_uri->host));
|
||||
TSK_OBJECT_SAFE_FREE(_uri);
|
||||
if((uri = tsip_uri_parse(uriString, tsk_strlen(uriString)))){
|
||||
ret = (uri->type != uri_unknown)
|
||||
&& (!tsk_strnullORempty(uri->host));
|
||||
TSK_OBJECT_SAFE_FREE(uri);
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
bool SipUri::isValid()
|
||||
{
|
||||
return (this->uri != tsk_null);
|
||||
return (m_pUri != tsk_null);
|
||||
}
|
||||
|
||||
const char* SipUri::getScheme()
|
||||
{
|
||||
if(this->uri){
|
||||
return this->uri->scheme;
|
||||
if(m_pUri){
|
||||
return m_pUri->scheme;
|
||||
}
|
||||
return tsk_null;
|
||||
}
|
||||
|
||||
const char* SipUri::getHost()
|
||||
{
|
||||
return this->uri ? this->uri->host : tsk_null;
|
||||
return m_pUri ? m_pUri->host : tsk_null;
|
||||
}
|
||||
|
||||
unsigned short SipUri::getPort()
|
||||
{
|
||||
return this->uri ? this->uri->port : 0;
|
||||
return m_pUri ? m_pUri->port : 0;
|
||||
}
|
||||
|
||||
const char* SipUri::getUserName()
|
||||
{
|
||||
return this->uri ? this->uri->user_name : tsk_null;
|
||||
return m_pUri ? m_pUri->user_name : tsk_null;
|
||||
}
|
||||
|
||||
const char* SipUri::getPassword()
|
||||
{
|
||||
return this->uri ? this->uri->password : tsk_null;
|
||||
return m_pUri ? m_pUri->password : tsk_null;
|
||||
}
|
||||
|
||||
const char* SipUri::getDisplayName()
|
||||
{
|
||||
return this->uri ? this->uri->display_name : tsk_null;
|
||||
return m_pUri ? m_pUri->display_name : tsk_null;
|
||||
}
|
||||
|
||||
void SipUri::setDisplayName(const char* displayName)
|
||||
{
|
||||
if(m_pUri){
|
||||
tsk_strupdate(&m_pUri->display_name, displayName);
|
||||
}
|
||||
}
|
||||
|
||||
const char* SipUri::getParamValue(const char* pname)
|
||||
{
|
||||
if(this->uri && this->uri->params){
|
||||
const char* pvalue = tsk_params_get_param_value(this->uri->params, pname);
|
||||
if(m_pUri && m_pUri->params){
|
||||
const char* pvalue = tsk_params_get_param_value(m_pUri->params, pname);
|
||||
return pvalue;
|
||||
}
|
||||
return tsk_null;
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
class SipUri
|
||||
{
|
||||
public:
|
||||
SipUri(const char*);
|
||||
SipUri(const char* uriString, const char* displayName=tsk_null);
|
||||
~SipUri();
|
||||
|
||||
public:
|
||||
|
@ -41,9 +41,15 @@ public:
|
|||
const char* getPassword();
|
||||
const char* getDisplayName();
|
||||
const char* getParamValue(const char* pname);
|
||||
void setDisplayName(const char* displayName);
|
||||
#if !defined(SWIG)
|
||||
inline const tsip_uri_t* getWrappedUri()const{
|
||||
return m_pUri;
|
||||
}
|
||||
#endif
|
||||
|
||||
private:
|
||||
tsip_uri_t* uri;
|
||||
tsip_uri_t* m_pUri;
|
||||
};
|
||||
|
||||
#endif /* TINYWRAP_SIPURI_H */
|
||||
|
|
|
@ -4,7 +4,7 @@ swig -c++ -csharp -namespace org.doubango.tinyWRAP -outdir csharp -o csharp/tiny
|
|||
|
||||
##### Objective-C
|
||||
#echo "--->Objective-C...<---"
|
||||
swig -c++ -objc -outdir objc -o -objc/tinyWRAP_wrap.cxx -objc/-objc.i
|
||||
#swig -c++ -objc -outdir objc -o -objc/tinyWRAP_wrap.cxx -objc/-objc.i
|
||||
|
||||
|
||||
##### Java
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
@ -30,13 +30,11 @@ public class ActionConfig : IDisposable {
|
|||
|
||||
public virtual void Dispose() {
|
||||
lock(this) {
|
||||
if (swigCPtr.Handle != IntPtr.Zero) {
|
||||
if (swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_ActionConfig(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_ActionConfig(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
GC.SuppressFinalize(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
@ -30,13 +30,11 @@ public class AudioResampler : IDisposable {
|
|||
|
||||
public virtual void Dispose() {
|
||||
lock(this) {
|
||||
if (swigCPtr.Handle != IntPtr.Zero) {
|
||||
if (swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_AudioResampler(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_AudioResampler(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
GC.SuppressFinalize(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
@ -14,7 +14,7 @@ using System.Runtime.InteropServices;
|
|||
public class CallSession : InviteSession {
|
||||
private HandleRef swigCPtr;
|
||||
|
||||
internal CallSession(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.CallSession_SWIGUpcast(cPtr), cMemoryOwn) {
|
||||
internal CallSession(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.CallSessionUpcast(cPtr), cMemoryOwn) {
|
||||
swigCPtr = new HandleRef(this, cPtr);
|
||||
}
|
||||
|
||||
|
@ -28,48 +28,76 @@ public class CallSession : InviteSession {
|
|||
|
||||
public override void Dispose() {
|
||||
lock(this) {
|
||||
if (swigCPtr.Handle != IntPtr.Zero) {
|
||||
if (swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_CallSession(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_CallSession(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
GC.SuppressFinalize(this);
|
||||
base.Dispose();
|
||||
}
|
||||
}
|
||||
|
||||
public CallSession(SipStack Stack) : this(tinyWRAPPINVOKE.new_CallSession(SipStack.getCPtr(Stack)), true) {
|
||||
public CallSession(SipStack pStack) : this(tinyWRAPPINVOKE.new_CallSession(SipStack.getCPtr(pStack)), true) {
|
||||
}
|
||||
|
||||
public bool callAudio(string remoteUri, ActionConfig config) {
|
||||
bool ret = tinyWRAPPINVOKE.CallSession_callAudio__SWIG_0(swigCPtr, remoteUri, ActionConfig.getCPtr(config));
|
||||
public bool callAudio(string remoteUriString, ActionConfig config) {
|
||||
bool ret = tinyWRAPPINVOKE.CallSession_callAudio__SWIG_0(swigCPtr, remoteUriString, ActionConfig.getCPtr(config));
|
||||
return ret;
|
||||
}
|
||||
|
||||
public bool callAudio(string remoteUri) {
|
||||
bool ret = tinyWRAPPINVOKE.CallSession_callAudio__SWIG_1(swigCPtr, remoteUri);
|
||||
public bool callAudio(string remoteUriString) {
|
||||
bool ret = tinyWRAPPINVOKE.CallSession_callAudio__SWIG_1(swigCPtr, remoteUriString);
|
||||
return ret;
|
||||
}
|
||||
|
||||
public bool callAudioVideo(string remoteUri, ActionConfig config) {
|
||||
bool ret = tinyWRAPPINVOKE.CallSession_callAudioVideo__SWIG_0(swigCPtr, remoteUri, ActionConfig.getCPtr(config));
|
||||
public bool callAudio(SipUri remoteUri, ActionConfig config) {
|
||||
bool ret = tinyWRAPPINVOKE.CallSession_callAudio__SWIG_2(swigCPtr, SipUri.getCPtr(remoteUri), ActionConfig.getCPtr(config));
|
||||
return ret;
|
||||
}
|
||||
|
||||
public bool callAudioVideo(string remoteUri) {
|
||||
bool ret = tinyWRAPPINVOKE.CallSession_callAudioVideo__SWIG_1(swigCPtr, remoteUri);
|
||||
public bool callAudio(SipUri remoteUri) {
|
||||
bool ret = tinyWRAPPINVOKE.CallSession_callAudio__SWIG_3(swigCPtr, SipUri.getCPtr(remoteUri));
|
||||
return ret;
|
||||
}
|
||||
|
||||
public bool callVideo(string remoteUri, ActionConfig config) {
|
||||
bool ret = tinyWRAPPINVOKE.CallSession_callVideo__SWIG_0(swigCPtr, remoteUri, ActionConfig.getCPtr(config));
|
||||
public bool callAudioVideo(string remoteUriString, ActionConfig config) {
|
||||
bool ret = tinyWRAPPINVOKE.CallSession_callAudioVideo__SWIG_0(swigCPtr, remoteUriString, ActionConfig.getCPtr(config));
|
||||
return ret;
|
||||
}
|
||||
|
||||
public bool callVideo(string remoteUri) {
|
||||
bool ret = tinyWRAPPINVOKE.CallSession_callVideo__SWIG_1(swigCPtr, remoteUri);
|
||||
public bool callAudioVideo(string remoteUriString) {
|
||||
bool ret = tinyWRAPPINVOKE.CallSession_callAudioVideo__SWIG_1(swigCPtr, remoteUriString);
|
||||
return ret;
|
||||
}
|
||||
|
||||
public bool callAudioVideo(SipUri remoteUri, ActionConfig config) {
|
||||
bool ret = tinyWRAPPINVOKE.CallSession_callAudioVideo__SWIG_2(swigCPtr, SipUri.getCPtr(remoteUri), ActionConfig.getCPtr(config));
|
||||
return ret;
|
||||
}
|
||||
|
||||
public bool callAudioVideo(SipUri remoteUri) {
|
||||
bool ret = tinyWRAPPINVOKE.CallSession_callAudioVideo__SWIG_3(swigCPtr, SipUri.getCPtr(remoteUri));
|
||||
return ret;
|
||||
}
|
||||
|
||||
public bool callVideo(string remoteUriString, ActionConfig config) {
|
||||
bool ret = tinyWRAPPINVOKE.CallSession_callVideo__SWIG_0(swigCPtr, remoteUriString, ActionConfig.getCPtr(config));
|
||||
return ret;
|
||||
}
|
||||
|
||||
public bool callVideo(string remoteUriString) {
|
||||
bool ret = tinyWRAPPINVOKE.CallSession_callVideo__SWIG_1(swigCPtr, remoteUriString);
|
||||
return ret;
|
||||
}
|
||||
|
||||
public bool callVideo(SipUri remoteUri, ActionConfig config) {
|
||||
bool ret = tinyWRAPPINVOKE.CallSession_callVideo__SWIG_2(swigCPtr, SipUri.getCPtr(remoteUri), ActionConfig.getCPtr(config));
|
||||
return ret;
|
||||
}
|
||||
|
||||
public bool callVideo(SipUri remoteUri) {
|
||||
bool ret = tinyWRAPPINVOKE.CallSession_callVideo__SWIG_3(swigCPtr, SipUri.getCPtr(remoteUri));
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
@ -30,13 +30,11 @@ public class DDebugCallback : IDisposable {
|
|||
|
||||
public virtual void Dispose() {
|
||||
lock(this) {
|
||||
if (swigCPtr.Handle != IntPtr.Zero) {
|
||||
if (swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_DDebugCallback(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_DDebugCallback(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
GC.SuppressFinalize(this);
|
||||
}
|
||||
}
|
||||
|
@ -46,22 +44,22 @@ public class DDebugCallback : IDisposable {
|
|||
}
|
||||
|
||||
public virtual int OnDebugInfo(string message) {
|
||||
int ret = (SwigDerivedClassHasMethod("OnDebugInfo", swigMethodTypes0) ? tinyWRAPPINVOKE.DDebugCallback_OnDebugInfoSwigExplicitDDebugCallback(swigCPtr, message) : tinyWRAPPINVOKE.DDebugCallback_OnDebugInfo(swigCPtr, message));
|
||||
int ret = ((this.GetType() == typeof(DDebugCallback)) ? tinyWRAPPINVOKE.DDebugCallback_OnDebugInfo(swigCPtr, message) : tinyWRAPPINVOKE.DDebugCallback_OnDebugInfoSwigExplicitDDebugCallback(swigCPtr, message));
|
||||
return ret;
|
||||
}
|
||||
|
||||
public virtual int OnDebugWarn(string message) {
|
||||
int ret = (SwigDerivedClassHasMethod("OnDebugWarn", swigMethodTypes1) ? tinyWRAPPINVOKE.DDebugCallback_OnDebugWarnSwigExplicitDDebugCallback(swigCPtr, message) : tinyWRAPPINVOKE.DDebugCallback_OnDebugWarn(swigCPtr, message));
|
||||
int ret = ((this.GetType() == typeof(DDebugCallback)) ? tinyWRAPPINVOKE.DDebugCallback_OnDebugWarn(swigCPtr, message) : tinyWRAPPINVOKE.DDebugCallback_OnDebugWarnSwigExplicitDDebugCallback(swigCPtr, message));
|
||||
return ret;
|
||||
}
|
||||
|
||||
public virtual int OnDebugError(string message) {
|
||||
int ret = (SwigDerivedClassHasMethod("OnDebugError", swigMethodTypes2) ? tinyWRAPPINVOKE.DDebugCallback_OnDebugErrorSwigExplicitDDebugCallback(swigCPtr, message) : tinyWRAPPINVOKE.DDebugCallback_OnDebugError(swigCPtr, message));
|
||||
int ret = ((this.GetType() == typeof(DDebugCallback)) ? tinyWRAPPINVOKE.DDebugCallback_OnDebugError(swigCPtr, message) : tinyWRAPPINVOKE.DDebugCallback_OnDebugErrorSwigExplicitDDebugCallback(swigCPtr, message));
|
||||
return ret;
|
||||
}
|
||||
|
||||
public virtual int OnDebugFatal(string message) {
|
||||
int ret = (SwigDerivedClassHasMethod("OnDebugFatal", swigMethodTypes3) ? tinyWRAPPINVOKE.DDebugCallback_OnDebugFatalSwigExplicitDDebugCallback(swigCPtr, message) : tinyWRAPPINVOKE.DDebugCallback_OnDebugFatal(swigCPtr, message));
|
||||
int ret = ((this.GetType() == typeof(DDebugCallback)) ? tinyWRAPPINVOKE.DDebugCallback_OnDebugFatal(swigCPtr, message) : tinyWRAPPINVOKE.DDebugCallback_OnDebugFatalSwigExplicitDDebugCallback(swigCPtr, message));
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
@ -14,7 +14,7 @@ using System.Runtime.InteropServices;
|
|||
public class DialogEvent : SipEvent {
|
||||
private HandleRef swigCPtr;
|
||||
|
||||
internal DialogEvent(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.DialogEvent_SWIGUpcast(cPtr), cMemoryOwn) {
|
||||
internal DialogEvent(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.DialogEventUpcast(cPtr), cMemoryOwn) {
|
||||
swigCPtr = new HandleRef(this, cPtr);
|
||||
}
|
||||
|
||||
|
@ -28,13 +28,11 @@ public class DialogEvent : SipEvent {
|
|||
|
||||
public override void Dispose() {
|
||||
lock(this) {
|
||||
if (swigCPtr.Handle != IntPtr.Zero) {
|
||||
if (swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_DialogEvent(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_DialogEvent(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
GC.SuppressFinalize(this);
|
||||
base.Dispose();
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
@ -14,7 +14,7 @@ using System.Runtime.InteropServices;
|
|||
public class InviteEvent : SipEvent {
|
||||
private HandleRef swigCPtr;
|
||||
|
||||
internal InviteEvent(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.InviteEvent_SWIGUpcast(cPtr), cMemoryOwn) {
|
||||
internal InviteEvent(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.InviteEventUpcast(cPtr), cMemoryOwn) {
|
||||
swigCPtr = new HandleRef(this, cPtr);
|
||||
}
|
||||
|
||||
|
@ -28,13 +28,11 @@ public class InviteEvent : SipEvent {
|
|||
|
||||
public override void Dispose() {
|
||||
lock(this) {
|
||||
if (swigCPtr.Handle != IntPtr.Zero) {
|
||||
if (swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_InviteEvent(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_InviteEvent(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
GC.SuppressFinalize(this);
|
||||
base.Dispose();
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
@ -14,7 +14,7 @@ using System.Runtime.InteropServices;
|
|||
public class InviteSession : SipSession {
|
||||
private HandleRef swigCPtr;
|
||||
|
||||
internal InviteSession(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.InviteSession_SWIGUpcast(cPtr), cMemoryOwn) {
|
||||
internal InviteSession(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.InviteSessionUpcast(cPtr), cMemoryOwn) {
|
||||
swigCPtr = new HandleRef(this, cPtr);
|
||||
}
|
||||
|
||||
|
@ -28,13 +28,11 @@ public class InviteSession : SipSession {
|
|||
|
||||
public override void Dispose() {
|
||||
lock(this) {
|
||||
if (swigCPtr.Handle != IntPtr.Zero) {
|
||||
if (swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_InviteSession(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_InviteSession(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
GC.SuppressFinalize(this);
|
||||
base.Dispose();
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
@ -30,13 +30,11 @@ public class MediaContent : IDisposable {
|
|||
|
||||
public virtual void Dispose() {
|
||||
lock(this) {
|
||||
if (swigCPtr.Handle != IntPtr.Zero) {
|
||||
if (swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_MediaContent(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_MediaContent(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
GC.SuppressFinalize(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
@ -14,7 +14,7 @@ using System.Runtime.InteropServices;
|
|||
public class MediaContentCPIM : MediaContent {
|
||||
private HandleRef swigCPtr;
|
||||
|
||||
internal MediaContentCPIM(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.MediaContentCPIM_SWIGUpcast(cPtr), cMemoryOwn) {
|
||||
internal MediaContentCPIM(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.MediaContentCPIMUpcast(cPtr), cMemoryOwn) {
|
||||
swigCPtr = new HandleRef(this, cPtr);
|
||||
}
|
||||
|
||||
|
@ -28,13 +28,11 @@ public class MediaContentCPIM : MediaContent {
|
|||
|
||||
public override void Dispose() {
|
||||
lock(this) {
|
||||
if (swigCPtr.Handle != IntPtr.Zero) {
|
||||
if (swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_MediaContentCPIM(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_MediaContentCPIM(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
GC.SuppressFinalize(this);
|
||||
base.Dispose();
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
@ -30,13 +30,11 @@ public class MediaSessionMgr : IDisposable {
|
|||
|
||||
public virtual void Dispose() {
|
||||
lock(this) {
|
||||
if (swigCPtr.Handle != IntPtr.Zero) {
|
||||
if (swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_MediaSessionMgr(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_MediaSessionMgr(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
GC.SuppressFinalize(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
@ -14,7 +14,7 @@ using System.Runtime.InteropServices;
|
|||
public class MessagingEvent : SipEvent {
|
||||
private HandleRef swigCPtr;
|
||||
|
||||
internal MessagingEvent(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.MessagingEvent_SWIGUpcast(cPtr), cMemoryOwn) {
|
||||
internal MessagingEvent(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.MessagingEventUpcast(cPtr), cMemoryOwn) {
|
||||
swigCPtr = new HandleRef(this, cPtr);
|
||||
}
|
||||
|
||||
|
@ -28,13 +28,11 @@ public class MessagingEvent : SipEvent {
|
|||
|
||||
public override void Dispose() {
|
||||
lock(this) {
|
||||
if (swigCPtr.Handle != IntPtr.Zero) {
|
||||
if (swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_MessagingEvent(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_MessagingEvent(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
GC.SuppressFinalize(this);
|
||||
base.Dispose();
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
@ -14,7 +14,7 @@ using System.Runtime.InteropServices;
|
|||
public class MessagingSession : SipSession {
|
||||
private HandleRef swigCPtr;
|
||||
|
||||
internal MessagingSession(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.MessagingSession_SWIGUpcast(cPtr), cMemoryOwn) {
|
||||
internal MessagingSession(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.MessagingSessionUpcast(cPtr), cMemoryOwn) {
|
||||
swigCPtr = new HandleRef(this, cPtr);
|
||||
}
|
||||
|
||||
|
@ -28,19 +28,17 @@ public class MessagingSession : SipSession {
|
|||
|
||||
public override void Dispose() {
|
||||
lock(this) {
|
||||
if (swigCPtr.Handle != IntPtr.Zero) {
|
||||
if (swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_MessagingSession(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_MessagingSession(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
GC.SuppressFinalize(this);
|
||||
base.Dispose();
|
||||
}
|
||||
}
|
||||
|
||||
public MessagingSession(SipStack Stack) : this(tinyWRAPPINVOKE.new_MessagingSession(SipStack.getCPtr(Stack)), true) {
|
||||
public MessagingSession(SipStack pStack) : this(tinyWRAPPINVOKE.new_MessagingSession(SipStack.getCPtr(pStack)), true) {
|
||||
}
|
||||
|
||||
public bool send(byte[] payload, uint len, ActionConfig config) {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
@ -30,13 +30,11 @@ public class MsrpCallback : IDisposable {
|
|||
|
||||
public virtual void Dispose() {
|
||||
lock(this) {
|
||||
if (swigCPtr.Handle != IntPtr.Zero) {
|
||||
if (swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_MsrpCallback(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_MsrpCallback(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
GC.SuppressFinalize(this);
|
||||
}
|
||||
}
|
||||
|
@ -46,7 +44,7 @@ public class MsrpCallback : IDisposable {
|
|||
}
|
||||
|
||||
public virtual int OnEvent(MsrpEvent e) {
|
||||
int ret = (SwigDerivedClassHasMethod("OnEvent", swigMethodTypes0) ? tinyWRAPPINVOKE.MsrpCallback_OnEventSwigExplicitMsrpCallback(swigCPtr, MsrpEvent.getCPtr(e)) : tinyWRAPPINVOKE.MsrpCallback_OnEvent(swigCPtr, MsrpEvent.getCPtr(e)));
|
||||
int ret = ((this.GetType() == typeof(MsrpCallback)) ? tinyWRAPPINVOKE.MsrpCallback_OnEvent(swigCPtr, MsrpEvent.getCPtr(e)) : tinyWRAPPINVOKE.MsrpCallback_OnEventSwigExplicitMsrpCallback(swigCPtr, MsrpEvent.getCPtr(e)));
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
@ -30,13 +30,11 @@ public class MsrpEvent : IDisposable {
|
|||
|
||||
public virtual void Dispose() {
|
||||
lock(this) {
|
||||
if (swigCPtr.Handle != IntPtr.Zero) {
|
||||
if (swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_MsrpEvent(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_MsrpEvent(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
GC.SuppressFinalize(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
@ -30,13 +30,11 @@ public class MsrpMessage : IDisposable {
|
|||
|
||||
public virtual void Dispose() {
|
||||
lock(this) {
|
||||
if (swigCPtr.Handle != IntPtr.Zero) {
|
||||
if (swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_MsrpMessage(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_MsrpMessage(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
GC.SuppressFinalize(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
@ -14,7 +14,7 @@ using System.Runtime.InteropServices;
|
|||
public class MsrpSession : InviteSession {
|
||||
private HandleRef swigCPtr;
|
||||
|
||||
internal MsrpSession(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.MsrpSession_SWIGUpcast(cPtr), cMemoryOwn) {
|
||||
internal MsrpSession(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.MsrpSessionUpcast(cPtr), cMemoryOwn) {
|
||||
swigCPtr = new HandleRef(this, cPtr);
|
||||
}
|
||||
|
||||
|
@ -28,33 +28,41 @@ public class MsrpSession : InviteSession {
|
|||
|
||||
public override void Dispose() {
|
||||
lock(this) {
|
||||
if (swigCPtr.Handle != IntPtr.Zero) {
|
||||
if (swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_MsrpSession(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_MsrpSession(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
GC.SuppressFinalize(this);
|
||||
base.Dispose();
|
||||
}
|
||||
}
|
||||
|
||||
public MsrpSession(SipStack Stack, MsrpCallback callback) : this(tinyWRAPPINVOKE.new_MsrpSession(SipStack.getCPtr(Stack), MsrpCallback.getCPtr(callback)), true) {
|
||||
public MsrpSession(SipStack pStack, MsrpCallback pCallback) : this(tinyWRAPPINVOKE.new_MsrpSession(SipStack.getCPtr(pStack), MsrpCallback.getCPtr(pCallback)), true) {
|
||||
}
|
||||
|
||||
public bool setCallback(MsrpCallback callback) {
|
||||
bool ret = tinyWRAPPINVOKE.MsrpSession_setCallback(swigCPtr, MsrpCallback.getCPtr(callback));
|
||||
public bool setCallback(MsrpCallback pCallback) {
|
||||
bool ret = tinyWRAPPINVOKE.MsrpSession_setCallback(swigCPtr, MsrpCallback.getCPtr(pCallback));
|
||||
return ret;
|
||||
}
|
||||
|
||||
public bool callMsrp(string remoteUri, ActionConfig config) {
|
||||
bool ret = tinyWRAPPINVOKE.MsrpSession_callMsrp__SWIG_0(swigCPtr, remoteUri, ActionConfig.getCPtr(config));
|
||||
public bool callMsrp(string remoteUriString, ActionConfig config) {
|
||||
bool ret = tinyWRAPPINVOKE.MsrpSession_callMsrp__SWIG_0(swigCPtr, remoteUriString, ActionConfig.getCPtr(config));
|
||||
return ret;
|
||||
}
|
||||
|
||||
public bool callMsrp(string remoteUri) {
|
||||
bool ret = tinyWRAPPINVOKE.MsrpSession_callMsrp__SWIG_1(swigCPtr, remoteUri);
|
||||
public bool callMsrp(string remoteUriString) {
|
||||
bool ret = tinyWRAPPINVOKE.MsrpSession_callMsrp__SWIG_1(swigCPtr, remoteUriString);
|
||||
return ret;
|
||||
}
|
||||
|
||||
public bool callMsrp(SipUri remoteUri, ActionConfig config) {
|
||||
bool ret = tinyWRAPPINVOKE.MsrpSession_callMsrp__SWIG_2(swigCPtr, SipUri.getCPtr(remoteUri), ActionConfig.getCPtr(config));
|
||||
return ret;
|
||||
}
|
||||
|
||||
public bool callMsrp(SipUri remoteUri) {
|
||||
bool ret = tinyWRAPPINVOKE.MsrpSession_callMsrp__SWIG_3(swigCPtr, SipUri.getCPtr(remoteUri));
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
@ -14,7 +14,7 @@ using System.Runtime.InteropServices;
|
|||
public class OptionsEvent : SipEvent {
|
||||
private HandleRef swigCPtr;
|
||||
|
||||
internal OptionsEvent(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.OptionsEvent_SWIGUpcast(cPtr), cMemoryOwn) {
|
||||
internal OptionsEvent(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.OptionsEventUpcast(cPtr), cMemoryOwn) {
|
||||
swigCPtr = new HandleRef(this, cPtr);
|
||||
}
|
||||
|
||||
|
@ -28,13 +28,11 @@ public class OptionsEvent : SipEvent {
|
|||
|
||||
public override void Dispose() {
|
||||
lock(this) {
|
||||
if (swigCPtr.Handle != IntPtr.Zero) {
|
||||
if (swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_OptionsEvent(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_OptionsEvent(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
GC.SuppressFinalize(this);
|
||||
base.Dispose();
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
@ -14,7 +14,7 @@ using System.Runtime.InteropServices;
|
|||
public class OptionsSession : SipSession {
|
||||
private HandleRef swigCPtr;
|
||||
|
||||
internal OptionsSession(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.OptionsSession_SWIGUpcast(cPtr), cMemoryOwn) {
|
||||
internal OptionsSession(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.OptionsSessionUpcast(cPtr), cMemoryOwn) {
|
||||
swigCPtr = new HandleRef(this, cPtr);
|
||||
}
|
||||
|
||||
|
@ -28,19 +28,17 @@ public class OptionsSession : SipSession {
|
|||
|
||||
public override void Dispose() {
|
||||
lock(this) {
|
||||
if (swigCPtr.Handle != IntPtr.Zero) {
|
||||
if (swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_OptionsSession(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_OptionsSession(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
GC.SuppressFinalize(this);
|
||||
base.Dispose();
|
||||
}
|
||||
}
|
||||
|
||||
public OptionsSession(SipStack Stack) : this(tinyWRAPPINVOKE.new_OptionsSession(SipStack.getCPtr(Stack)), true) {
|
||||
public OptionsSession(SipStack pStack) : this(tinyWRAPPINVOKE.new_OptionsSession(SipStack.getCPtr(pStack)), true) {
|
||||
}
|
||||
|
||||
public bool send(ActionConfig config) {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
@ -14,7 +14,7 @@ using System.Runtime.InteropServices;
|
|||
public class ProxyAudioConsumer : ProxyPlugin {
|
||||
private HandleRef swigCPtr;
|
||||
|
||||
internal ProxyAudioConsumer(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.ProxyAudioConsumer_SWIGUpcast(cPtr), cMemoryOwn) {
|
||||
internal ProxyAudioConsumer(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.ProxyAudioConsumerUpcast(cPtr), cMemoryOwn) {
|
||||
swigCPtr = new HandleRef(this, cPtr);
|
||||
}
|
||||
|
||||
|
@ -28,13 +28,11 @@ public class ProxyAudioConsumer : ProxyPlugin {
|
|||
|
||||
public override void Dispose() {
|
||||
lock(this) {
|
||||
if (swigCPtr.Handle != IntPtr.Zero) {
|
||||
if (swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_ProxyAudioConsumer(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_ProxyAudioConsumer(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
GC.SuppressFinalize(this);
|
||||
base.Dispose();
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
@ -30,13 +30,11 @@ public class ProxyAudioConsumerCallback : IDisposable {
|
|||
|
||||
public virtual void Dispose() {
|
||||
lock(this) {
|
||||
if (swigCPtr.Handle != IntPtr.Zero) {
|
||||
if (swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_ProxyAudioConsumerCallback(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_ProxyAudioConsumerCallback(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
GC.SuppressFinalize(this);
|
||||
}
|
||||
}
|
||||
|
@ -46,22 +44,22 @@ public class ProxyAudioConsumerCallback : IDisposable {
|
|||
}
|
||||
|
||||
public virtual int prepare(int ptime, int rate, int channels) {
|
||||
int ret = (SwigDerivedClassHasMethod("prepare", swigMethodTypes0) ? tinyWRAPPINVOKE.ProxyAudioConsumerCallback_prepareSwigExplicitProxyAudioConsumerCallback(swigCPtr, ptime, rate, channels) : tinyWRAPPINVOKE.ProxyAudioConsumerCallback_prepare(swigCPtr, ptime, rate, channels));
|
||||
int ret = ((this.GetType() == typeof(ProxyAudioConsumerCallback)) ? tinyWRAPPINVOKE.ProxyAudioConsumerCallback_prepare(swigCPtr, ptime, rate, channels) : tinyWRAPPINVOKE.ProxyAudioConsumerCallback_prepareSwigExplicitProxyAudioConsumerCallback(swigCPtr, ptime, rate, channels));
|
||||
return ret;
|
||||
}
|
||||
|
||||
public virtual int start() {
|
||||
int ret = (SwigDerivedClassHasMethod("start", swigMethodTypes1) ? tinyWRAPPINVOKE.ProxyAudioConsumerCallback_startSwigExplicitProxyAudioConsumerCallback(swigCPtr) : tinyWRAPPINVOKE.ProxyAudioConsumerCallback_start(swigCPtr));
|
||||
int ret = ((this.GetType() == typeof(ProxyAudioConsumerCallback)) ? tinyWRAPPINVOKE.ProxyAudioConsumerCallback_start(swigCPtr) : tinyWRAPPINVOKE.ProxyAudioConsumerCallback_startSwigExplicitProxyAudioConsumerCallback(swigCPtr));
|
||||
return ret;
|
||||
}
|
||||
|
||||
public virtual int pause() {
|
||||
int ret = (SwigDerivedClassHasMethod("pause", swigMethodTypes2) ? tinyWRAPPINVOKE.ProxyAudioConsumerCallback_pauseSwigExplicitProxyAudioConsumerCallback(swigCPtr) : tinyWRAPPINVOKE.ProxyAudioConsumerCallback_pause(swigCPtr));
|
||||
int ret = ((this.GetType() == typeof(ProxyAudioConsumerCallback)) ? tinyWRAPPINVOKE.ProxyAudioConsumerCallback_pause(swigCPtr) : tinyWRAPPINVOKE.ProxyAudioConsumerCallback_pauseSwigExplicitProxyAudioConsumerCallback(swigCPtr));
|
||||
return ret;
|
||||
}
|
||||
|
||||
public virtual int stop() {
|
||||
int ret = (SwigDerivedClassHasMethod("stop", swigMethodTypes3) ? tinyWRAPPINVOKE.ProxyAudioConsumerCallback_stopSwigExplicitProxyAudioConsumerCallback(swigCPtr) : tinyWRAPPINVOKE.ProxyAudioConsumerCallback_stop(swigCPtr));
|
||||
int ret = ((this.GetType() == typeof(ProxyAudioConsumerCallback)) ? tinyWRAPPINVOKE.ProxyAudioConsumerCallback_stop(swigCPtr) : tinyWRAPPINVOKE.ProxyAudioConsumerCallback_stopSwigExplicitProxyAudioConsumerCallback(swigCPtr));
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
@ -14,7 +14,7 @@ using System.Runtime.InteropServices;
|
|||
public class ProxyAudioProducer : ProxyPlugin {
|
||||
private HandleRef swigCPtr;
|
||||
|
||||
internal ProxyAudioProducer(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.ProxyAudioProducer_SWIGUpcast(cPtr), cMemoryOwn) {
|
||||
internal ProxyAudioProducer(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.ProxyAudioProducerUpcast(cPtr), cMemoryOwn) {
|
||||
swigCPtr = new HandleRef(this, cPtr);
|
||||
}
|
||||
|
||||
|
@ -28,13 +28,11 @@ public class ProxyAudioProducer : ProxyPlugin {
|
|||
|
||||
public override void Dispose() {
|
||||
lock(this) {
|
||||
if (swigCPtr.Handle != IntPtr.Zero) {
|
||||
if (swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_ProxyAudioProducer(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_ProxyAudioProducer(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
GC.SuppressFinalize(this);
|
||||
base.Dispose();
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
@ -30,13 +30,11 @@ public class ProxyAudioProducerCallback : IDisposable {
|
|||
|
||||
public virtual void Dispose() {
|
||||
lock(this) {
|
||||
if (swigCPtr.Handle != IntPtr.Zero) {
|
||||
if (swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_ProxyAudioProducerCallback(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_ProxyAudioProducerCallback(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
GC.SuppressFinalize(this);
|
||||
}
|
||||
}
|
||||
|
@ -46,22 +44,22 @@ public class ProxyAudioProducerCallback : IDisposable {
|
|||
}
|
||||
|
||||
public virtual int prepare(int ptime, int rate, int channels) {
|
||||
int ret = (SwigDerivedClassHasMethod("prepare", swigMethodTypes0) ? tinyWRAPPINVOKE.ProxyAudioProducerCallback_prepareSwigExplicitProxyAudioProducerCallback(swigCPtr, ptime, rate, channels) : tinyWRAPPINVOKE.ProxyAudioProducerCallback_prepare(swigCPtr, ptime, rate, channels));
|
||||
int ret = ((this.GetType() == typeof(ProxyAudioProducerCallback)) ? tinyWRAPPINVOKE.ProxyAudioProducerCallback_prepare(swigCPtr, ptime, rate, channels) : tinyWRAPPINVOKE.ProxyAudioProducerCallback_prepareSwigExplicitProxyAudioProducerCallback(swigCPtr, ptime, rate, channels));
|
||||
return ret;
|
||||
}
|
||||
|
||||
public virtual int start() {
|
||||
int ret = (SwigDerivedClassHasMethod("start", swigMethodTypes1) ? tinyWRAPPINVOKE.ProxyAudioProducerCallback_startSwigExplicitProxyAudioProducerCallback(swigCPtr) : tinyWRAPPINVOKE.ProxyAudioProducerCallback_start(swigCPtr));
|
||||
int ret = ((this.GetType() == typeof(ProxyAudioProducerCallback)) ? tinyWRAPPINVOKE.ProxyAudioProducerCallback_start(swigCPtr) : tinyWRAPPINVOKE.ProxyAudioProducerCallback_startSwigExplicitProxyAudioProducerCallback(swigCPtr));
|
||||
return ret;
|
||||
}
|
||||
|
||||
public virtual int pause() {
|
||||
int ret = (SwigDerivedClassHasMethod("pause", swigMethodTypes2) ? tinyWRAPPINVOKE.ProxyAudioProducerCallback_pauseSwigExplicitProxyAudioProducerCallback(swigCPtr) : tinyWRAPPINVOKE.ProxyAudioProducerCallback_pause(swigCPtr));
|
||||
int ret = ((this.GetType() == typeof(ProxyAudioProducerCallback)) ? tinyWRAPPINVOKE.ProxyAudioProducerCallback_pause(swigCPtr) : tinyWRAPPINVOKE.ProxyAudioProducerCallback_pauseSwigExplicitProxyAudioProducerCallback(swigCPtr));
|
||||
return ret;
|
||||
}
|
||||
|
||||
public virtual int stop() {
|
||||
int ret = (SwigDerivedClassHasMethod("stop", swigMethodTypes3) ? tinyWRAPPINVOKE.ProxyAudioProducerCallback_stopSwigExplicitProxyAudioProducerCallback(swigCPtr) : tinyWRAPPINVOKE.ProxyAudioProducerCallback_stop(swigCPtr));
|
||||
int ret = ((this.GetType() == typeof(ProxyAudioProducerCallback)) ? tinyWRAPPINVOKE.ProxyAudioProducerCallback_stop(swigCPtr) : tinyWRAPPINVOKE.ProxyAudioProducerCallback_stopSwigExplicitProxyAudioProducerCallback(swigCPtr));
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
@ -30,13 +30,11 @@ public class ProxyPlugin : IDisposable {
|
|||
|
||||
public virtual void Dispose() {
|
||||
lock(this) {
|
||||
if (swigCPtr.Handle != IntPtr.Zero) {
|
||||
if (swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_ProxyPlugin(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_ProxyPlugin(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
GC.SuppressFinalize(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
@ -30,13 +30,11 @@ public class ProxyPluginMgr : IDisposable {
|
|||
|
||||
public virtual void Dispose() {
|
||||
lock(this) {
|
||||
if (swigCPtr.Handle != IntPtr.Zero) {
|
||||
if (swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_ProxyPluginMgr(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_ProxyPluginMgr(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
GC.SuppressFinalize(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
@ -30,13 +30,11 @@ public class ProxyPluginMgrCallback : IDisposable {
|
|||
|
||||
public virtual void Dispose() {
|
||||
lock(this) {
|
||||
if (swigCPtr.Handle != IntPtr.Zero) {
|
||||
if (swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_ProxyPluginMgrCallback(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_ProxyPluginMgrCallback(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
GC.SuppressFinalize(this);
|
||||
}
|
||||
}
|
||||
|
@ -46,12 +44,12 @@ public class ProxyPluginMgrCallback : IDisposable {
|
|||
}
|
||||
|
||||
public virtual int OnPluginCreated(ulong id, twrap_proxy_plugin_type_t type) {
|
||||
int ret = (SwigDerivedClassHasMethod("OnPluginCreated", swigMethodTypes0) ? tinyWRAPPINVOKE.ProxyPluginMgrCallback_OnPluginCreatedSwigExplicitProxyPluginMgrCallback(swigCPtr, id, (int)type) : tinyWRAPPINVOKE.ProxyPluginMgrCallback_OnPluginCreated(swigCPtr, id, (int)type));
|
||||
int ret = ((this.GetType() == typeof(ProxyPluginMgrCallback)) ? tinyWRAPPINVOKE.ProxyPluginMgrCallback_OnPluginCreated(swigCPtr, id, (int)type) : tinyWRAPPINVOKE.ProxyPluginMgrCallback_OnPluginCreatedSwigExplicitProxyPluginMgrCallback(swigCPtr, id, (int)type));
|
||||
return ret;
|
||||
}
|
||||
|
||||
public virtual int OnPluginDestroyed(ulong id, twrap_proxy_plugin_type_t type) {
|
||||
int ret = (SwigDerivedClassHasMethod("OnPluginDestroyed", swigMethodTypes1) ? tinyWRAPPINVOKE.ProxyPluginMgrCallback_OnPluginDestroyedSwigExplicitProxyPluginMgrCallback(swigCPtr, id, (int)type) : tinyWRAPPINVOKE.ProxyPluginMgrCallback_OnPluginDestroyed(swigCPtr, id, (int)type));
|
||||
int ret = ((this.GetType() == typeof(ProxyPluginMgrCallback)) ? tinyWRAPPINVOKE.ProxyPluginMgrCallback_OnPluginDestroyed(swigCPtr, id, (int)type) : tinyWRAPPINVOKE.ProxyPluginMgrCallback_OnPluginDestroyedSwigExplicitProxyPluginMgrCallback(swigCPtr, id, (int)type));
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
@ -14,7 +14,7 @@ using System.Runtime.InteropServices;
|
|||
public class ProxyVideoConsumer : ProxyPlugin {
|
||||
private HandleRef swigCPtr;
|
||||
|
||||
internal ProxyVideoConsumer(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.ProxyVideoConsumer_SWIGUpcast(cPtr), cMemoryOwn) {
|
||||
internal ProxyVideoConsumer(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.ProxyVideoConsumerUpcast(cPtr), cMemoryOwn) {
|
||||
swigCPtr = new HandleRef(this, cPtr);
|
||||
}
|
||||
|
||||
|
@ -28,13 +28,11 @@ public class ProxyVideoConsumer : ProxyPlugin {
|
|||
|
||||
public override void Dispose() {
|
||||
lock(this) {
|
||||
if (swigCPtr.Handle != IntPtr.Zero) {
|
||||
if (swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_ProxyVideoConsumer(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_ProxyVideoConsumer(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
GC.SuppressFinalize(this);
|
||||
base.Dispose();
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
@ -30,13 +30,11 @@ public class ProxyVideoConsumerCallback : IDisposable {
|
|||
|
||||
public virtual void Dispose() {
|
||||
lock(this) {
|
||||
if (swigCPtr.Handle != IntPtr.Zero) {
|
||||
if (swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_ProxyVideoConsumerCallback(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_ProxyVideoConsumerCallback(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
GC.SuppressFinalize(this);
|
||||
}
|
||||
}
|
||||
|
@ -46,32 +44,32 @@ public class ProxyVideoConsumerCallback : IDisposable {
|
|||
}
|
||||
|
||||
public virtual int prepare(int nWidth, int nHeight, int nFps) {
|
||||
int ret = (SwigDerivedClassHasMethod("prepare", swigMethodTypes0) ? tinyWRAPPINVOKE.ProxyVideoConsumerCallback_prepareSwigExplicitProxyVideoConsumerCallback(swigCPtr, nWidth, nHeight, nFps) : tinyWRAPPINVOKE.ProxyVideoConsumerCallback_prepare(swigCPtr, nWidth, nHeight, nFps));
|
||||
int ret = ((this.GetType() == typeof(ProxyVideoConsumerCallback)) ? tinyWRAPPINVOKE.ProxyVideoConsumerCallback_prepare(swigCPtr, nWidth, nHeight, nFps) : tinyWRAPPINVOKE.ProxyVideoConsumerCallback_prepareSwigExplicitProxyVideoConsumerCallback(swigCPtr, nWidth, nHeight, nFps));
|
||||
return ret;
|
||||
}
|
||||
|
||||
public virtual int consume(ProxyVideoFrame frame) {
|
||||
int ret = (SwigDerivedClassHasMethod("consume", swigMethodTypes1) ? tinyWRAPPINVOKE.ProxyVideoConsumerCallback_consumeSwigExplicitProxyVideoConsumerCallback(swigCPtr, ProxyVideoFrame.getCPtr(frame)) : tinyWRAPPINVOKE.ProxyVideoConsumerCallback_consume(swigCPtr, ProxyVideoFrame.getCPtr(frame)));
|
||||
int ret = ((this.GetType() == typeof(ProxyVideoConsumerCallback)) ? tinyWRAPPINVOKE.ProxyVideoConsumerCallback_consume(swigCPtr, ProxyVideoFrame.getCPtr(frame)) : tinyWRAPPINVOKE.ProxyVideoConsumerCallback_consumeSwigExplicitProxyVideoConsumerCallback(swigCPtr, ProxyVideoFrame.getCPtr(frame)));
|
||||
return ret;
|
||||
}
|
||||
|
||||
public virtual int bufferCopied(uint nCopiedSize, uint nAvailableSize) {
|
||||
int ret = (SwigDerivedClassHasMethod("bufferCopied", swigMethodTypes2) ? tinyWRAPPINVOKE.ProxyVideoConsumerCallback_bufferCopiedSwigExplicitProxyVideoConsumerCallback(swigCPtr, nCopiedSize, nAvailableSize) : tinyWRAPPINVOKE.ProxyVideoConsumerCallback_bufferCopied(swigCPtr, nCopiedSize, nAvailableSize));
|
||||
int ret = ((this.GetType() == typeof(ProxyVideoConsumerCallback)) ? tinyWRAPPINVOKE.ProxyVideoConsumerCallback_bufferCopied(swigCPtr, nCopiedSize, nAvailableSize) : tinyWRAPPINVOKE.ProxyVideoConsumerCallback_bufferCopiedSwigExplicitProxyVideoConsumerCallback(swigCPtr, nCopiedSize, nAvailableSize));
|
||||
return ret;
|
||||
}
|
||||
|
||||
public virtual int start() {
|
||||
int ret = (SwigDerivedClassHasMethod("start", swigMethodTypes3) ? tinyWRAPPINVOKE.ProxyVideoConsumerCallback_startSwigExplicitProxyVideoConsumerCallback(swigCPtr) : tinyWRAPPINVOKE.ProxyVideoConsumerCallback_start(swigCPtr));
|
||||
int ret = ((this.GetType() == typeof(ProxyVideoConsumerCallback)) ? tinyWRAPPINVOKE.ProxyVideoConsumerCallback_start(swigCPtr) : tinyWRAPPINVOKE.ProxyVideoConsumerCallback_startSwigExplicitProxyVideoConsumerCallback(swigCPtr));
|
||||
return ret;
|
||||
}
|
||||
|
||||
public virtual int pause() {
|
||||
int ret = (SwigDerivedClassHasMethod("pause", swigMethodTypes4) ? tinyWRAPPINVOKE.ProxyVideoConsumerCallback_pauseSwigExplicitProxyVideoConsumerCallback(swigCPtr) : tinyWRAPPINVOKE.ProxyVideoConsumerCallback_pause(swigCPtr));
|
||||
int ret = ((this.GetType() == typeof(ProxyVideoConsumerCallback)) ? tinyWRAPPINVOKE.ProxyVideoConsumerCallback_pause(swigCPtr) : tinyWRAPPINVOKE.ProxyVideoConsumerCallback_pauseSwigExplicitProxyVideoConsumerCallback(swigCPtr));
|
||||
return ret;
|
||||
}
|
||||
|
||||
public virtual int stop() {
|
||||
int ret = (SwigDerivedClassHasMethod("stop", swigMethodTypes5) ? tinyWRAPPINVOKE.ProxyVideoConsumerCallback_stopSwigExplicitProxyVideoConsumerCallback(swigCPtr) : tinyWRAPPINVOKE.ProxyVideoConsumerCallback_stop(swigCPtr));
|
||||
int ret = ((this.GetType() == typeof(ProxyVideoConsumerCallback)) ? tinyWRAPPINVOKE.ProxyVideoConsumerCallback_stop(swigCPtr) : tinyWRAPPINVOKE.ProxyVideoConsumerCallback_stopSwigExplicitProxyVideoConsumerCallback(swigCPtr));
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
@ -30,13 +30,11 @@ public class ProxyVideoFrame : IDisposable {
|
|||
|
||||
public virtual void Dispose() {
|
||||
lock(this) {
|
||||
if (swigCPtr.Handle != IntPtr.Zero) {
|
||||
if (swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_ProxyVideoFrame(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_ProxyVideoFrame(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
GC.SuppressFinalize(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
@ -14,7 +14,7 @@ using System.Runtime.InteropServices;
|
|||
public class ProxyVideoProducer : ProxyPlugin {
|
||||
private HandleRef swigCPtr;
|
||||
|
||||
internal ProxyVideoProducer(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.ProxyVideoProducer_SWIGUpcast(cPtr), cMemoryOwn) {
|
||||
internal ProxyVideoProducer(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.ProxyVideoProducerUpcast(cPtr), cMemoryOwn) {
|
||||
swigCPtr = new HandleRef(this, cPtr);
|
||||
}
|
||||
|
||||
|
@ -28,13 +28,11 @@ public class ProxyVideoProducer : ProxyPlugin {
|
|||
|
||||
public override void Dispose() {
|
||||
lock(this) {
|
||||
if (swigCPtr.Handle != IntPtr.Zero) {
|
||||
if (swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_ProxyVideoProducer(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_ProxyVideoProducer(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
GC.SuppressFinalize(this);
|
||||
base.Dispose();
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
@ -30,13 +30,11 @@ public class ProxyVideoProducerCallback : IDisposable {
|
|||
|
||||
public virtual void Dispose() {
|
||||
lock(this) {
|
||||
if (swigCPtr.Handle != IntPtr.Zero) {
|
||||
if (swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_ProxyVideoProducerCallback(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_ProxyVideoProducerCallback(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
GC.SuppressFinalize(this);
|
||||
}
|
||||
}
|
||||
|
@ -46,22 +44,22 @@ public class ProxyVideoProducerCallback : IDisposable {
|
|||
}
|
||||
|
||||
public virtual int prepare(int width, int height, int fps) {
|
||||
int ret = (SwigDerivedClassHasMethod("prepare", swigMethodTypes0) ? tinyWRAPPINVOKE.ProxyVideoProducerCallback_prepareSwigExplicitProxyVideoProducerCallback(swigCPtr, width, height, fps) : tinyWRAPPINVOKE.ProxyVideoProducerCallback_prepare(swigCPtr, width, height, fps));
|
||||
int ret = ((this.GetType() == typeof(ProxyVideoProducerCallback)) ? tinyWRAPPINVOKE.ProxyVideoProducerCallback_prepare(swigCPtr, width, height, fps) : tinyWRAPPINVOKE.ProxyVideoProducerCallback_prepareSwigExplicitProxyVideoProducerCallback(swigCPtr, width, height, fps));
|
||||
return ret;
|
||||
}
|
||||
|
||||
public virtual int start() {
|
||||
int ret = (SwigDerivedClassHasMethod("start", swigMethodTypes1) ? tinyWRAPPINVOKE.ProxyVideoProducerCallback_startSwigExplicitProxyVideoProducerCallback(swigCPtr) : tinyWRAPPINVOKE.ProxyVideoProducerCallback_start(swigCPtr));
|
||||
int ret = ((this.GetType() == typeof(ProxyVideoProducerCallback)) ? tinyWRAPPINVOKE.ProxyVideoProducerCallback_start(swigCPtr) : tinyWRAPPINVOKE.ProxyVideoProducerCallback_startSwigExplicitProxyVideoProducerCallback(swigCPtr));
|
||||
return ret;
|
||||
}
|
||||
|
||||
public virtual int pause() {
|
||||
int ret = (SwigDerivedClassHasMethod("pause", swigMethodTypes2) ? tinyWRAPPINVOKE.ProxyVideoProducerCallback_pauseSwigExplicitProxyVideoProducerCallback(swigCPtr) : tinyWRAPPINVOKE.ProxyVideoProducerCallback_pause(swigCPtr));
|
||||
int ret = ((this.GetType() == typeof(ProxyVideoProducerCallback)) ? tinyWRAPPINVOKE.ProxyVideoProducerCallback_pause(swigCPtr) : tinyWRAPPINVOKE.ProxyVideoProducerCallback_pauseSwigExplicitProxyVideoProducerCallback(swigCPtr));
|
||||
return ret;
|
||||
}
|
||||
|
||||
public virtual int stop() {
|
||||
int ret = (SwigDerivedClassHasMethod("stop", swigMethodTypes3) ? tinyWRAPPINVOKE.ProxyVideoProducerCallback_stopSwigExplicitProxyVideoProducerCallback(swigCPtr) : tinyWRAPPINVOKE.ProxyVideoProducerCallback_stop(swigCPtr));
|
||||
int ret = ((this.GetType() == typeof(ProxyVideoProducerCallback)) ? tinyWRAPPINVOKE.ProxyVideoProducerCallback_stop(swigCPtr) : tinyWRAPPINVOKE.ProxyVideoProducerCallback_stopSwigExplicitProxyVideoProducerCallback(swigCPtr));
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
@ -14,7 +14,7 @@ using System.Runtime.InteropServices;
|
|||
public class PublicationEvent : SipEvent {
|
||||
private HandleRef swigCPtr;
|
||||
|
||||
internal PublicationEvent(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.PublicationEvent_SWIGUpcast(cPtr), cMemoryOwn) {
|
||||
internal PublicationEvent(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.PublicationEventUpcast(cPtr), cMemoryOwn) {
|
||||
swigCPtr = new HandleRef(this, cPtr);
|
||||
}
|
||||
|
||||
|
@ -28,13 +28,11 @@ public class PublicationEvent : SipEvent {
|
|||
|
||||
public override void Dispose() {
|
||||
lock(this) {
|
||||
if (swigCPtr.Handle != IntPtr.Zero) {
|
||||
if (swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_PublicationEvent(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_PublicationEvent(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
GC.SuppressFinalize(this);
|
||||
base.Dispose();
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
@ -14,7 +14,7 @@ using System.Runtime.InteropServices;
|
|||
public class PublicationSession : SipSession {
|
||||
private HandleRef swigCPtr;
|
||||
|
||||
internal PublicationSession(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.PublicationSession_SWIGUpcast(cPtr), cMemoryOwn) {
|
||||
internal PublicationSession(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.PublicationSessionUpcast(cPtr), cMemoryOwn) {
|
||||
swigCPtr = new HandleRef(this, cPtr);
|
||||
}
|
||||
|
||||
|
@ -28,19 +28,17 @@ public class PublicationSession : SipSession {
|
|||
|
||||
public override void Dispose() {
|
||||
lock(this) {
|
||||
if (swigCPtr.Handle != IntPtr.Zero) {
|
||||
if (swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_PublicationSession(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_PublicationSession(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
GC.SuppressFinalize(this);
|
||||
base.Dispose();
|
||||
}
|
||||
}
|
||||
|
||||
public PublicationSession(SipStack Stack) : this(tinyWRAPPINVOKE.new_PublicationSession(SipStack.getCPtr(Stack)), true) {
|
||||
public PublicationSession(SipStack pStack) : this(tinyWRAPPINVOKE.new_PublicationSession(SipStack.getCPtr(pStack)), true) {
|
||||
}
|
||||
|
||||
public bool publish(byte[] payload, uint len, ActionConfig config) {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
@ -30,13 +30,11 @@ public class RPMessage : IDisposable {
|
|||
|
||||
public virtual void Dispose() {
|
||||
lock(this) {
|
||||
if (swigCPtr.Handle != IntPtr.Zero) {
|
||||
if (swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_RPMessage(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_RPMessage(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
GC.SuppressFinalize(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
@ -14,7 +14,7 @@ using System.Runtime.InteropServices;
|
|||
public class RegistrationEvent : SipEvent {
|
||||
private HandleRef swigCPtr;
|
||||
|
||||
internal RegistrationEvent(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.RegistrationEvent_SWIGUpcast(cPtr), cMemoryOwn) {
|
||||
internal RegistrationEvent(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.RegistrationEventUpcast(cPtr), cMemoryOwn) {
|
||||
swigCPtr = new HandleRef(this, cPtr);
|
||||
}
|
||||
|
||||
|
@ -28,13 +28,11 @@ public class RegistrationEvent : SipEvent {
|
|||
|
||||
public override void Dispose() {
|
||||
lock(this) {
|
||||
if (swigCPtr.Handle != IntPtr.Zero) {
|
||||
if (swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_RegistrationEvent(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_RegistrationEvent(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
GC.SuppressFinalize(this);
|
||||
base.Dispose();
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
@ -14,7 +14,7 @@ using System.Runtime.InteropServices;
|
|||
public class RegistrationSession : SipSession {
|
||||
private HandleRef swigCPtr;
|
||||
|
||||
internal RegistrationSession(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.RegistrationSession_SWIGUpcast(cPtr), cMemoryOwn) {
|
||||
internal RegistrationSession(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.RegistrationSessionUpcast(cPtr), cMemoryOwn) {
|
||||
swigCPtr = new HandleRef(this, cPtr);
|
||||
}
|
||||
|
||||
|
@ -28,19 +28,17 @@ public class RegistrationSession : SipSession {
|
|||
|
||||
public override void Dispose() {
|
||||
lock(this) {
|
||||
if (swigCPtr.Handle != IntPtr.Zero) {
|
||||
if (swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_RegistrationSession(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_RegistrationSession(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
GC.SuppressFinalize(this);
|
||||
base.Dispose();
|
||||
}
|
||||
}
|
||||
|
||||
public RegistrationSession(SipStack Stack) : this(tinyWRAPPINVOKE.new_RegistrationSession(SipStack.getCPtr(Stack)), true) {
|
||||
public RegistrationSession(SipStack pStack) : this(tinyWRAPPINVOKE.new_RegistrationSession(SipStack.getCPtr(pStack)), true) {
|
||||
}
|
||||
|
||||
public bool register_() {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
@ -30,13 +30,11 @@ public class SMSData : IDisposable {
|
|||
|
||||
public virtual void Dispose() {
|
||||
lock(this) {
|
||||
if (swigCPtr.Handle != IntPtr.Zero) {
|
||||
if (swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_SMSData(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_SMSData(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
GC.SuppressFinalize(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
@ -30,13 +30,11 @@ public class SMSEncoder : IDisposable {
|
|||
|
||||
public virtual void Dispose() {
|
||||
lock(this) {
|
||||
if (swigCPtr.Handle != IntPtr.Zero) {
|
||||
if (swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_SMSEncoder(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_SMSEncoder(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
GC.SuppressFinalize(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
@ -30,13 +30,11 @@ public class SafeObject : IDisposable {
|
|||
|
||||
public virtual void Dispose() {
|
||||
lock(this) {
|
||||
if (swigCPtr.Handle != IntPtr.Zero) {
|
||||
if (swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_SafeObject(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_SafeObject(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
GC.SuppressFinalize(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
@ -30,13 +30,11 @@ public class SdpMessage : IDisposable {
|
|||
|
||||
public virtual void Dispose() {
|
||||
lock(this) {
|
||||
if (swigCPtr.Handle != IntPtr.Zero) {
|
||||
if (swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_SdpMessage(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_SdpMessage(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
GC.SuppressFinalize(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
@ -30,13 +30,11 @@ public class SipCallback : IDisposable {
|
|||
|
||||
public virtual void Dispose() {
|
||||
lock(this) {
|
||||
if (swigCPtr.Handle != IntPtr.Zero) {
|
||||
if (swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_SipCallback(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_SipCallback(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
GC.SuppressFinalize(this);
|
||||
}
|
||||
}
|
||||
|
@ -46,42 +44,42 @@ public class SipCallback : IDisposable {
|
|||
}
|
||||
|
||||
public virtual int OnDialogEvent(DialogEvent e) {
|
||||
int ret = (SwigDerivedClassHasMethod("OnDialogEvent", swigMethodTypes0) ? tinyWRAPPINVOKE.SipCallback_OnDialogEventSwigExplicitSipCallback(swigCPtr, DialogEvent.getCPtr(e)) : tinyWRAPPINVOKE.SipCallback_OnDialogEvent(swigCPtr, DialogEvent.getCPtr(e)));
|
||||
int ret = ((this.GetType() == typeof(SipCallback)) ? tinyWRAPPINVOKE.SipCallback_OnDialogEvent(swigCPtr, DialogEvent.getCPtr(e)) : tinyWRAPPINVOKE.SipCallback_OnDialogEventSwigExplicitSipCallback(swigCPtr, DialogEvent.getCPtr(e)));
|
||||
return ret;
|
||||
}
|
||||
|
||||
public virtual int OnStackEvent(StackEvent e) {
|
||||
int ret = (SwigDerivedClassHasMethod("OnStackEvent", swigMethodTypes1) ? tinyWRAPPINVOKE.SipCallback_OnStackEventSwigExplicitSipCallback(swigCPtr, StackEvent.getCPtr(e)) : tinyWRAPPINVOKE.SipCallback_OnStackEvent(swigCPtr, StackEvent.getCPtr(e)));
|
||||
int ret = ((this.GetType() == typeof(SipCallback)) ? tinyWRAPPINVOKE.SipCallback_OnStackEvent(swigCPtr, StackEvent.getCPtr(e)) : tinyWRAPPINVOKE.SipCallback_OnStackEventSwigExplicitSipCallback(swigCPtr, StackEvent.getCPtr(e)));
|
||||
return ret;
|
||||
}
|
||||
|
||||
public virtual int OnInviteEvent(InviteEvent e) {
|
||||
int ret = (SwigDerivedClassHasMethod("OnInviteEvent", swigMethodTypes2) ? tinyWRAPPINVOKE.SipCallback_OnInviteEventSwigExplicitSipCallback(swigCPtr, InviteEvent.getCPtr(e)) : tinyWRAPPINVOKE.SipCallback_OnInviteEvent(swigCPtr, InviteEvent.getCPtr(e)));
|
||||
int ret = ((this.GetType() == typeof(SipCallback)) ? tinyWRAPPINVOKE.SipCallback_OnInviteEvent(swigCPtr, InviteEvent.getCPtr(e)) : tinyWRAPPINVOKE.SipCallback_OnInviteEventSwigExplicitSipCallback(swigCPtr, InviteEvent.getCPtr(e)));
|
||||
return ret;
|
||||
}
|
||||
|
||||
public virtual int OnMessagingEvent(MessagingEvent e) {
|
||||
int ret = (SwigDerivedClassHasMethod("OnMessagingEvent", swigMethodTypes3) ? tinyWRAPPINVOKE.SipCallback_OnMessagingEventSwigExplicitSipCallback(swigCPtr, MessagingEvent.getCPtr(e)) : tinyWRAPPINVOKE.SipCallback_OnMessagingEvent(swigCPtr, MessagingEvent.getCPtr(e)));
|
||||
int ret = ((this.GetType() == typeof(SipCallback)) ? tinyWRAPPINVOKE.SipCallback_OnMessagingEvent(swigCPtr, MessagingEvent.getCPtr(e)) : tinyWRAPPINVOKE.SipCallback_OnMessagingEventSwigExplicitSipCallback(swigCPtr, MessagingEvent.getCPtr(e)));
|
||||
return ret;
|
||||
}
|
||||
|
||||
public virtual int OnOptionsEvent(OptionsEvent e) {
|
||||
int ret = (SwigDerivedClassHasMethod("OnOptionsEvent", swigMethodTypes4) ? tinyWRAPPINVOKE.SipCallback_OnOptionsEventSwigExplicitSipCallback(swigCPtr, OptionsEvent.getCPtr(e)) : tinyWRAPPINVOKE.SipCallback_OnOptionsEvent(swigCPtr, OptionsEvent.getCPtr(e)));
|
||||
int ret = ((this.GetType() == typeof(SipCallback)) ? tinyWRAPPINVOKE.SipCallback_OnOptionsEvent(swigCPtr, OptionsEvent.getCPtr(e)) : tinyWRAPPINVOKE.SipCallback_OnOptionsEventSwigExplicitSipCallback(swigCPtr, OptionsEvent.getCPtr(e)));
|
||||
return ret;
|
||||
}
|
||||
|
||||
public virtual int OnPublicationEvent(PublicationEvent e) {
|
||||
int ret = (SwigDerivedClassHasMethod("OnPublicationEvent", swigMethodTypes5) ? tinyWRAPPINVOKE.SipCallback_OnPublicationEventSwigExplicitSipCallback(swigCPtr, PublicationEvent.getCPtr(e)) : tinyWRAPPINVOKE.SipCallback_OnPublicationEvent(swigCPtr, PublicationEvent.getCPtr(e)));
|
||||
int ret = ((this.GetType() == typeof(SipCallback)) ? tinyWRAPPINVOKE.SipCallback_OnPublicationEvent(swigCPtr, PublicationEvent.getCPtr(e)) : tinyWRAPPINVOKE.SipCallback_OnPublicationEventSwigExplicitSipCallback(swigCPtr, PublicationEvent.getCPtr(e)));
|
||||
return ret;
|
||||
}
|
||||
|
||||
public virtual int OnRegistrationEvent(RegistrationEvent e) {
|
||||
int ret = (SwigDerivedClassHasMethod("OnRegistrationEvent", swigMethodTypes6) ? tinyWRAPPINVOKE.SipCallback_OnRegistrationEventSwigExplicitSipCallback(swigCPtr, RegistrationEvent.getCPtr(e)) : tinyWRAPPINVOKE.SipCallback_OnRegistrationEvent(swigCPtr, RegistrationEvent.getCPtr(e)));
|
||||
int ret = ((this.GetType() == typeof(SipCallback)) ? tinyWRAPPINVOKE.SipCallback_OnRegistrationEvent(swigCPtr, RegistrationEvent.getCPtr(e)) : tinyWRAPPINVOKE.SipCallback_OnRegistrationEventSwigExplicitSipCallback(swigCPtr, RegistrationEvent.getCPtr(e)));
|
||||
return ret;
|
||||
}
|
||||
|
||||
public virtual int OnSubscriptionEvent(SubscriptionEvent e) {
|
||||
int ret = (SwigDerivedClassHasMethod("OnSubscriptionEvent", swigMethodTypes7) ? tinyWRAPPINVOKE.SipCallback_OnSubscriptionEventSwigExplicitSipCallback(swigCPtr, SubscriptionEvent.getCPtr(e)) : tinyWRAPPINVOKE.SipCallback_OnSubscriptionEvent(swigCPtr, SubscriptionEvent.getCPtr(e)));
|
||||
int ret = ((this.GetType() == typeof(SipCallback)) ? tinyWRAPPINVOKE.SipCallback_OnSubscriptionEvent(swigCPtr, SubscriptionEvent.getCPtr(e)) : tinyWRAPPINVOKE.SipCallback_OnSubscriptionEventSwigExplicitSipCallback(swigCPtr, SubscriptionEvent.getCPtr(e)));
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
@ -30,13 +30,11 @@ public class SipEvent : IDisposable {
|
|||
|
||||
public virtual void Dispose() {
|
||||
lock(this) {
|
||||
if (swigCPtr.Handle != IntPtr.Zero) {
|
||||
if (swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_SipEvent(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_SipEvent(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
GC.SuppressFinalize(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
@ -30,13 +30,11 @@ public class SipMessage : IDisposable {
|
|||
|
||||
public virtual void Dispose() {
|
||||
lock(this) {
|
||||
if (swigCPtr.Handle != IntPtr.Zero) {
|
||||
if (swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_SipMessage(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_SipMessage(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
GC.SuppressFinalize(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
@ -30,13 +30,11 @@ public class SipSession : IDisposable {
|
|||
|
||||
public virtual void Dispose() {
|
||||
lock(this) {
|
||||
if (swigCPtr.Handle != IntPtr.Zero) {
|
||||
if (swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_SipSession(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_SipSession(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
GC.SuppressFinalize(this);
|
||||
}
|
||||
}
|
||||
|
@ -79,13 +77,23 @@ public class SipSession : IDisposable {
|
|||
return ret;
|
||||
}
|
||||
|
||||
public bool setFromUri(string fromUri) {
|
||||
bool ret = tinyWRAPPINVOKE.SipSession_setFromUri(swigCPtr, fromUri);
|
||||
public bool setFromUri(string fromUriString) {
|
||||
bool ret = tinyWRAPPINVOKE.SipSession_setFromUri__SWIG_0(swigCPtr, fromUriString);
|
||||
return ret;
|
||||
}
|
||||
|
||||
public bool setToUri(string toUri) {
|
||||
bool ret = tinyWRAPPINVOKE.SipSession_setToUri(swigCPtr, toUri);
|
||||
public bool setFromUri(SipUri fromUri) {
|
||||
bool ret = tinyWRAPPINVOKE.SipSession_setFromUri__SWIG_1(swigCPtr, SipUri.getCPtr(fromUri));
|
||||
return ret;
|
||||
}
|
||||
|
||||
public bool setToUri(string toUriString) {
|
||||
bool ret = tinyWRAPPINVOKE.SipSession_setToUri__SWIG_0(swigCPtr, toUriString);
|
||||
return ret;
|
||||
}
|
||||
|
||||
public bool setToUri(SipUri toUri) {
|
||||
bool ret = tinyWRAPPINVOKE.SipSession_setToUri__SWIG_1(swigCPtr, SipUri.getCPtr(toUri));
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
@ -14,7 +14,7 @@ using System.Runtime.InteropServices;
|
|||
public class SipStack : SafeObject {
|
||||
private HandleRef swigCPtr;
|
||||
|
||||
internal SipStack(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.SipStack_SWIGUpcast(cPtr), cMemoryOwn) {
|
||||
internal SipStack(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.SipStackUpcast(cPtr), cMemoryOwn) {
|
||||
swigCPtr = new HandleRef(this, cPtr);
|
||||
}
|
||||
|
||||
|
@ -28,13 +28,11 @@ public class SipStack : SafeObject {
|
|||
|
||||
public override void Dispose() {
|
||||
lock(this) {
|
||||
if (swigCPtr.Handle != IntPtr.Zero) {
|
||||
if (swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_SipStack(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_SipStack(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
GC.SuppressFinalize(this);
|
||||
base.Dispose();
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
@ -30,18 +30,19 @@ public class SipUri : IDisposable {
|
|||
|
||||
public virtual void Dispose() {
|
||||
lock(this) {
|
||||
if (swigCPtr.Handle != IntPtr.Zero) {
|
||||
if (swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_SipUri(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_SipUri(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
GC.SuppressFinalize(this);
|
||||
}
|
||||
}
|
||||
|
||||
public SipUri(string arg0) : this(tinyWRAPPINVOKE.new_SipUri(arg0), true) {
|
||||
public SipUri(string uriString, string displayName) : this(tinyWRAPPINVOKE.new_SipUri__SWIG_0(uriString, displayName), true) {
|
||||
}
|
||||
|
||||
public SipUri(string uriString) : this(tinyWRAPPINVOKE.new_SipUri__SWIG_1(uriString), true) {
|
||||
}
|
||||
|
||||
public static bool isValid(string arg0) {
|
||||
|
@ -89,6 +90,10 @@ public class SipUri : IDisposable {
|
|||
return ret;
|
||||
}
|
||||
|
||||
public void setDisplayName(string displayName) {
|
||||
tinyWRAPPINVOKE.SipUri_setDisplayName(swigCPtr, displayName);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
@ -14,7 +14,7 @@ using System.Runtime.InteropServices;
|
|||
public class StackEvent : SipEvent {
|
||||
private HandleRef swigCPtr;
|
||||
|
||||
internal StackEvent(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.StackEvent_SWIGUpcast(cPtr), cMemoryOwn) {
|
||||
internal StackEvent(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.StackEventUpcast(cPtr), cMemoryOwn) {
|
||||
swigCPtr = new HandleRef(this, cPtr);
|
||||
}
|
||||
|
||||
|
@ -28,13 +28,11 @@ public class StackEvent : SipEvent {
|
|||
|
||||
public override void Dispose() {
|
||||
lock(this) {
|
||||
if (swigCPtr.Handle != IntPtr.Zero) {
|
||||
if (swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_StackEvent(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_StackEvent(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
GC.SuppressFinalize(this);
|
||||
base.Dispose();
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
@ -14,7 +14,7 @@ using System.Runtime.InteropServices;
|
|||
public class SubscriptionEvent : SipEvent {
|
||||
private HandleRef swigCPtr;
|
||||
|
||||
internal SubscriptionEvent(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.SubscriptionEvent_SWIGUpcast(cPtr), cMemoryOwn) {
|
||||
internal SubscriptionEvent(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.SubscriptionEventUpcast(cPtr), cMemoryOwn) {
|
||||
swigCPtr = new HandleRef(this, cPtr);
|
||||
}
|
||||
|
||||
|
@ -28,13 +28,11 @@ public class SubscriptionEvent : SipEvent {
|
|||
|
||||
public override void Dispose() {
|
||||
lock(this) {
|
||||
if (swigCPtr.Handle != IntPtr.Zero) {
|
||||
if (swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_SubscriptionEvent(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_SubscriptionEvent(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
GC.SuppressFinalize(this);
|
||||
base.Dispose();
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
@ -14,7 +14,7 @@ using System.Runtime.InteropServices;
|
|||
public class SubscriptionSession : SipSession {
|
||||
private HandleRef swigCPtr;
|
||||
|
||||
internal SubscriptionSession(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.SubscriptionSession_SWIGUpcast(cPtr), cMemoryOwn) {
|
||||
internal SubscriptionSession(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.SubscriptionSessionUpcast(cPtr), cMemoryOwn) {
|
||||
swigCPtr = new HandleRef(this, cPtr);
|
||||
}
|
||||
|
||||
|
@ -28,19 +28,17 @@ public class SubscriptionSession : SipSession {
|
|||
|
||||
public override void Dispose() {
|
||||
lock(this) {
|
||||
if (swigCPtr.Handle != IntPtr.Zero) {
|
||||
if (swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_SubscriptionSession(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_SubscriptionSession(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
GC.SuppressFinalize(this);
|
||||
base.Dispose();
|
||||
}
|
||||
}
|
||||
|
||||
public SubscriptionSession(SipStack Stack) : this(tinyWRAPPINVOKE.new_SubscriptionSession(SipStack.getCPtr(Stack)), true) {
|
||||
public SubscriptionSession(SipStack pStack) : this(tinyWRAPPINVOKE.new_SubscriptionSession(SipStack.getCPtr(pStack)), true) {
|
||||
}
|
||||
|
||||
public bool subscribe() {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
@ -30,13 +30,11 @@ public class XcapCallback : IDisposable {
|
|||
|
||||
public virtual void Dispose() {
|
||||
lock(this) {
|
||||
if (swigCPtr.Handle != IntPtr.Zero) {
|
||||
if (swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_XcapCallback(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_XcapCallback(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
GC.SuppressFinalize(this);
|
||||
}
|
||||
}
|
||||
|
@ -46,7 +44,7 @@ public class XcapCallback : IDisposable {
|
|||
}
|
||||
|
||||
public virtual int onEvent(XcapEvent e) {
|
||||
int ret = (SwigDerivedClassHasMethod("onEvent", swigMethodTypes0) ? tinyWRAPPINVOKE.XcapCallback_onEventSwigExplicitXcapCallback(swigCPtr, XcapEvent.getCPtr(e)) : tinyWRAPPINVOKE.XcapCallback_onEvent(swigCPtr, XcapEvent.getCPtr(e)));
|
||||
int ret = ((this.GetType() == typeof(XcapCallback)) ? tinyWRAPPINVOKE.XcapCallback_onEvent(swigCPtr, XcapEvent.getCPtr(e)) : tinyWRAPPINVOKE.XcapCallback_onEventSwigExplicitXcapCallback(swigCPtr, XcapEvent.getCPtr(e)));
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
@ -30,13 +30,11 @@ public class XcapEvent : IDisposable {
|
|||
|
||||
public virtual void Dispose() {
|
||||
lock(this) {
|
||||
if (swigCPtr.Handle != IntPtr.Zero) {
|
||||
if (swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_XcapEvent(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_XcapEvent(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
GC.SuppressFinalize(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
@ -30,13 +30,11 @@ public class XcapMessage : IDisposable {
|
|||
|
||||
public virtual void Dispose() {
|
||||
lock(this) {
|
||||
if (swigCPtr.Handle != IntPtr.Zero) {
|
||||
if (swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_XcapMessage(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_XcapMessage(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
GC.SuppressFinalize(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
@ -30,13 +30,11 @@ public class XcapSelector : IDisposable {
|
|||
|
||||
public virtual void Dispose() {
|
||||
lock(this) {
|
||||
if (swigCPtr.Handle != IntPtr.Zero) {
|
||||
if (swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_XcapSelector(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_XcapSelector(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
GC.SuppressFinalize(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
@ -30,13 +30,11 @@ public class XcapStack : IDisposable {
|
|||
|
||||
public virtual void Dispose() {
|
||||
lock(this) {
|
||||
if (swigCPtr.Handle != IntPtr.Zero) {
|
||||
if (swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_XcapStack(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPPINVOKE.delete_XcapStack(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
GC.SuppressFinalize(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
@ -185,10 +185,6 @@ class tinyWRAPPINVOKE {
|
|||
static protected SWIGStringHelper swigStringHelper = new SWIGStringHelper();
|
||||
|
||||
|
||||
static tinyWRAPPINVOKE() {
|
||||
}
|
||||
|
||||
|
||||
[DllImport("tinyWRAP", EntryPoint="CSharp_new_DDebugCallback")]
|
||||
public static extern IntPtr new_DDebugCallback();
|
||||
|
||||
|
@ -318,8 +314,11 @@ class tinyWRAPPINVOKE {
|
|||
[DllImport("tinyWRAP", EntryPoint="CSharp_MediaContentCPIM_getHeaderValue")]
|
||||
public static extern string MediaContentCPIM_getHeaderValue(HandleRef jarg1, string jarg2);
|
||||
|
||||
[DllImport("tinyWRAP", EntryPoint="CSharp_new_SipUri")]
|
||||
public static extern IntPtr new_SipUri(string jarg1);
|
||||
[DllImport("tinyWRAP", EntryPoint="CSharp_new_SipUri__SWIG_0")]
|
||||
public static extern IntPtr new_SipUri__SWIG_0(string jarg1, string jarg2);
|
||||
|
||||
[DllImport("tinyWRAP", EntryPoint="CSharp_new_SipUri__SWIG_1")]
|
||||
public static extern IntPtr new_SipUri__SWIG_1(string jarg1);
|
||||
|
||||
[DllImport("tinyWRAP", EntryPoint="CSharp_delete_SipUri")]
|
||||
public static extern void delete_SipUri(HandleRef jarg1);
|
||||
|
@ -351,6 +350,9 @@ class tinyWRAPPINVOKE {
|
|||
[DllImport("tinyWRAP", EntryPoint="CSharp_SipUri_getParamValue")]
|
||||
public static extern string SipUri_getParamValue(HandleRef jarg1, string jarg2);
|
||||
|
||||
[DllImport("tinyWRAP", EntryPoint="CSharp_SipUri_setDisplayName")]
|
||||
public static extern void SipUri_setDisplayName(HandleRef jarg1, string jarg2);
|
||||
|
||||
[DllImport("tinyWRAP", EntryPoint="CSharp_new_SdpMessage")]
|
||||
public static extern IntPtr new_SdpMessage();
|
||||
|
||||
|
@ -513,11 +515,17 @@ class tinyWRAPPINVOKE {
|
|||
[DllImport("tinyWRAP", EntryPoint="CSharp_SipSession_setExpires")]
|
||||
public static extern bool SipSession_setExpires(HandleRef jarg1, uint jarg2);
|
||||
|
||||
[DllImport("tinyWRAP", EntryPoint="CSharp_SipSession_setFromUri")]
|
||||
public static extern bool SipSession_setFromUri(HandleRef jarg1, string jarg2);
|
||||
[DllImport("tinyWRAP", EntryPoint="CSharp_SipSession_setFromUri__SWIG_0")]
|
||||
public static extern bool SipSession_setFromUri__SWIG_0(HandleRef jarg1, string jarg2);
|
||||
|
||||
[DllImport("tinyWRAP", EntryPoint="CSharp_SipSession_setToUri")]
|
||||
public static extern bool SipSession_setToUri(HandleRef jarg1, string jarg2);
|
||||
[DllImport("tinyWRAP", EntryPoint="CSharp_SipSession_setFromUri__SWIG_1")]
|
||||
public static extern bool SipSession_setFromUri__SWIG_1(HandleRef jarg1, HandleRef jarg2);
|
||||
|
||||
[DllImport("tinyWRAP", EntryPoint="CSharp_SipSession_setToUri__SWIG_0")]
|
||||
public static extern bool SipSession_setToUri__SWIG_0(HandleRef jarg1, string jarg2);
|
||||
|
||||
[DllImport("tinyWRAP", EntryPoint="CSharp_SipSession_setToUri__SWIG_1")]
|
||||
public static extern bool SipSession_setToUri__SWIG_1(HandleRef jarg1, HandleRef jarg2);
|
||||
|
||||
[DllImport("tinyWRAP", EntryPoint="CSharp_SipSession_setSilentHangup")]
|
||||
public static extern bool SipSession_setSilentHangup(HandleRef jarg1, bool jarg2);
|
||||
|
@ -570,18 +578,36 @@ class tinyWRAPPINVOKE {
|
|||
[DllImport("tinyWRAP", EntryPoint="CSharp_CallSession_callAudio__SWIG_1")]
|
||||
public static extern bool CallSession_callAudio__SWIG_1(HandleRef jarg1, string jarg2);
|
||||
|
||||
[DllImport("tinyWRAP", EntryPoint="CSharp_CallSession_callAudio__SWIG_2")]
|
||||
public static extern bool CallSession_callAudio__SWIG_2(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3);
|
||||
|
||||
[DllImport("tinyWRAP", EntryPoint="CSharp_CallSession_callAudio__SWIG_3")]
|
||||
public static extern bool CallSession_callAudio__SWIG_3(HandleRef jarg1, HandleRef jarg2);
|
||||
|
||||
[DllImport("tinyWRAP", EntryPoint="CSharp_CallSession_callAudioVideo__SWIG_0")]
|
||||
public static extern bool CallSession_callAudioVideo__SWIG_0(HandleRef jarg1, string jarg2, HandleRef jarg3);
|
||||
|
||||
[DllImport("tinyWRAP", EntryPoint="CSharp_CallSession_callAudioVideo__SWIG_1")]
|
||||
public static extern bool CallSession_callAudioVideo__SWIG_1(HandleRef jarg1, string jarg2);
|
||||
|
||||
[DllImport("tinyWRAP", EntryPoint="CSharp_CallSession_callAudioVideo__SWIG_2")]
|
||||
public static extern bool CallSession_callAudioVideo__SWIG_2(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3);
|
||||
|
||||
[DllImport("tinyWRAP", EntryPoint="CSharp_CallSession_callAudioVideo__SWIG_3")]
|
||||
public static extern bool CallSession_callAudioVideo__SWIG_3(HandleRef jarg1, HandleRef jarg2);
|
||||
|
||||
[DllImport("tinyWRAP", EntryPoint="CSharp_CallSession_callVideo__SWIG_0")]
|
||||
public static extern bool CallSession_callVideo__SWIG_0(HandleRef jarg1, string jarg2, HandleRef jarg3);
|
||||
|
||||
[DllImport("tinyWRAP", EntryPoint="CSharp_CallSession_callVideo__SWIG_1")]
|
||||
public static extern bool CallSession_callVideo__SWIG_1(HandleRef jarg1, string jarg2);
|
||||
|
||||
[DllImport("tinyWRAP", EntryPoint="CSharp_CallSession_callVideo__SWIG_2")]
|
||||
public static extern bool CallSession_callVideo__SWIG_2(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3);
|
||||
|
||||
[DllImport("tinyWRAP", EntryPoint="CSharp_CallSession_callVideo__SWIG_3")]
|
||||
public static extern bool CallSession_callVideo__SWIG_3(HandleRef jarg1, HandleRef jarg2);
|
||||
|
||||
[DllImport("tinyWRAP", EntryPoint="CSharp_CallSession_setSessionTimer")]
|
||||
public static extern bool CallSession_setSessionTimer(HandleRef jarg1, uint jarg2, string jarg3);
|
||||
|
||||
|
@ -621,6 +647,12 @@ class tinyWRAPPINVOKE {
|
|||
[DllImport("tinyWRAP", EntryPoint="CSharp_MsrpSession_callMsrp__SWIG_1")]
|
||||
public static extern bool MsrpSession_callMsrp__SWIG_1(HandleRef jarg1, string jarg2);
|
||||
|
||||
[DllImport("tinyWRAP", EntryPoint="CSharp_MsrpSession_callMsrp__SWIG_2")]
|
||||
public static extern bool MsrpSession_callMsrp__SWIG_2(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3);
|
||||
|
||||
[DllImport("tinyWRAP", EntryPoint="CSharp_MsrpSession_callMsrp__SWIG_3")]
|
||||
public static extern bool MsrpSession_callMsrp__SWIG_3(HandleRef jarg1, HandleRef jarg2);
|
||||
|
||||
[DllImport("tinyWRAP", EntryPoint="CSharp_MsrpSession_sendMessage__SWIG_0")]
|
||||
public static extern bool MsrpSession_sendMessage__SWIG_0(HandleRef jarg1, byte[] jarg2, uint jarg3, HandleRef jarg4);
|
||||
|
||||
|
@ -1563,71 +1595,71 @@ class tinyWRAPPINVOKE {
|
|||
[DllImport("tinyWRAP", EntryPoint="CSharp_MsrpCallback_director_connect")]
|
||||
public static extern void MsrpCallback_director_connect(HandleRef jarg1, MsrpCallback.SwigDelegateMsrpCallback_0 delegate0);
|
||||
|
||||
[DllImport("tinyWRAP", EntryPoint="CSharp_MediaContentCPIM_SWIGUpcast")]
|
||||
public static extern IntPtr MediaContentCPIM_SWIGUpcast(IntPtr jarg1);
|
||||
[DllImport("tinyWRAP", EntryPoint="CSharp_MediaContentCPIMUpcast")]
|
||||
public static extern IntPtr MediaContentCPIMUpcast(IntPtr objectRef);
|
||||
|
||||
[DllImport("tinyWRAP", EntryPoint="CSharp_DialogEvent_SWIGUpcast")]
|
||||
public static extern IntPtr DialogEvent_SWIGUpcast(IntPtr jarg1);
|
||||
[DllImport("tinyWRAP", EntryPoint="CSharp_DialogEventUpcast")]
|
||||
public static extern IntPtr DialogEventUpcast(IntPtr objectRef);
|
||||
|
||||
[DllImport("tinyWRAP", EntryPoint="CSharp_StackEvent_SWIGUpcast")]
|
||||
public static extern IntPtr StackEvent_SWIGUpcast(IntPtr jarg1);
|
||||
[DllImport("tinyWRAP", EntryPoint="CSharp_StackEventUpcast")]
|
||||
public static extern IntPtr StackEventUpcast(IntPtr objectRef);
|
||||
|
||||
[DllImport("tinyWRAP", EntryPoint="CSharp_InviteEvent_SWIGUpcast")]
|
||||
public static extern IntPtr InviteEvent_SWIGUpcast(IntPtr jarg1);
|
||||
[DllImport("tinyWRAP", EntryPoint="CSharp_InviteEventUpcast")]
|
||||
public static extern IntPtr InviteEventUpcast(IntPtr objectRef);
|
||||
|
||||
[DllImport("tinyWRAP", EntryPoint="CSharp_MessagingEvent_SWIGUpcast")]
|
||||
public static extern IntPtr MessagingEvent_SWIGUpcast(IntPtr jarg1);
|
||||
[DllImport("tinyWRAP", EntryPoint="CSharp_MessagingEventUpcast")]
|
||||
public static extern IntPtr MessagingEventUpcast(IntPtr objectRef);
|
||||
|
||||
[DllImport("tinyWRAP", EntryPoint="CSharp_OptionsEvent_SWIGUpcast")]
|
||||
public static extern IntPtr OptionsEvent_SWIGUpcast(IntPtr jarg1);
|
||||
[DllImport("tinyWRAP", EntryPoint="CSharp_OptionsEventUpcast")]
|
||||
public static extern IntPtr OptionsEventUpcast(IntPtr objectRef);
|
||||
|
||||
[DllImport("tinyWRAP", EntryPoint="CSharp_PublicationEvent_SWIGUpcast")]
|
||||
public static extern IntPtr PublicationEvent_SWIGUpcast(IntPtr jarg1);
|
||||
[DllImport("tinyWRAP", EntryPoint="CSharp_PublicationEventUpcast")]
|
||||
public static extern IntPtr PublicationEventUpcast(IntPtr objectRef);
|
||||
|
||||
[DllImport("tinyWRAP", EntryPoint="CSharp_RegistrationEvent_SWIGUpcast")]
|
||||
public static extern IntPtr RegistrationEvent_SWIGUpcast(IntPtr jarg1);
|
||||
[DllImport("tinyWRAP", EntryPoint="CSharp_RegistrationEventUpcast")]
|
||||
public static extern IntPtr RegistrationEventUpcast(IntPtr objectRef);
|
||||
|
||||
[DllImport("tinyWRAP", EntryPoint="CSharp_SubscriptionEvent_SWIGUpcast")]
|
||||
public static extern IntPtr SubscriptionEvent_SWIGUpcast(IntPtr jarg1);
|
||||
[DllImport("tinyWRAP", EntryPoint="CSharp_SubscriptionEventUpcast")]
|
||||
public static extern IntPtr SubscriptionEventUpcast(IntPtr objectRef);
|
||||
|
||||
[DllImport("tinyWRAP", EntryPoint="CSharp_InviteSession_SWIGUpcast")]
|
||||
public static extern IntPtr InviteSession_SWIGUpcast(IntPtr jarg1);
|
||||
[DllImport("tinyWRAP", EntryPoint="CSharp_InviteSessionUpcast")]
|
||||
public static extern IntPtr InviteSessionUpcast(IntPtr objectRef);
|
||||
|
||||
[DllImport("tinyWRAP", EntryPoint="CSharp_CallSession_SWIGUpcast")]
|
||||
public static extern IntPtr CallSession_SWIGUpcast(IntPtr jarg1);
|
||||
[DllImport("tinyWRAP", EntryPoint="CSharp_CallSessionUpcast")]
|
||||
public static extern IntPtr CallSessionUpcast(IntPtr objectRef);
|
||||
|
||||
[DllImport("tinyWRAP", EntryPoint="CSharp_MsrpSession_SWIGUpcast")]
|
||||
public static extern IntPtr MsrpSession_SWIGUpcast(IntPtr jarg1);
|
||||
[DllImport("tinyWRAP", EntryPoint="CSharp_MsrpSessionUpcast")]
|
||||
public static extern IntPtr MsrpSessionUpcast(IntPtr objectRef);
|
||||
|
||||
[DllImport("tinyWRAP", EntryPoint="CSharp_MessagingSession_SWIGUpcast")]
|
||||
public static extern IntPtr MessagingSession_SWIGUpcast(IntPtr jarg1);
|
||||
[DllImport("tinyWRAP", EntryPoint="CSharp_MessagingSessionUpcast")]
|
||||
public static extern IntPtr MessagingSessionUpcast(IntPtr objectRef);
|
||||
|
||||
[DllImport("tinyWRAP", EntryPoint="CSharp_OptionsSession_SWIGUpcast")]
|
||||
public static extern IntPtr OptionsSession_SWIGUpcast(IntPtr jarg1);
|
||||
[DllImport("tinyWRAP", EntryPoint="CSharp_OptionsSessionUpcast")]
|
||||
public static extern IntPtr OptionsSessionUpcast(IntPtr objectRef);
|
||||
|
||||
[DllImport("tinyWRAP", EntryPoint="CSharp_PublicationSession_SWIGUpcast")]
|
||||
public static extern IntPtr PublicationSession_SWIGUpcast(IntPtr jarg1);
|
||||
[DllImport("tinyWRAP", EntryPoint="CSharp_PublicationSessionUpcast")]
|
||||
public static extern IntPtr PublicationSessionUpcast(IntPtr objectRef);
|
||||
|
||||
[DllImport("tinyWRAP", EntryPoint="CSharp_RegistrationSession_SWIGUpcast")]
|
||||
public static extern IntPtr RegistrationSession_SWIGUpcast(IntPtr jarg1);
|
||||
[DllImport("tinyWRAP", EntryPoint="CSharp_RegistrationSessionUpcast")]
|
||||
public static extern IntPtr RegistrationSessionUpcast(IntPtr objectRef);
|
||||
|
||||
[DllImport("tinyWRAP", EntryPoint="CSharp_SubscriptionSession_SWIGUpcast")]
|
||||
public static extern IntPtr SubscriptionSession_SWIGUpcast(IntPtr jarg1);
|
||||
[DllImport("tinyWRAP", EntryPoint="CSharp_SubscriptionSessionUpcast")]
|
||||
public static extern IntPtr SubscriptionSessionUpcast(IntPtr objectRef);
|
||||
|
||||
[DllImport("tinyWRAP", EntryPoint="CSharp_ProxyAudioConsumer_SWIGUpcast")]
|
||||
public static extern IntPtr ProxyAudioConsumer_SWIGUpcast(IntPtr jarg1);
|
||||
[DllImport("tinyWRAP", EntryPoint="CSharp_ProxyAudioConsumerUpcast")]
|
||||
public static extern IntPtr ProxyAudioConsumerUpcast(IntPtr objectRef);
|
||||
|
||||
[DllImport("tinyWRAP", EntryPoint="CSharp_ProxyVideoConsumer_SWIGUpcast")]
|
||||
public static extern IntPtr ProxyVideoConsumer_SWIGUpcast(IntPtr jarg1);
|
||||
[DllImport("tinyWRAP", EntryPoint="CSharp_ProxyVideoConsumerUpcast")]
|
||||
public static extern IntPtr ProxyVideoConsumerUpcast(IntPtr objectRef);
|
||||
|
||||
[DllImport("tinyWRAP", EntryPoint="CSharp_ProxyAudioProducer_SWIGUpcast")]
|
||||
public static extern IntPtr ProxyAudioProducer_SWIGUpcast(IntPtr jarg1);
|
||||
[DllImport("tinyWRAP", EntryPoint="CSharp_ProxyAudioProducerUpcast")]
|
||||
public static extern IntPtr ProxyAudioProducerUpcast(IntPtr objectRef);
|
||||
|
||||
[DllImport("tinyWRAP", EntryPoint="CSharp_ProxyVideoProducer_SWIGUpcast")]
|
||||
public static extern IntPtr ProxyVideoProducer_SWIGUpcast(IntPtr jarg1);
|
||||
[DllImport("tinyWRAP", EntryPoint="CSharp_ProxyVideoProducerUpcast")]
|
||||
public static extern IntPtr ProxyVideoProducerUpcast(IntPtr objectRef);
|
||||
|
||||
[DllImport("tinyWRAP", EntryPoint="CSharp_SipStack_SWIGUpcast")]
|
||||
public static extern IntPtr SipStack_SWIGUpcast(IntPtr jarg1);
|
||||
[DllImport("tinyWRAP", EntryPoint="CSharp_SipStackUpcast")]
|
||||
public static extern IntPtr SipStackUpcast(IntPtr objectRef);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* This file is not intended to be easily readable and contains a number of
|
||||
* coding conventions designed to improve portability and efficiency. Do not make
|
||||
|
@ -35,114 +35,114 @@ template <typename T> T SwigValueInit() {
|
|||
}
|
||||
#endif
|
||||
|
||||
/* -----------------------------------------------------------------------------
|
||||
* This section contains generic SWIG labels for method/variable
|
||||
* declarations/attributes, and other compiler dependent labels.
|
||||
* ----------------------------------------------------------------------------- */
|
||||
|
||||
/* template workaround for compilers that cannot correctly implement the C++ standard */
|
||||
#ifndef SWIGTEMPLATEDISAMBIGUATOR
|
||||
# if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
|
||||
# define SWIGTEMPLATEDISAMBIGUATOR template
|
||||
# elif defined(__HP_aCC)
|
||||
/* Needed even with `aCC -AA' when `aCC -V' reports HP ANSI C++ B3910B A.03.55 */
|
||||
/* If we find a maximum version that requires this, the test would be __HP_aCC <= 35500 for A.03.55 */
|
||||
# define SWIGTEMPLATEDISAMBIGUATOR template
|
||||
# else
|
||||
# define SWIGTEMPLATEDISAMBIGUATOR
|
||||
# endif
|
||||
#endif
|
||||
|
||||
/* inline attribute */
|
||||
#ifndef SWIGINLINE
|
||||
# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
|
||||
# define SWIGINLINE inline
|
||||
# else
|
||||
# define SWIGINLINE
|
||||
# endif
|
||||
#endif
|
||||
|
||||
/* attribute recognised by some compilers to avoid 'unused' warnings */
|
||||
#ifndef SWIGUNUSED
|
||||
# if defined(__GNUC__)
|
||||
# if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
|
||||
# define SWIGUNUSED __attribute__ ((__unused__))
|
||||
# else
|
||||
# define SWIGUNUSED
|
||||
# endif
|
||||
# elif defined(__ICC)
|
||||
# define SWIGUNUSED __attribute__ ((__unused__))
|
||||
# else
|
||||
# define SWIGUNUSED
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#ifndef SWIG_MSC_UNSUPPRESS_4505
|
||||
# if defined(_MSC_VER)
|
||||
# pragma warning(disable : 4505) /* unreferenced local function has been removed */
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#ifndef SWIGUNUSEDPARM
|
||||
# ifdef __cplusplus
|
||||
# define SWIGUNUSEDPARM(p)
|
||||
# else
|
||||
# define SWIGUNUSEDPARM(p) p SWIGUNUSED
|
||||
# endif
|
||||
#endif
|
||||
|
||||
/* internal SWIG method */
|
||||
#ifndef SWIGINTERN
|
||||
# define SWIGINTERN static SWIGUNUSED
|
||||
#endif
|
||||
|
||||
/* internal inline SWIG method */
|
||||
#ifndef SWIGINTERNINLINE
|
||||
# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
|
||||
#endif
|
||||
|
||||
/* exporting methods */
|
||||
#if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
|
||||
# ifndef GCC_HASCLASSVISIBILITY
|
||||
# define GCC_HASCLASSVISIBILITY
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#ifndef SWIGEXPORT
|
||||
# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
|
||||
# if defined(STATIC_LINKED)
|
||||
# define SWIGEXPORT
|
||||
# else
|
||||
# define SWIGEXPORT __declspec(dllexport)
|
||||
# endif
|
||||
# else
|
||||
# if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
|
||||
# define SWIGEXPORT __attribute__ ((visibility("default")))
|
||||
# else
|
||||
# define SWIGEXPORT
|
||||
# endif
|
||||
# endif
|
||||
#endif
|
||||
|
||||
/* calling conventions for Windows */
|
||||
#ifndef SWIGSTDCALL
|
||||
# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
|
||||
# define SWIGSTDCALL __stdcall
|
||||
# else
|
||||
# define SWIGSTDCALL
|
||||
# endif
|
||||
#endif
|
||||
|
||||
/* Deal with Microsoft's attempt at deprecating C standard runtime functions */
|
||||
#if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
|
||||
# define _CRT_SECURE_NO_DEPRECATE
|
||||
#endif
|
||||
|
||||
/* Deal with Microsoft's attempt at deprecating methods in the standard C++ library */
|
||||
#if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE)
|
||||
# define _SCL_SECURE_NO_DEPRECATE
|
||||
#endif
|
||||
|
||||
/* -----------------------------------------------------------------------------
|
||||
* This section contains generic SWIG labels for method/variable
|
||||
* declarations/attributes, and other compiler dependent labels.
|
||||
* ----------------------------------------------------------------------------- */
|
||||
|
||||
/* template workaround for compilers that cannot correctly implement the C++ standard */
|
||||
#ifndef SWIGTEMPLATEDISAMBIGUATOR
|
||||
# if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
|
||||
# define SWIGTEMPLATEDISAMBIGUATOR template
|
||||
# elif defined(__HP_aCC)
|
||||
/* Needed even with `aCC -AA' when `aCC -V' reports HP ANSI C++ B3910B A.03.55 */
|
||||
/* If we find a maximum version that requires this, the test would be __HP_aCC <= 35500 for A.03.55 */
|
||||
# define SWIGTEMPLATEDISAMBIGUATOR template
|
||||
# else
|
||||
# define SWIGTEMPLATEDISAMBIGUATOR
|
||||
# endif
|
||||
#endif
|
||||
|
||||
/* inline attribute */
|
||||
#ifndef SWIGINLINE
|
||||
# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
|
||||
# define SWIGINLINE inline
|
||||
# else
|
||||
# define SWIGINLINE
|
||||
# endif
|
||||
#endif
|
||||
|
||||
/* attribute recognised by some compilers to avoid 'unused' warnings */
|
||||
#ifndef SWIGUNUSED
|
||||
# if defined(__GNUC__)
|
||||
# if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
|
||||
# define SWIGUNUSED __attribute__ ((__unused__))
|
||||
# else
|
||||
# define SWIGUNUSED
|
||||
# endif
|
||||
# elif defined(__ICC)
|
||||
# define SWIGUNUSED __attribute__ ((__unused__))
|
||||
# else
|
||||
# define SWIGUNUSED
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#ifndef SWIG_MSC_UNSUPPRESS_4505
|
||||
# if defined(_MSC_VER)
|
||||
# pragma warning(disable : 4505) /* unreferenced local function has been removed */
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#ifndef SWIGUNUSEDPARM
|
||||
# ifdef __cplusplus
|
||||
# define SWIGUNUSEDPARM(p)
|
||||
# else
|
||||
# define SWIGUNUSEDPARM(p) p SWIGUNUSED
|
||||
# endif
|
||||
#endif
|
||||
|
||||
/* internal SWIG method */
|
||||
#ifndef SWIGINTERN
|
||||
# define SWIGINTERN static SWIGUNUSED
|
||||
#endif
|
||||
|
||||
/* internal inline SWIG method */
|
||||
#ifndef SWIGINTERNINLINE
|
||||
# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
|
||||
#endif
|
||||
|
||||
/* exporting methods */
|
||||
#if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
|
||||
# ifndef GCC_HASCLASSVISIBILITY
|
||||
# define GCC_HASCLASSVISIBILITY
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#ifndef SWIGEXPORT
|
||||
# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
|
||||
# if defined(STATIC_LINKED)
|
||||
# define SWIGEXPORT
|
||||
# else
|
||||
# define SWIGEXPORT __declspec(dllexport)
|
||||
# endif
|
||||
# else
|
||||
# if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
|
||||
# define SWIGEXPORT __attribute__ ((visibility("default")))
|
||||
# else
|
||||
# define SWIGEXPORT
|
||||
# endif
|
||||
# endif
|
||||
#endif
|
||||
|
||||
/* calling conventions for Windows */
|
||||
#ifndef SWIGSTDCALL
|
||||
# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
|
||||
# define SWIGSTDCALL __stdcall
|
||||
# else
|
||||
# define SWIGSTDCALL
|
||||
# endif
|
||||
#endif
|
||||
|
||||
/* Deal with Microsoft's attempt at deprecating C standard runtime functions */
|
||||
#if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
|
||||
# define _CRT_SECURE_NO_DEPRECATE
|
||||
#endif
|
||||
|
||||
/* Deal with Microsoft's attempt at deprecating methods in the standard C++ library */
|
||||
#if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE)
|
||||
# define _SCL_SECURE_NO_DEPRECATE
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
#include <stdlib.h>
|
||||
|
@ -202,7 +202,7 @@ static SWIG_CSharpException_t SWIG_csharp_exceptions[] = {
|
|||
static SWIG_CSharpExceptionArgument_t SWIG_csharp_exceptions_argument[] = {
|
||||
{ SWIG_CSharpArgumentException, NULL },
|
||||
{ SWIG_CSharpArgumentNullException, NULL },
|
||||
{ SWIG_CSharpArgumentOutOfRangeException, NULL }
|
||||
{ SWIG_CSharpArgumentOutOfRangeException, NULL },
|
||||
};
|
||||
|
||||
static void SWIGUNUSED SWIG_CSharpSetPendingException(SWIG_CSharpExceptionCodes code, const char *msg) {
|
||||
|
@ -280,53 +280,56 @@ SWIGEXPORT void SWIGSTDCALL SWIGRegisterStringCallback_tinyWRAP(SWIG_CSharpStrin
|
|||
|
||||
#define SWIG_contract_assert(nullreturn, expr, msg) if (!(expr)) {SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, msg, ""); return nullreturn; } else
|
||||
|
||||
/* -----------------------------------------------------------------------------
|
||||
* director.swg
|
||||
*
|
||||
* This file contains support for director classes so that C# proxy
|
||||
* methods can be called from C++.
|
||||
* ----------------------------------------------------------------------------- */
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
#if defined(DEBUG_DIRECTOR_OWNED)
|
||||
#include <iostream>
|
||||
#endif
|
||||
#include <string>
|
||||
|
||||
namespace Swig {
|
||||
/* Director base class - not currently used in C# directors */
|
||||
class Director {
|
||||
};
|
||||
|
||||
/* Base class for director exceptions */
|
||||
class DirectorException {
|
||||
protected:
|
||||
std::string swig_msg;
|
||||
|
||||
public:
|
||||
DirectorException(const char* msg) : swig_msg(msg) {
|
||||
}
|
||||
DirectorException(const std::string &msg) : swig_msg(msg) {
|
||||
}
|
||||
const std::string& what() const {
|
||||
return swig_msg;
|
||||
}
|
||||
virtual ~DirectorException() {
|
||||
}
|
||||
};
|
||||
|
||||
/* Pure virtual method exception */
|
||||
class DirectorPureVirtualException : public Swig::DirectorException {
|
||||
public:
|
||||
DirectorPureVirtualException(const char* msg) : DirectorException(std::string("Attempt to invoke pure virtual method ") + msg) {
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
#endif /* __cplusplus */
|
||||
|
||||
|
||||
/* -----------------------------------------------------------------------------
|
||||
* See the LICENSE file for information on copyright, usage and redistribution
|
||||
* of SWIG, and the README file for authors - http://www.swig.org/release.html.
|
||||
*
|
||||
* director.swg
|
||||
*
|
||||
* This file contains support for director classes so that C# proxy
|
||||
* methods can be called from C++.
|
||||
* ----------------------------------------------------------------------------- */
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
#if defined(DEBUG_DIRECTOR_OWNED)
|
||||
#include <iostream>
|
||||
#endif
|
||||
#include <string>
|
||||
|
||||
namespace Swig {
|
||||
/* Director base class - not currently used in C# directors */
|
||||
class Director {
|
||||
};
|
||||
|
||||
/* Base class for director exceptions */
|
||||
class DirectorException {
|
||||
protected:
|
||||
std::string swig_msg;
|
||||
|
||||
public:
|
||||
DirectorException(const char* msg) : swig_msg(msg) {
|
||||
}
|
||||
DirectorException(const std::string &msg) : swig_msg(msg) {
|
||||
}
|
||||
const std::string& what() const {
|
||||
return swig_msg;
|
||||
}
|
||||
virtual ~DirectorException() {
|
||||
}
|
||||
};
|
||||
|
||||
/* Pure virtual method exception */
|
||||
class DirectorPureVirtualException : public Swig::DirectorException {
|
||||
public:
|
||||
DirectorPureVirtualException(const char* msg) : DirectorException(std::string("Attempt to invoke pure virtual method ") + msg) {
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
#endif /* __cplusplus */
|
||||
|
||||
|
||||
|
||||
#include <stdint.h> // Use the C99 official header
|
||||
|
||||
|
@ -1675,7 +1678,21 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_MediaContentCPIM_getHeaderValue(void * jarg
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT void * SWIGSTDCALL CSharp_new_SipUri(char * jarg1) {
|
||||
SWIGEXPORT void * SWIGSTDCALL CSharp_new_SipUri__SWIG_0(char * jarg1, char * jarg2) {
|
||||
void * jresult ;
|
||||
char *arg1 = (char *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
SipUri *result = 0 ;
|
||||
|
||||
arg1 = (char *)jarg1;
|
||||
arg2 = (char *)jarg2;
|
||||
result = (SipUri *)new SipUri((char const *)arg1,(char const *)arg2);
|
||||
jresult = (void *)result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void * SWIGSTDCALL CSharp_new_SipUri__SWIG_1(char * jarg1) {
|
||||
void * jresult ;
|
||||
char *arg1 = (char *) 0 ;
|
||||
SipUri *result = 0 ;
|
||||
|
@ -1805,6 +1822,16 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SipUri_getParamValue(void * jarg1, char * j
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_SipUri_setDisplayName(void * jarg1, char * jarg2) {
|
||||
SipUri *arg1 = (SipUri *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
|
||||
arg1 = (SipUri *)jarg1;
|
||||
arg2 = (char *)jarg2;
|
||||
(arg1)->setDisplayName((char const *)arg2);
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void * SWIGSTDCALL CSharp_new_SdpMessage() {
|
||||
void * jresult ;
|
||||
SdpMessage *result = 0 ;
|
||||
|
@ -2458,7 +2485,7 @@ SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipSession_setExpires(void * jarg1, u
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipSession_setFromUri(void * jarg1, char * jarg2) {
|
||||
SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipSession_setFromUri__SWIG_0(void * jarg1, char * jarg2) {
|
||||
unsigned int jresult ;
|
||||
SipSession *arg1 = (SipSession *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
|
@ -2472,7 +2499,21 @@ SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipSession_setFromUri(void * jarg1, c
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipSession_setToUri(void * jarg1, char * jarg2) {
|
||||
SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipSession_setFromUri__SWIG_1(void * jarg1, void * jarg2) {
|
||||
unsigned int jresult ;
|
||||
SipSession *arg1 = (SipSession *) 0 ;
|
||||
SipUri *arg2 = (SipUri *) 0 ;
|
||||
bool result;
|
||||
|
||||
arg1 = (SipSession *)jarg1;
|
||||
arg2 = (SipUri *)jarg2;
|
||||
result = (bool)(arg1)->setFromUri((SipUri const *)arg2);
|
||||
jresult = result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipSession_setToUri__SWIG_0(void * jarg1, char * jarg2) {
|
||||
unsigned int jresult ;
|
||||
SipSession *arg1 = (SipSession *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
|
@ -2486,6 +2527,20 @@ SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipSession_setToUri(void * jarg1, cha
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipSession_setToUri__SWIG_1(void * jarg1, void * jarg2) {
|
||||
unsigned int jresult ;
|
||||
SipSession *arg1 = (SipSession *) 0 ;
|
||||
SipUri *arg2 = (SipUri *) 0 ;
|
||||
bool result;
|
||||
|
||||
arg1 = (SipSession *)jarg1;
|
||||
arg2 = (SipUri *)jarg2;
|
||||
result = (bool)(arg1)->setToUri((SipUri const *)arg2);
|
||||
jresult = result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipSession_setSilentHangup(void * jarg1, unsigned int jarg2) {
|
||||
unsigned int jresult ;
|
||||
SipSession *arg1 = (SipSession *) 0 ;
|
||||
|
@ -2698,6 +2753,36 @@ SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CallSession_callAudio__SWIG_1(void *
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CallSession_callAudio__SWIG_2(void * jarg1, void * jarg2, void * jarg3) {
|
||||
unsigned int jresult ;
|
||||
CallSession *arg1 = (CallSession *) 0 ;
|
||||
SipUri *arg2 = (SipUri *) 0 ;
|
||||
ActionConfig *arg3 = (ActionConfig *) 0 ;
|
||||
bool result;
|
||||
|
||||
arg1 = (CallSession *)jarg1;
|
||||
arg2 = (SipUri *)jarg2;
|
||||
arg3 = (ActionConfig *)jarg3;
|
||||
result = (bool)(arg1)->callAudio((SipUri const *)arg2,arg3);
|
||||
jresult = result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CallSession_callAudio__SWIG_3(void * jarg1, void * jarg2) {
|
||||
unsigned int jresult ;
|
||||
CallSession *arg1 = (CallSession *) 0 ;
|
||||
SipUri *arg2 = (SipUri *) 0 ;
|
||||
bool result;
|
||||
|
||||
arg1 = (CallSession *)jarg1;
|
||||
arg2 = (SipUri *)jarg2;
|
||||
result = (bool)(arg1)->callAudio((SipUri const *)arg2);
|
||||
jresult = result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CallSession_callAudioVideo__SWIG_0(void * jarg1, char * jarg2, void * jarg3) {
|
||||
unsigned int jresult ;
|
||||
CallSession *arg1 = (CallSession *) 0 ;
|
||||
|
@ -2728,6 +2813,36 @@ SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CallSession_callAudioVideo__SWIG_1(vo
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CallSession_callAudioVideo__SWIG_2(void * jarg1, void * jarg2, void * jarg3) {
|
||||
unsigned int jresult ;
|
||||
CallSession *arg1 = (CallSession *) 0 ;
|
||||
SipUri *arg2 = (SipUri *) 0 ;
|
||||
ActionConfig *arg3 = (ActionConfig *) 0 ;
|
||||
bool result;
|
||||
|
||||
arg1 = (CallSession *)jarg1;
|
||||
arg2 = (SipUri *)jarg2;
|
||||
arg3 = (ActionConfig *)jarg3;
|
||||
result = (bool)(arg1)->callAudioVideo((SipUri const *)arg2,arg3);
|
||||
jresult = result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CallSession_callAudioVideo__SWIG_3(void * jarg1, void * jarg2) {
|
||||
unsigned int jresult ;
|
||||
CallSession *arg1 = (CallSession *) 0 ;
|
||||
SipUri *arg2 = (SipUri *) 0 ;
|
||||
bool result;
|
||||
|
||||
arg1 = (CallSession *)jarg1;
|
||||
arg2 = (SipUri *)jarg2;
|
||||
result = (bool)(arg1)->callAudioVideo((SipUri const *)arg2);
|
||||
jresult = result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CallSession_callVideo__SWIG_0(void * jarg1, char * jarg2, void * jarg3) {
|
||||
unsigned int jresult ;
|
||||
CallSession *arg1 = (CallSession *) 0 ;
|
||||
|
@ -2758,6 +2873,36 @@ SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CallSession_callVideo__SWIG_1(void *
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CallSession_callVideo__SWIG_2(void * jarg1, void * jarg2, void * jarg3) {
|
||||
unsigned int jresult ;
|
||||
CallSession *arg1 = (CallSession *) 0 ;
|
||||
SipUri *arg2 = (SipUri *) 0 ;
|
||||
ActionConfig *arg3 = (ActionConfig *) 0 ;
|
||||
bool result;
|
||||
|
||||
arg1 = (CallSession *)jarg1;
|
||||
arg2 = (SipUri *)jarg2;
|
||||
arg3 = (ActionConfig *)jarg3;
|
||||
result = (bool)(arg1)->callVideo((SipUri const *)arg2,arg3);
|
||||
jresult = result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CallSession_callVideo__SWIG_3(void * jarg1, void * jarg2) {
|
||||
unsigned int jresult ;
|
||||
CallSession *arg1 = (CallSession *) 0 ;
|
||||
SipUri *arg2 = (SipUri *) 0 ;
|
||||
bool result;
|
||||
|
||||
arg1 = (CallSession *)jarg1;
|
||||
arg2 = (SipUri *)jarg2;
|
||||
result = (bool)(arg1)->callVideo((SipUri const *)arg2);
|
||||
jresult = result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CallSession_setSessionTimer(void * jarg1, unsigned int jarg2, char * jarg3) {
|
||||
unsigned int jresult ;
|
||||
CallSession *arg1 = (CallSession *) 0 ;
|
||||
|
@ -2936,6 +3081,36 @@ SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MsrpSession_callMsrp__SWIG_1(void * j
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MsrpSession_callMsrp__SWIG_2(void * jarg1, void * jarg2, void * jarg3) {
|
||||
unsigned int jresult ;
|
||||
MsrpSession *arg1 = (MsrpSession *) 0 ;
|
||||
SipUri *arg2 = (SipUri *) 0 ;
|
||||
ActionConfig *arg3 = (ActionConfig *) 0 ;
|
||||
bool result;
|
||||
|
||||
arg1 = (MsrpSession *)jarg1;
|
||||
arg2 = (SipUri *)jarg2;
|
||||
arg3 = (ActionConfig *)jarg3;
|
||||
result = (bool)(arg1)->callMsrp((SipUri const *)arg2,arg3);
|
||||
jresult = result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MsrpSession_callMsrp__SWIG_3(void * jarg1, void * jarg2) {
|
||||
unsigned int jresult ;
|
||||
MsrpSession *arg1 = (MsrpSession *) 0 ;
|
||||
SipUri *arg2 = (SipUri *) 0 ;
|
||||
bool result;
|
||||
|
||||
arg1 = (MsrpSession *)jarg1;
|
||||
arg2 = (SipUri *)jarg2;
|
||||
result = (bool)(arg1)->callMsrp((SipUri const *)arg2);
|
||||
jresult = result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MsrpSession_sendMessage__SWIG_0(void * jarg1, void * jarg2, unsigned int jarg3, void * jarg4) {
|
||||
unsigned int jresult ;
|
||||
MsrpSession *arg1 = (MsrpSession *) 0 ;
|
||||
|
@ -5643,7 +5818,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_tsip_event_code_dialog_transport_error_get() {
|
|||
int jresult ;
|
||||
int result;
|
||||
|
||||
result = (int)(702);
|
||||
result = (int) 702;
|
||||
jresult = result;
|
||||
return jresult;
|
||||
}
|
||||
|
@ -5653,7 +5828,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_tsip_event_code_dialog_global_error_get() {
|
|||
int jresult ;
|
||||
int result;
|
||||
|
||||
result = (int)(703);
|
||||
result = (int) 703;
|
||||
jresult = result;
|
||||
return jresult;
|
||||
}
|
||||
|
@ -5663,7 +5838,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_tsip_event_code_dialog_message_error_get() {
|
|||
int jresult ;
|
||||
int result;
|
||||
|
||||
result = (int)(704);
|
||||
result = (int) 704;
|
||||
jresult = result;
|
||||
return jresult;
|
||||
}
|
||||
|
@ -5673,7 +5848,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_tsip_event_code_dialog_request_incoming_get()
|
|||
int jresult ;
|
||||
int result;
|
||||
|
||||
result = (int)(800);
|
||||
result = (int) 800;
|
||||
jresult = result;
|
||||
return jresult;
|
||||
}
|
||||
|
@ -5683,7 +5858,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_tsip_event_code_dialog_request_cancelled_get()
|
|||
int jresult ;
|
||||
int result;
|
||||
|
||||
result = (int)(801);
|
||||
result = (int) 801;
|
||||
jresult = result;
|
||||
return jresult;
|
||||
}
|
||||
|
@ -5693,7 +5868,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_tsip_event_code_dialog_request_sent_get() {
|
|||
int jresult ;
|
||||
int result;
|
||||
|
||||
result = (int)(802);
|
||||
result = (int) 802;
|
||||
jresult = result;
|
||||
return jresult;
|
||||
}
|
||||
|
@ -5703,7 +5878,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_tsip_event_code_dialog_connecting_get() {
|
|||
int jresult ;
|
||||
int result;
|
||||
|
||||
result = (int)(900);
|
||||
result = (int) 900;
|
||||
jresult = result;
|
||||
return jresult;
|
||||
}
|
||||
|
@ -5713,7 +5888,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_tsip_event_code_dialog_connected_get() {
|
|||
int jresult ;
|
||||
int result;
|
||||
|
||||
result = (int)(901);
|
||||
result = (int) 901;
|
||||
jresult = result;
|
||||
return jresult;
|
||||
}
|
||||
|
@ -5723,7 +5898,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_tsip_event_code_dialog_terminating_get() {
|
|||
int jresult ;
|
||||
int result;
|
||||
|
||||
result = (int)(902);
|
||||
result = (int) 902;
|
||||
jresult = result;
|
||||
return jresult;
|
||||
}
|
||||
|
@ -5733,7 +5908,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_tsip_event_code_dialog_terminated_get() {
|
|||
int jresult ;
|
||||
int result;
|
||||
|
||||
result = (int)(903);
|
||||
result = (int) 903;
|
||||
jresult = result;
|
||||
return jresult;
|
||||
}
|
||||
|
@ -5743,7 +5918,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_tsip_event_code_stack_started_get() {
|
|||
int jresult ;
|
||||
int result;
|
||||
|
||||
result = (int)(950);
|
||||
result = (int) 950;
|
||||
jresult = result;
|
||||
return jresult;
|
||||
}
|
||||
|
@ -5753,7 +5928,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_tsip_event_code_stack_stopped_get() {
|
|||
int jresult ;
|
||||
int result;
|
||||
|
||||
result = (int)(951);
|
||||
result = (int) 951;
|
||||
jresult = result;
|
||||
return jresult;
|
||||
}
|
||||
|
@ -5763,7 +5938,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_tsip_event_code_stack_failed_to_start_get() {
|
|||
int jresult ;
|
||||
int result;
|
||||
|
||||
result = (int)(952);
|
||||
result = (int) 952;
|
||||
jresult = result;
|
||||
return jresult;
|
||||
}
|
||||
|
@ -5773,7 +5948,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_tsip_event_code_stack_failed_to_stop_get() {
|
|||
int jresult ;
|
||||
int result;
|
||||
|
||||
result = (int)(953);
|
||||
result = (int) 953;
|
||||
jresult = result;
|
||||
return jresult;
|
||||
}
|
||||
|
@ -6968,92 +7143,92 @@ SWIGEXPORT void SWIGSTDCALL CSharp_MsrpCallback_director_connect(void *objarg, S
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT MediaContent * SWIGSTDCALL CSharp_MediaContentCPIM_SWIGUpcast(MediaContentCPIM *jarg1) {
|
||||
return (MediaContent *)jarg1;
|
||||
SWIGEXPORT MediaContent * SWIGSTDCALL CSharp_MediaContentCPIMUpcast(MediaContentCPIM *objectRef) {
|
||||
return (MediaContent *)objectRef;
|
||||
}
|
||||
|
||||
SWIGEXPORT SipEvent * SWIGSTDCALL CSharp_DialogEvent_SWIGUpcast(DialogEvent *jarg1) {
|
||||
return (SipEvent *)jarg1;
|
||||
SWIGEXPORT SipEvent * SWIGSTDCALL CSharp_DialogEventUpcast(DialogEvent *objectRef) {
|
||||
return (SipEvent *)objectRef;
|
||||
}
|
||||
|
||||
SWIGEXPORT SipEvent * SWIGSTDCALL CSharp_StackEvent_SWIGUpcast(StackEvent *jarg1) {
|
||||
return (SipEvent *)jarg1;
|
||||
SWIGEXPORT SipEvent * SWIGSTDCALL CSharp_StackEventUpcast(StackEvent *objectRef) {
|
||||
return (SipEvent *)objectRef;
|
||||
}
|
||||
|
||||
SWIGEXPORT SipEvent * SWIGSTDCALL CSharp_InviteEvent_SWIGUpcast(InviteEvent *jarg1) {
|
||||
return (SipEvent *)jarg1;
|
||||
SWIGEXPORT SipEvent * SWIGSTDCALL CSharp_InviteEventUpcast(InviteEvent *objectRef) {
|
||||
return (SipEvent *)objectRef;
|
||||
}
|
||||
|
||||
SWIGEXPORT SipEvent * SWIGSTDCALL CSharp_MessagingEvent_SWIGUpcast(MessagingEvent *jarg1) {
|
||||
return (SipEvent *)jarg1;
|
||||
SWIGEXPORT SipEvent * SWIGSTDCALL CSharp_MessagingEventUpcast(MessagingEvent *objectRef) {
|
||||
return (SipEvent *)objectRef;
|
||||
}
|
||||
|
||||
SWIGEXPORT SipEvent * SWIGSTDCALL CSharp_OptionsEvent_SWIGUpcast(OptionsEvent *jarg1) {
|
||||
return (SipEvent *)jarg1;
|
||||
SWIGEXPORT SipEvent * SWIGSTDCALL CSharp_OptionsEventUpcast(OptionsEvent *objectRef) {
|
||||
return (SipEvent *)objectRef;
|
||||
}
|
||||
|
||||
SWIGEXPORT SipEvent * SWIGSTDCALL CSharp_PublicationEvent_SWIGUpcast(PublicationEvent *jarg1) {
|
||||
return (SipEvent *)jarg1;
|
||||
SWIGEXPORT SipEvent * SWIGSTDCALL CSharp_PublicationEventUpcast(PublicationEvent *objectRef) {
|
||||
return (SipEvent *)objectRef;
|
||||
}
|
||||
|
||||
SWIGEXPORT SipEvent * SWIGSTDCALL CSharp_RegistrationEvent_SWIGUpcast(RegistrationEvent *jarg1) {
|
||||
return (SipEvent *)jarg1;
|
||||
SWIGEXPORT SipEvent * SWIGSTDCALL CSharp_RegistrationEventUpcast(RegistrationEvent *objectRef) {
|
||||
return (SipEvent *)objectRef;
|
||||
}
|
||||
|
||||
SWIGEXPORT SipEvent * SWIGSTDCALL CSharp_SubscriptionEvent_SWIGUpcast(SubscriptionEvent *jarg1) {
|
||||
return (SipEvent *)jarg1;
|
||||
SWIGEXPORT SipEvent * SWIGSTDCALL CSharp_SubscriptionEventUpcast(SubscriptionEvent *objectRef) {
|
||||
return (SipEvent *)objectRef;
|
||||
}
|
||||
|
||||
SWIGEXPORT SipSession * SWIGSTDCALL CSharp_InviteSession_SWIGUpcast(InviteSession *jarg1) {
|
||||
return (SipSession *)jarg1;
|
||||
SWIGEXPORT SipSession * SWIGSTDCALL CSharp_InviteSessionUpcast(InviteSession *objectRef) {
|
||||
return (SipSession *)objectRef;
|
||||
}
|
||||
|
||||
SWIGEXPORT InviteSession * SWIGSTDCALL CSharp_CallSession_SWIGUpcast(CallSession *jarg1) {
|
||||
return (InviteSession *)jarg1;
|
||||
SWIGEXPORT InviteSession * SWIGSTDCALL CSharp_CallSessionUpcast(CallSession *objectRef) {
|
||||
return (InviteSession *)objectRef;
|
||||
}
|
||||
|
||||
SWIGEXPORT InviteSession * SWIGSTDCALL CSharp_MsrpSession_SWIGUpcast(MsrpSession *jarg1) {
|
||||
return (InviteSession *)jarg1;
|
||||
SWIGEXPORT InviteSession * SWIGSTDCALL CSharp_MsrpSessionUpcast(MsrpSession *objectRef) {
|
||||
return (InviteSession *)objectRef;
|
||||
}
|
||||
|
||||
SWIGEXPORT SipSession * SWIGSTDCALL CSharp_MessagingSession_SWIGUpcast(MessagingSession *jarg1) {
|
||||
return (SipSession *)jarg1;
|
||||
SWIGEXPORT SipSession * SWIGSTDCALL CSharp_MessagingSessionUpcast(MessagingSession *objectRef) {
|
||||
return (SipSession *)objectRef;
|
||||
}
|
||||
|
||||
SWIGEXPORT SipSession * SWIGSTDCALL CSharp_OptionsSession_SWIGUpcast(OptionsSession *jarg1) {
|
||||
return (SipSession *)jarg1;
|
||||
SWIGEXPORT SipSession * SWIGSTDCALL CSharp_OptionsSessionUpcast(OptionsSession *objectRef) {
|
||||
return (SipSession *)objectRef;
|
||||
}
|
||||
|
||||
SWIGEXPORT SipSession * SWIGSTDCALL CSharp_PublicationSession_SWIGUpcast(PublicationSession *jarg1) {
|
||||
return (SipSession *)jarg1;
|
||||
SWIGEXPORT SipSession * SWIGSTDCALL CSharp_PublicationSessionUpcast(PublicationSession *objectRef) {
|
||||
return (SipSession *)objectRef;
|
||||
}
|
||||
|
||||
SWIGEXPORT SipSession * SWIGSTDCALL CSharp_RegistrationSession_SWIGUpcast(RegistrationSession *jarg1) {
|
||||
return (SipSession *)jarg1;
|
||||
SWIGEXPORT SipSession * SWIGSTDCALL CSharp_RegistrationSessionUpcast(RegistrationSession *objectRef) {
|
||||
return (SipSession *)objectRef;
|
||||
}
|
||||
|
||||
SWIGEXPORT SipSession * SWIGSTDCALL CSharp_SubscriptionSession_SWIGUpcast(SubscriptionSession *jarg1) {
|
||||
return (SipSession *)jarg1;
|
||||
SWIGEXPORT SipSession * SWIGSTDCALL CSharp_SubscriptionSessionUpcast(SubscriptionSession *objectRef) {
|
||||
return (SipSession *)objectRef;
|
||||
}
|
||||
|
||||
SWIGEXPORT ProxyPlugin * SWIGSTDCALL CSharp_ProxyAudioConsumer_SWIGUpcast(ProxyAudioConsumer *jarg1) {
|
||||
return (ProxyPlugin *)jarg1;
|
||||
SWIGEXPORT ProxyPlugin * SWIGSTDCALL CSharp_ProxyAudioConsumerUpcast(ProxyAudioConsumer *objectRef) {
|
||||
return (ProxyPlugin *)objectRef;
|
||||
}
|
||||
|
||||
SWIGEXPORT ProxyPlugin * SWIGSTDCALL CSharp_ProxyVideoConsumer_SWIGUpcast(ProxyVideoConsumer *jarg1) {
|
||||
return (ProxyPlugin *)jarg1;
|
||||
SWIGEXPORT ProxyPlugin * SWIGSTDCALL CSharp_ProxyVideoConsumerUpcast(ProxyVideoConsumer *objectRef) {
|
||||
return (ProxyPlugin *)objectRef;
|
||||
}
|
||||
|
||||
SWIGEXPORT ProxyPlugin * SWIGSTDCALL CSharp_ProxyAudioProducer_SWIGUpcast(ProxyAudioProducer *jarg1) {
|
||||
return (ProxyPlugin *)jarg1;
|
||||
SWIGEXPORT ProxyPlugin * SWIGSTDCALL CSharp_ProxyAudioProducerUpcast(ProxyAudioProducer *objectRef) {
|
||||
return (ProxyPlugin *)objectRef;
|
||||
}
|
||||
|
||||
SWIGEXPORT ProxyPlugin * SWIGSTDCALL CSharp_ProxyVideoProducer_SWIGUpcast(ProxyVideoProducer *jarg1) {
|
||||
return (ProxyPlugin *)jarg1;
|
||||
SWIGEXPORT ProxyPlugin * SWIGSTDCALL CSharp_ProxyVideoProducerUpcast(ProxyVideoProducer *objectRef) {
|
||||
return (ProxyPlugin *)objectRef;
|
||||
}
|
||||
|
||||
SWIGEXPORT SafeObject * SWIGSTDCALL CSharp_SipStack_SWIGUpcast(SipStack *jarg1) {
|
||||
return (SafeObject *)jarg1;
|
||||
SWIGEXPORT SafeObject * SWIGSTDCALL CSharp_SipStackUpcast(SipStack *objectRef) {
|
||||
return (SafeObject *)objectRef;
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* This file is not intended to be easily readable and contains a number of
|
||||
* coding conventions designed to improve portability and efficiency. Do not make
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
@ -12,12 +12,12 @@ public class ActionConfig {
|
|||
private long swigCPtr;
|
||||
protected boolean swigCMemOwn;
|
||||
|
||||
public ActionConfig(long cPtr, boolean cMemoryOwn) {
|
||||
protected ActionConfig(long cPtr, boolean cMemoryOwn) {
|
||||
swigCMemOwn = cMemoryOwn;
|
||||
swigCPtr = cPtr;
|
||||
}
|
||||
|
||||
public static long getCPtr(ActionConfig obj) {
|
||||
protected static long getCPtr(ActionConfig obj) {
|
||||
return (obj == null) ? 0 : obj.swigCPtr;
|
||||
}
|
||||
|
||||
|
@ -26,13 +26,11 @@ public class ActionConfig {
|
|||
}
|
||||
|
||||
public synchronized void delete() {
|
||||
if (swigCPtr != 0) {
|
||||
if (swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPJNI.delete_ActionConfig(swigCPtr);
|
||||
}
|
||||
swigCPtr = 0;
|
||||
if(swigCPtr != 0 && swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPJNI.delete_ActionConfig(swigCPtr);
|
||||
}
|
||||
swigCPtr = 0;
|
||||
}
|
||||
|
||||
public ActionConfig() {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
@ -12,12 +12,12 @@ public class AudioResampler {
|
|||
private long swigCPtr;
|
||||
protected boolean swigCMemOwn;
|
||||
|
||||
public AudioResampler(long cPtr, boolean cMemoryOwn) {
|
||||
protected AudioResampler(long cPtr, boolean cMemoryOwn) {
|
||||
swigCMemOwn = cMemoryOwn;
|
||||
swigCPtr = cPtr;
|
||||
}
|
||||
|
||||
public static long getCPtr(AudioResampler obj) {
|
||||
protected static long getCPtr(AudioResampler obj) {
|
||||
return (obj == null) ? 0 : obj.swigCPtr;
|
||||
}
|
||||
|
||||
|
@ -26,13 +26,11 @@ public class AudioResampler {
|
|||
}
|
||||
|
||||
public synchronized void delete() {
|
||||
if (swigCPtr != 0) {
|
||||
if (swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPJNI.delete_AudioResampler(swigCPtr);
|
||||
}
|
||||
swigCPtr = 0;
|
||||
if(swigCPtr != 0 && swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPJNI.delete_AudioResampler(swigCPtr);
|
||||
}
|
||||
swigCPtr = 0;
|
||||
}
|
||||
|
||||
public AudioResampler(long nInFreq, long nOutFreq, long nFrameDuration, long nChannels, long nQuality) {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
@ -11,12 +11,12 @@ package org.doubango.tinyWRAP;
|
|||
public class CallSession extends InviteSession {
|
||||
private long swigCPtr;
|
||||
|
||||
public CallSession(long cPtr, boolean cMemoryOwn) {
|
||||
super(tinyWRAPJNI.CallSession_SWIGUpcast(cPtr), cMemoryOwn);
|
||||
protected CallSession(long cPtr, boolean cMemoryOwn) {
|
||||
super(tinyWRAPJNI.SWIGCallSessionUpcast(cPtr), cMemoryOwn);
|
||||
swigCPtr = cPtr;
|
||||
}
|
||||
|
||||
public static long getCPtr(CallSession obj) {
|
||||
protected static long getCPtr(CallSession obj) {
|
||||
return (obj == null) ? 0 : obj.swigCPtr;
|
||||
}
|
||||
|
||||
|
@ -25,42 +25,64 @@ public class CallSession extends InviteSession {
|
|||
}
|
||||
|
||||
public synchronized void delete() {
|
||||
if (swigCPtr != 0) {
|
||||
if (swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPJNI.delete_CallSession(swigCPtr);
|
||||
}
|
||||
swigCPtr = 0;
|
||||
if(swigCPtr != 0 && swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPJNI.delete_CallSession(swigCPtr);
|
||||
}
|
||||
swigCPtr = 0;
|
||||
super.delete();
|
||||
}
|
||||
|
||||
public CallSession(SipStack Stack) {
|
||||
this(tinyWRAPJNI.new_CallSession(SipStack.getCPtr(Stack), Stack), true);
|
||||
public CallSession(SipStack pStack) {
|
||||
this(tinyWRAPJNI.new_CallSession(SipStack.getCPtr(pStack), pStack), true);
|
||||
}
|
||||
|
||||
public boolean callAudio(String remoteUri, ActionConfig config) {
|
||||
return tinyWRAPJNI.CallSession_callAudio__SWIG_0(swigCPtr, this, remoteUri, ActionConfig.getCPtr(config), config);
|
||||
public boolean callAudio(String remoteUriString, ActionConfig config) {
|
||||
return tinyWRAPJNI.CallSession_callAudio__SWIG_0(swigCPtr, this, remoteUriString, ActionConfig.getCPtr(config), config);
|
||||
}
|
||||
|
||||
public boolean callAudio(String remoteUri) {
|
||||
return tinyWRAPJNI.CallSession_callAudio__SWIG_1(swigCPtr, this, remoteUri);
|
||||
public boolean callAudio(String remoteUriString) {
|
||||
return tinyWRAPJNI.CallSession_callAudio__SWIG_1(swigCPtr, this, remoteUriString);
|
||||
}
|
||||
|
||||
public boolean callAudioVideo(String remoteUri, ActionConfig config) {
|
||||
return tinyWRAPJNI.CallSession_callAudioVideo__SWIG_0(swigCPtr, this, remoteUri, ActionConfig.getCPtr(config), config);
|
||||
public boolean callAudio(SipUri remoteUri, ActionConfig config) {
|
||||
return tinyWRAPJNI.CallSession_callAudio__SWIG_2(swigCPtr, this, SipUri.getCPtr(remoteUri), remoteUri, ActionConfig.getCPtr(config), config);
|
||||
}
|
||||
|
||||
public boolean callAudioVideo(String remoteUri) {
|
||||
return tinyWRAPJNI.CallSession_callAudioVideo__SWIG_1(swigCPtr, this, remoteUri);
|
||||
public boolean callAudio(SipUri remoteUri) {
|
||||
return tinyWRAPJNI.CallSession_callAudio__SWIG_3(swigCPtr, this, SipUri.getCPtr(remoteUri), remoteUri);
|
||||
}
|
||||
|
||||
public boolean callVideo(String remoteUri, ActionConfig config) {
|
||||
return tinyWRAPJNI.CallSession_callVideo__SWIG_0(swigCPtr, this, remoteUri, ActionConfig.getCPtr(config), config);
|
||||
public boolean callAudioVideo(String remoteUriString, ActionConfig config) {
|
||||
return tinyWRAPJNI.CallSession_callAudioVideo__SWIG_0(swigCPtr, this, remoteUriString, ActionConfig.getCPtr(config), config);
|
||||
}
|
||||
|
||||
public boolean callVideo(String remoteUri) {
|
||||
return tinyWRAPJNI.CallSession_callVideo__SWIG_1(swigCPtr, this, remoteUri);
|
||||
public boolean callAudioVideo(String remoteUriString) {
|
||||
return tinyWRAPJNI.CallSession_callAudioVideo__SWIG_1(swigCPtr, this, remoteUriString);
|
||||
}
|
||||
|
||||
public boolean callAudioVideo(SipUri remoteUri, ActionConfig config) {
|
||||
return tinyWRAPJNI.CallSession_callAudioVideo__SWIG_2(swigCPtr, this, SipUri.getCPtr(remoteUri), remoteUri, ActionConfig.getCPtr(config), config);
|
||||
}
|
||||
|
||||
public boolean callAudioVideo(SipUri remoteUri) {
|
||||
return tinyWRAPJNI.CallSession_callAudioVideo__SWIG_3(swigCPtr, this, SipUri.getCPtr(remoteUri), remoteUri);
|
||||
}
|
||||
|
||||
public boolean callVideo(String remoteUriString, ActionConfig config) {
|
||||
return tinyWRAPJNI.CallSession_callVideo__SWIG_0(swigCPtr, this, remoteUriString, ActionConfig.getCPtr(config), config);
|
||||
}
|
||||
|
||||
public boolean callVideo(String remoteUriString) {
|
||||
return tinyWRAPJNI.CallSession_callVideo__SWIG_1(swigCPtr, this, remoteUriString);
|
||||
}
|
||||
|
||||
public boolean callVideo(SipUri remoteUri, ActionConfig config) {
|
||||
return tinyWRAPJNI.CallSession_callVideo__SWIG_2(swigCPtr, this, SipUri.getCPtr(remoteUri), remoteUri, ActionConfig.getCPtr(config), config);
|
||||
}
|
||||
|
||||
public boolean callVideo(SipUri remoteUri) {
|
||||
return tinyWRAPJNI.CallSession_callVideo__SWIG_3(swigCPtr, this, SipUri.getCPtr(remoteUri), remoteUri);
|
||||
}
|
||||
|
||||
public boolean setSessionTimer(long timeout, String refresher) {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
@ -12,12 +12,12 @@ public class DDebugCallback {
|
|||
private long swigCPtr;
|
||||
protected boolean swigCMemOwn;
|
||||
|
||||
public DDebugCallback(long cPtr, boolean cMemoryOwn) {
|
||||
protected DDebugCallback(long cPtr, boolean cMemoryOwn) {
|
||||
swigCMemOwn = cMemoryOwn;
|
||||
swigCPtr = cPtr;
|
||||
}
|
||||
|
||||
public static long getCPtr(DDebugCallback obj) {
|
||||
protected static long getCPtr(DDebugCallback obj) {
|
||||
return (obj == null) ? 0 : obj.swigCPtr;
|
||||
}
|
||||
|
||||
|
@ -26,13 +26,11 @@ public class DDebugCallback {
|
|||
}
|
||||
|
||||
public synchronized void delete() {
|
||||
if (swigCPtr != 0) {
|
||||
if (swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPJNI.delete_DDebugCallback(swigCPtr);
|
||||
}
|
||||
swigCPtr = 0;
|
||||
if(swigCPtr != 0 && swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPJNI.delete_DDebugCallback(swigCPtr);
|
||||
}
|
||||
swigCPtr = 0;
|
||||
}
|
||||
|
||||
protected void swigDirectorDisconnect() {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
@ -11,12 +11,12 @@ package org.doubango.tinyWRAP;
|
|||
public class DialogEvent extends SipEvent {
|
||||
private long swigCPtr;
|
||||
|
||||
public DialogEvent(long cPtr, boolean cMemoryOwn) {
|
||||
super(tinyWRAPJNI.DialogEvent_SWIGUpcast(cPtr), cMemoryOwn);
|
||||
protected DialogEvent(long cPtr, boolean cMemoryOwn) {
|
||||
super(tinyWRAPJNI.SWIGDialogEventUpcast(cPtr), cMemoryOwn);
|
||||
swigCPtr = cPtr;
|
||||
}
|
||||
|
||||
public static long getCPtr(DialogEvent obj) {
|
||||
protected static long getCPtr(DialogEvent obj) {
|
||||
return (obj == null) ? 0 : obj.swigCPtr;
|
||||
}
|
||||
|
||||
|
@ -25,13 +25,11 @@ public class DialogEvent extends SipEvent {
|
|||
}
|
||||
|
||||
public synchronized void delete() {
|
||||
if (swigCPtr != 0) {
|
||||
if (swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPJNI.delete_DialogEvent(swigCPtr);
|
||||
}
|
||||
swigCPtr = 0;
|
||||
if(swigCPtr != 0 && swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPJNI.delete_DialogEvent(swigCPtr);
|
||||
}
|
||||
swigCPtr = 0;
|
||||
super.delete();
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
@ -11,12 +11,12 @@ package org.doubango.tinyWRAP;
|
|||
public class InviteEvent extends SipEvent {
|
||||
private long swigCPtr;
|
||||
|
||||
public InviteEvent(long cPtr, boolean cMemoryOwn) {
|
||||
super(tinyWRAPJNI.InviteEvent_SWIGUpcast(cPtr), cMemoryOwn);
|
||||
protected InviteEvent(long cPtr, boolean cMemoryOwn) {
|
||||
super(tinyWRAPJNI.SWIGInviteEventUpcast(cPtr), cMemoryOwn);
|
||||
swigCPtr = cPtr;
|
||||
}
|
||||
|
||||
public static long getCPtr(InviteEvent obj) {
|
||||
protected static long getCPtr(InviteEvent obj) {
|
||||
return (obj == null) ? 0 : obj.swigCPtr;
|
||||
}
|
||||
|
||||
|
@ -25,13 +25,11 @@ public class InviteEvent extends SipEvent {
|
|||
}
|
||||
|
||||
public synchronized void delete() {
|
||||
if (swigCPtr != 0) {
|
||||
if (swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPJNI.delete_InviteEvent(swigCPtr);
|
||||
}
|
||||
swigCPtr = 0;
|
||||
if(swigCPtr != 0 && swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPJNI.delete_InviteEvent(swigCPtr);
|
||||
}
|
||||
swigCPtr = 0;
|
||||
super.delete();
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
@ -11,12 +11,12 @@ package org.doubango.tinyWRAP;
|
|||
public class InviteSession extends SipSession {
|
||||
private long swigCPtr;
|
||||
|
||||
public InviteSession(long cPtr, boolean cMemoryOwn) {
|
||||
super(tinyWRAPJNI.InviteSession_SWIGUpcast(cPtr), cMemoryOwn);
|
||||
protected InviteSession(long cPtr, boolean cMemoryOwn) {
|
||||
super(tinyWRAPJNI.SWIGInviteSessionUpcast(cPtr), cMemoryOwn);
|
||||
swigCPtr = cPtr;
|
||||
}
|
||||
|
||||
public static long getCPtr(InviteSession obj) {
|
||||
protected static long getCPtr(InviteSession obj) {
|
||||
return (obj == null) ? 0 : obj.swigCPtr;
|
||||
}
|
||||
|
||||
|
@ -25,13 +25,11 @@ public class InviteSession extends SipSession {
|
|||
}
|
||||
|
||||
public synchronized void delete() {
|
||||
if (swigCPtr != 0) {
|
||||
if (swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPJNI.delete_InviteSession(swigCPtr);
|
||||
}
|
||||
swigCPtr = 0;
|
||||
if(swigCPtr != 0 && swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPJNI.delete_InviteSession(swigCPtr);
|
||||
}
|
||||
swigCPtr = 0;
|
||||
super.delete();
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
@ -12,12 +12,12 @@ public class MediaContent {
|
|||
private long swigCPtr;
|
||||
protected boolean swigCMemOwn;
|
||||
|
||||
public MediaContent(long cPtr, boolean cMemoryOwn) {
|
||||
protected MediaContent(long cPtr, boolean cMemoryOwn) {
|
||||
swigCMemOwn = cMemoryOwn;
|
||||
swigCPtr = cPtr;
|
||||
}
|
||||
|
||||
public static long getCPtr(MediaContent obj) {
|
||||
protected static long getCPtr(MediaContent obj) {
|
||||
return (obj == null) ? 0 : obj.swigCPtr;
|
||||
}
|
||||
|
||||
|
@ -26,13 +26,11 @@ public class MediaContent {
|
|||
}
|
||||
|
||||
public synchronized void delete() {
|
||||
if (swigCPtr != 0) {
|
||||
if (swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPJNI.delete_MediaContent(swigCPtr);
|
||||
}
|
||||
swigCPtr = 0;
|
||||
if(swigCPtr != 0 && swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPJNI.delete_MediaContent(swigCPtr);
|
||||
}
|
||||
swigCPtr = 0;
|
||||
}
|
||||
|
||||
public String getType() {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
@ -11,12 +11,12 @@ package org.doubango.tinyWRAP;
|
|||
public class MediaContentCPIM extends MediaContent {
|
||||
private long swigCPtr;
|
||||
|
||||
public MediaContentCPIM(long cPtr, boolean cMemoryOwn) {
|
||||
super(tinyWRAPJNI.MediaContentCPIM_SWIGUpcast(cPtr), cMemoryOwn);
|
||||
protected MediaContentCPIM(long cPtr, boolean cMemoryOwn) {
|
||||
super(tinyWRAPJNI.SWIGMediaContentCPIMUpcast(cPtr), cMemoryOwn);
|
||||
swigCPtr = cPtr;
|
||||
}
|
||||
|
||||
public static long getCPtr(MediaContentCPIM obj) {
|
||||
protected static long getCPtr(MediaContentCPIM obj) {
|
||||
return (obj == null) ? 0 : obj.swigCPtr;
|
||||
}
|
||||
|
||||
|
@ -25,13 +25,11 @@ public class MediaContentCPIM extends MediaContent {
|
|||
}
|
||||
|
||||
public synchronized void delete() {
|
||||
if (swigCPtr != 0) {
|
||||
if (swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPJNI.delete_MediaContentCPIM(swigCPtr);
|
||||
}
|
||||
swigCPtr = 0;
|
||||
if(swigCPtr != 0 && swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPJNI.delete_MediaContentCPIM(swigCPtr);
|
||||
}
|
||||
swigCPtr = 0;
|
||||
super.delete();
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
@ -12,12 +12,12 @@ public class MediaSessionMgr {
|
|||
private long swigCPtr;
|
||||
protected boolean swigCMemOwn;
|
||||
|
||||
public MediaSessionMgr(long cPtr, boolean cMemoryOwn) {
|
||||
protected MediaSessionMgr(long cPtr, boolean cMemoryOwn) {
|
||||
swigCMemOwn = cMemoryOwn;
|
||||
swigCPtr = cPtr;
|
||||
}
|
||||
|
||||
public static long getCPtr(MediaSessionMgr obj) {
|
||||
protected static long getCPtr(MediaSessionMgr obj) {
|
||||
return (obj == null) ? 0 : obj.swigCPtr;
|
||||
}
|
||||
|
||||
|
@ -26,13 +26,11 @@ public class MediaSessionMgr {
|
|||
}
|
||||
|
||||
public synchronized void delete() {
|
||||
if (swigCPtr != 0) {
|
||||
if (swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPJNI.delete_MediaSessionMgr(swigCPtr);
|
||||
}
|
||||
swigCPtr = 0;
|
||||
if(swigCPtr != 0 && swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPJNI.delete_MediaSessionMgr(swigCPtr);
|
||||
}
|
||||
swigCPtr = 0;
|
||||
}
|
||||
|
||||
public boolean sessionSetInt32(twrap_media_type_t media, String key, int value) {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
@ -11,12 +11,12 @@ package org.doubango.tinyWRAP;
|
|||
public class MessagingEvent extends SipEvent {
|
||||
private long swigCPtr;
|
||||
|
||||
public MessagingEvent(long cPtr, boolean cMemoryOwn) {
|
||||
super(tinyWRAPJNI.MessagingEvent_SWIGUpcast(cPtr), cMemoryOwn);
|
||||
protected MessagingEvent(long cPtr, boolean cMemoryOwn) {
|
||||
super(tinyWRAPJNI.SWIGMessagingEventUpcast(cPtr), cMemoryOwn);
|
||||
swigCPtr = cPtr;
|
||||
}
|
||||
|
||||
public static long getCPtr(MessagingEvent obj) {
|
||||
protected static long getCPtr(MessagingEvent obj) {
|
||||
return (obj == null) ? 0 : obj.swigCPtr;
|
||||
}
|
||||
|
||||
|
@ -25,13 +25,11 @@ public class MessagingEvent extends SipEvent {
|
|||
}
|
||||
|
||||
public synchronized void delete() {
|
||||
if (swigCPtr != 0) {
|
||||
if (swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPJNI.delete_MessagingEvent(swigCPtr);
|
||||
}
|
||||
swigCPtr = 0;
|
||||
if(swigCPtr != 0 && swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPJNI.delete_MessagingEvent(swigCPtr);
|
||||
}
|
||||
swigCPtr = 0;
|
||||
super.delete();
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
@ -11,12 +11,12 @@ package org.doubango.tinyWRAP;
|
|||
public class MessagingSession extends SipSession {
|
||||
private long swigCPtr;
|
||||
|
||||
public MessagingSession(long cPtr, boolean cMemoryOwn) {
|
||||
super(tinyWRAPJNI.MessagingSession_SWIGUpcast(cPtr), cMemoryOwn);
|
||||
protected MessagingSession(long cPtr, boolean cMemoryOwn) {
|
||||
super(tinyWRAPJNI.SWIGMessagingSessionUpcast(cPtr), cMemoryOwn);
|
||||
swigCPtr = cPtr;
|
||||
}
|
||||
|
||||
public static long getCPtr(MessagingSession obj) {
|
||||
protected static long getCPtr(MessagingSession obj) {
|
||||
return (obj == null) ? 0 : obj.swigCPtr;
|
||||
}
|
||||
|
||||
|
@ -25,18 +25,16 @@ public class MessagingSession extends SipSession {
|
|||
}
|
||||
|
||||
public synchronized void delete() {
|
||||
if (swigCPtr != 0) {
|
||||
if (swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPJNI.delete_MessagingSession(swigCPtr);
|
||||
}
|
||||
swigCPtr = 0;
|
||||
if(swigCPtr != 0 && swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPJNI.delete_MessagingSession(swigCPtr);
|
||||
}
|
||||
swigCPtr = 0;
|
||||
super.delete();
|
||||
}
|
||||
|
||||
public MessagingSession(SipStack Stack) {
|
||||
this(tinyWRAPJNI.new_MessagingSession(SipStack.getCPtr(Stack), Stack), true);
|
||||
public MessagingSession(SipStack pStack) {
|
||||
this(tinyWRAPJNI.new_MessagingSession(SipStack.getCPtr(pStack), pStack), true);
|
||||
}
|
||||
|
||||
public boolean send(java.nio.ByteBuffer payload, long len, ActionConfig config) {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
@ -12,12 +12,12 @@ public class MsrpCallback {
|
|||
private long swigCPtr;
|
||||
protected boolean swigCMemOwn;
|
||||
|
||||
public MsrpCallback(long cPtr, boolean cMemoryOwn) {
|
||||
protected MsrpCallback(long cPtr, boolean cMemoryOwn) {
|
||||
swigCMemOwn = cMemoryOwn;
|
||||
swigCPtr = cPtr;
|
||||
}
|
||||
|
||||
public static long getCPtr(MsrpCallback obj) {
|
||||
protected static long getCPtr(MsrpCallback obj) {
|
||||
return (obj == null) ? 0 : obj.swigCPtr;
|
||||
}
|
||||
|
||||
|
@ -26,13 +26,11 @@ public class MsrpCallback {
|
|||
}
|
||||
|
||||
public synchronized void delete() {
|
||||
if (swigCPtr != 0) {
|
||||
if (swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPJNI.delete_MsrpCallback(swigCPtr);
|
||||
}
|
||||
swigCPtr = 0;
|
||||
if(swigCPtr != 0 && swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPJNI.delete_MsrpCallback(swigCPtr);
|
||||
}
|
||||
swigCPtr = 0;
|
||||
}
|
||||
|
||||
protected void swigDirectorDisconnect() {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
@ -12,12 +12,12 @@ public class MsrpEvent {
|
|||
private long swigCPtr;
|
||||
protected boolean swigCMemOwn;
|
||||
|
||||
public MsrpEvent(long cPtr, boolean cMemoryOwn) {
|
||||
protected MsrpEvent(long cPtr, boolean cMemoryOwn) {
|
||||
swigCMemOwn = cMemoryOwn;
|
||||
swigCPtr = cPtr;
|
||||
}
|
||||
|
||||
public static long getCPtr(MsrpEvent obj) {
|
||||
protected static long getCPtr(MsrpEvent obj) {
|
||||
return (obj == null) ? 0 : obj.swigCPtr;
|
||||
}
|
||||
|
||||
|
@ -26,13 +26,11 @@ public class MsrpEvent {
|
|||
}
|
||||
|
||||
public synchronized void delete() {
|
||||
if (swigCPtr != 0) {
|
||||
if (swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPJNI.delete_MsrpEvent(swigCPtr);
|
||||
}
|
||||
swigCPtr = 0;
|
||||
if(swigCPtr != 0 && swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPJNI.delete_MsrpEvent(swigCPtr);
|
||||
}
|
||||
swigCPtr = 0;
|
||||
}
|
||||
|
||||
public tmsrp_event_type_t getType() {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
@ -12,12 +12,12 @@ public class MsrpMessage {
|
|||
private long swigCPtr;
|
||||
protected boolean swigCMemOwn;
|
||||
|
||||
public MsrpMessage(long cPtr, boolean cMemoryOwn) {
|
||||
protected MsrpMessage(long cPtr, boolean cMemoryOwn) {
|
||||
swigCMemOwn = cMemoryOwn;
|
||||
swigCPtr = cPtr;
|
||||
}
|
||||
|
||||
public static long getCPtr(MsrpMessage obj) {
|
||||
protected static long getCPtr(MsrpMessage obj) {
|
||||
return (obj == null) ? 0 : obj.swigCPtr;
|
||||
}
|
||||
|
||||
|
@ -26,13 +26,11 @@ public class MsrpMessage {
|
|||
}
|
||||
|
||||
public synchronized void delete() {
|
||||
if (swigCPtr != 0) {
|
||||
if (swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPJNI.delete_MsrpMessage(swigCPtr);
|
||||
}
|
||||
swigCPtr = 0;
|
||||
if(swigCPtr != 0 && swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPJNI.delete_MsrpMessage(swigCPtr);
|
||||
}
|
||||
swigCPtr = 0;
|
||||
}
|
||||
|
||||
public MsrpMessage() {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
@ -11,12 +11,12 @@ package org.doubango.tinyWRAP;
|
|||
public class MsrpSession extends InviteSession {
|
||||
private long swigCPtr;
|
||||
|
||||
public MsrpSession(long cPtr, boolean cMemoryOwn) {
|
||||
super(tinyWRAPJNI.MsrpSession_SWIGUpcast(cPtr), cMemoryOwn);
|
||||
protected MsrpSession(long cPtr, boolean cMemoryOwn) {
|
||||
super(tinyWRAPJNI.SWIGMsrpSessionUpcast(cPtr), cMemoryOwn);
|
||||
swigCPtr = cPtr;
|
||||
}
|
||||
|
||||
public static long getCPtr(MsrpSession obj) {
|
||||
protected static long getCPtr(MsrpSession obj) {
|
||||
return (obj == null) ? 0 : obj.swigCPtr;
|
||||
}
|
||||
|
||||
|
@ -25,30 +25,36 @@ public class MsrpSession extends InviteSession {
|
|||
}
|
||||
|
||||
public synchronized void delete() {
|
||||
if (swigCPtr != 0) {
|
||||
if (swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPJNI.delete_MsrpSession(swigCPtr);
|
||||
}
|
||||
swigCPtr = 0;
|
||||
if(swigCPtr != 0 && swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPJNI.delete_MsrpSession(swigCPtr);
|
||||
}
|
||||
swigCPtr = 0;
|
||||
super.delete();
|
||||
}
|
||||
|
||||
public MsrpSession(SipStack Stack, MsrpCallback callback) {
|
||||
this(tinyWRAPJNI.new_MsrpSession(SipStack.getCPtr(Stack), Stack, MsrpCallback.getCPtr(callback), callback), true);
|
||||
public MsrpSession(SipStack pStack, MsrpCallback pCallback) {
|
||||
this(tinyWRAPJNI.new_MsrpSession(SipStack.getCPtr(pStack), pStack, MsrpCallback.getCPtr(pCallback), pCallback), true);
|
||||
}
|
||||
|
||||
public boolean setCallback(MsrpCallback callback) {
|
||||
return tinyWRAPJNI.MsrpSession_setCallback(swigCPtr, this, MsrpCallback.getCPtr(callback), callback);
|
||||
public boolean setCallback(MsrpCallback pCallback) {
|
||||
return tinyWRAPJNI.MsrpSession_setCallback(swigCPtr, this, MsrpCallback.getCPtr(pCallback), pCallback);
|
||||
}
|
||||
|
||||
public boolean callMsrp(String remoteUri, ActionConfig config) {
|
||||
return tinyWRAPJNI.MsrpSession_callMsrp__SWIG_0(swigCPtr, this, remoteUri, ActionConfig.getCPtr(config), config);
|
||||
public boolean callMsrp(String remoteUriString, ActionConfig config) {
|
||||
return tinyWRAPJNI.MsrpSession_callMsrp__SWIG_0(swigCPtr, this, remoteUriString, ActionConfig.getCPtr(config), config);
|
||||
}
|
||||
|
||||
public boolean callMsrp(String remoteUri) {
|
||||
return tinyWRAPJNI.MsrpSession_callMsrp__SWIG_1(swigCPtr, this, remoteUri);
|
||||
public boolean callMsrp(String remoteUriString) {
|
||||
return tinyWRAPJNI.MsrpSession_callMsrp__SWIG_1(swigCPtr, this, remoteUriString);
|
||||
}
|
||||
|
||||
public boolean callMsrp(SipUri remoteUri, ActionConfig config) {
|
||||
return tinyWRAPJNI.MsrpSession_callMsrp__SWIG_2(swigCPtr, this, SipUri.getCPtr(remoteUri), remoteUri, ActionConfig.getCPtr(config), config);
|
||||
}
|
||||
|
||||
public boolean callMsrp(SipUri remoteUri) {
|
||||
return tinyWRAPJNI.MsrpSession_callMsrp__SWIG_3(swigCPtr, this, SipUri.getCPtr(remoteUri), remoteUri);
|
||||
}
|
||||
|
||||
public boolean sendMessage(java.nio.ByteBuffer payload, long len, ActionConfig config) {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.2
|
||||
* Version 1.3.39
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
@ -11,12 +11,12 @@ package org.doubango.tinyWRAP;
|
|||
public class OptionsEvent extends SipEvent {
|
||||
private long swigCPtr;
|
||||
|
||||
public OptionsEvent(long cPtr, boolean cMemoryOwn) {
|
||||
super(tinyWRAPJNI.OptionsEvent_SWIGUpcast(cPtr), cMemoryOwn);
|
||||
protected OptionsEvent(long cPtr, boolean cMemoryOwn) {
|
||||
super(tinyWRAPJNI.SWIGOptionsEventUpcast(cPtr), cMemoryOwn);
|
||||
swigCPtr = cPtr;
|
||||
}
|
||||
|
||||
public static long getCPtr(OptionsEvent obj) {
|
||||
protected static long getCPtr(OptionsEvent obj) {
|
||||
return (obj == null) ? 0 : obj.swigCPtr;
|
||||
}
|
||||
|
||||
|
@ -25,13 +25,11 @@ public class OptionsEvent extends SipEvent {
|
|||
}
|
||||
|
||||
public synchronized void delete() {
|
||||
if (swigCPtr != 0) {
|
||||
if (swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPJNI.delete_OptionsEvent(swigCPtr);
|
||||
}
|
||||
swigCPtr = 0;
|
||||
if(swigCPtr != 0 && swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
tinyWRAPJNI.delete_OptionsEvent(swigCPtr);
|
||||
}
|
||||
swigCPtr = 0;
|
||||
super.delete();
|
||||
}
|
||||
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue