Update bindins.

This commit is contained in:
bossiel 2010-05-25 11:25:44 +00:00
parent 16749d42b5
commit beff8a35e1
67 changed files with 16241 additions and 16207 deletions

View File

@ -26,12 +26,12 @@ SafeObject::SafeObject()
this->mutex = tsk_mutex_create(); this->mutex = tsk_mutex_create();
} }
int SafeObject::Lock() int SafeObject::Lock()const
{ {
return tsk_mutex_lock(this->mutex); return tsk_mutex_lock(this->mutex);
} }
int SafeObject::UnLock() int SafeObject::UnLock()const
{ {
return tsk_mutex_unlock(this->mutex); return tsk_mutex_unlock(this->mutex);
} }

View File

@ -31,8 +31,8 @@ public:
virtual ~SafeObject(); virtual ~SafeObject();
/* protected: */ /* protected: */
int Lock(); int Lock()const;
int UnLock(); int UnLock()const;
private: private:
tsk_mutex_handle_t *mutex; tsk_mutex_handle_t *mutex;

View File

@ -22,11 +22,12 @@
#include "SipSession.h" #include "SipSession.h"
#include "SipStack.h" #include "SipStack.h"
SipSession::SipSession(SipStack* Stack) SipSession::SipSession(SipStack* _stack)
{ {
this->handle = tsip_ssession_create(Stack->getHandle(), this->handle = tsip_ssession_create(_stack->getHandle(),
TSIP_SSESSION_SET_USERDATA(this), TSIP_SSESSION_SET_USERDATA(this),
TSIP_SSESSION_SET_NULL()); TSIP_SSESSION_SET_NULL());
this->stack = _stack;
} }
SipSession::~SipSession() SipSession::~SipSession()
@ -107,3 +108,9 @@ bool SipSession::setPayload(const char* payload, unsigned size)
return false; return false;
} }
const SipStack* SipSession::getStack()const
{
return this->stack;
}

View File

@ -29,7 +29,7 @@ class SipStack;
class SipSession class SipSession
{ {
public: public:
SipSession(SipStack* Stack); SipSession(SipStack* stack);
virtual ~SipSession(); virtual ~SipSession();
public: public:
@ -50,9 +50,14 @@ public:
%apply (const char *str, unsigned len) { (const char *str, unsigned len) }; %apply (const char *str, unsigned len) { (const char *str, unsigned len) };
#endif #endif
bool setPayload(const char *str, unsigned len); bool setPayload(const char *str, unsigned len);
#if !defined(SWIG)
const SipStack* getStack() const;
#endif
protected: protected:
tsip_ssession_handle_t* handle; tsip_ssession_handle_t* handle;
const SipStack* stack;
}; };
#endif /* TINYWRAP_SIPSESSION_H */ #endif /* TINYWRAP_SIPSESSION_H */

View File

@ -61,7 +61,7 @@ SipStack::SipStack(SipCallback* callback_, const char* realm_uri, const char* im
/* Creates stack handle */ /* Creates stack handle */
this->handle = tsip_stack_create(stack_callback, realm_uri, impi_uri, impu_uri, this->handle = tsip_stack_create(stack_callback, realm_uri, impi_uri, impu_uri,
TSIP_STACK_SET_LOCAL_IP(DEFAULT_LOCAL_IP), TSIP_STACK_SET_LOCAL_IP(DEFAULT_LOCAL_IP),
TSIP_STACK_SET_USERDATA(this), /* used as context */ /* TSIP_STACK_SET_USERDATA(this), */ /* used as context */
TSIP_STACK_SET_NULL()); TSIP_STACK_SET_NULL());
SipStack::count++; SipStack::count++;
@ -198,12 +198,12 @@ bool SipStack::stop()
return (ret == 0); return (ret == 0);
} }
tsip_stack_handle_t* SipStack::getHandle() tsip_stack_handle_t* SipStack::getHandle()const
{ {
return this->handle; return this->handle;
} }
SipCallback* SipStack::getCallback() SipCallback* SipStack::getCallback()const
{ {
return this->callback; return this->callback;
} }
@ -216,7 +216,7 @@ SipDebugCallback* SipStack::getDebugCallback() const
int stack_callback(const tsip_event_t *sipevent) int stack_callback(const tsip_event_t *sipevent)
{ {
int ret = 0; int ret = 0;
SipStack* Stack = tsk_null; const SipStack* Stack = tsk_null;
SipEvent* e = tsk_null; SipEvent* e = tsk_null;
if(!sipevent){ /* should never happen ...but who know? */ if(!sipevent){ /* should never happen ...but who know? */
@ -225,7 +225,10 @@ int stack_callback(const tsip_event_t *sipevent)
} }
else{ else{
/* retrive the stack from the context */ /* retrive the stack from the context */
Stack = dyn_cast<SipStack*> ((SipStack*)tsip_stack_get_userdata(sipevent->stack)); const SipSession* session = dyn_cast<const SipSession*>((const SipSession*)tsip_ssession_get_userdata(sipevent->ss));
if(session){
Stack = session->getStack();
}
} }
if(!Stack){ if(!Stack){

View File

@ -55,8 +55,8 @@ public: /* API functions */
public: /* Public helper function */ public: /* Public helper function */
#if !defined(SWIG) #if !defined(SWIG)
tsip_stack_handle_t* getHandle(); tsip_stack_handle_t* getHandle()const;
SipCallback* getCallback(); SipCallback* getCallback()const;
SipDebugCallback* getDebugCallback() const; SipDebugCallback* getDebugCallback() const;
#endif #endif

View File

@ -1,54 +1,54 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 1.3.39
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
* ----------------------------------------------------------------------------- */ * ----------------------------------------------------------------------------- */
using System; using System;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
public class RegistrationEvent : SipEvent { public class RegistrationEvent : SipEvent {
private HandleRef swigCPtr; private HandleRef swigCPtr;
internal RegistrationEvent(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.RegistrationEventUpcast(cPtr), cMemoryOwn) { internal RegistrationEvent(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.RegistrationEventUpcast(cPtr), cMemoryOwn) {
swigCPtr = new HandleRef(this, cPtr); swigCPtr = new HandleRef(this, cPtr);
} }
internal static HandleRef getCPtr(RegistrationEvent obj) { internal static HandleRef getCPtr(RegistrationEvent obj) {
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
} }
~RegistrationEvent() { ~RegistrationEvent() {
Dispose(); Dispose();
} }
public override void Dispose() { public override void Dispose() {
lock(this) { lock(this) {
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) { if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
swigCMemOwn = false; swigCMemOwn = false;
tinyWRAPPINVOKE.delete_RegistrationEvent(swigCPtr); tinyWRAPPINVOKE.delete_RegistrationEvent(swigCPtr);
} }
swigCPtr = new HandleRef(null, IntPtr.Zero); swigCPtr = new HandleRef(null, IntPtr.Zero);
GC.SuppressFinalize(this); GC.SuppressFinalize(this);
base.Dispose(); base.Dispose();
} }
} }
public RegistrationEvent() : this(tinyWRAPPINVOKE.new_RegistrationEvent(), true) { public RegistrationEvent() : this(tinyWRAPPINVOKE.new_RegistrationEvent(), true) {
} }
public tsip_register_event_type_t getType() { public tsip_register_event_type_t getType() {
tsip_register_event_type_t ret = (tsip_register_event_type_t)tinyWRAPPINVOKE.RegistrationEvent_getType(swigCPtr); tsip_register_event_type_t ret = (tsip_register_event_type_t)tinyWRAPPINVOKE.RegistrationEvent_getType(swigCPtr);
return ret; return ret;
} }
public RegistrationSession getSession() { public RegistrationSession getSession() {
IntPtr cPtr = tinyWRAPPINVOKE.RegistrationEvent_getSession(swigCPtr); IntPtr cPtr = tinyWRAPPINVOKE.RegistrationEvent_getSession(swigCPtr);
RegistrationSession ret = (cPtr == IntPtr.Zero) ? null : new RegistrationSession(cPtr, false); RegistrationSession ret = (cPtr == IntPtr.Zero) ? null : new RegistrationSession(cPtr, false);
return ret; return ret;
} }
} }

View File

@ -1,53 +1,53 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 1.3.39
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
* ----------------------------------------------------------------------------- */ * ----------------------------------------------------------------------------- */
using System; using System;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
public class RegistrationSession : SipSession { public class RegistrationSession : SipSession {
private HandleRef swigCPtr; private HandleRef swigCPtr;
internal RegistrationSession(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.RegistrationSessionUpcast(cPtr), cMemoryOwn) { internal RegistrationSession(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.RegistrationSessionUpcast(cPtr), cMemoryOwn) {
swigCPtr = new HandleRef(this, cPtr); swigCPtr = new HandleRef(this, cPtr);
} }
internal static HandleRef getCPtr(RegistrationSession obj) { internal static HandleRef getCPtr(RegistrationSession obj) {
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
} }
~RegistrationSession() { ~RegistrationSession() {
Dispose(); Dispose();
} }
public override void Dispose() { public override void Dispose() {
lock(this) { lock(this) {
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) { if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
swigCMemOwn = false; swigCMemOwn = false;
tinyWRAPPINVOKE.delete_RegistrationSession(swigCPtr); tinyWRAPPINVOKE.delete_RegistrationSession(swigCPtr);
} }
swigCPtr = new HandleRef(null, IntPtr.Zero); swigCPtr = new HandleRef(null, IntPtr.Zero);
GC.SuppressFinalize(this); GC.SuppressFinalize(this);
base.Dispose(); base.Dispose();
} }
} }
public RegistrationSession(SipStack Stack) : this(tinyWRAPPINVOKE.new_RegistrationSession(SipStack.getCPtr(Stack)), true) { public RegistrationSession(SipStack Stack) : this(tinyWRAPPINVOKE.new_RegistrationSession(SipStack.getCPtr(Stack)), true) {
} }
public bool Register() { public bool Register() {
bool ret = tinyWRAPPINVOKE.RegistrationSession_Register(swigCPtr); bool ret = tinyWRAPPINVOKE.RegistrationSession_Register(swigCPtr);
return ret; return ret;
} }
public bool UnRegister() { public bool UnRegister() {
bool ret = tinyWRAPPINVOKE.RegistrationSession_UnRegister(swigCPtr); bool ret = tinyWRAPPINVOKE.RegistrationSession_UnRegister(swigCPtr);
return ret; return ret;
} }
} }

View File

@ -1,54 +1,54 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 1.3.39
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
* ----------------------------------------------------------------------------- */ * ----------------------------------------------------------------------------- */
using System; using System;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
public class SafeObject : IDisposable { public class SafeObject : IDisposable {
private HandleRef swigCPtr; private HandleRef swigCPtr;
protected bool swigCMemOwn; protected bool swigCMemOwn;
internal SafeObject(IntPtr cPtr, bool cMemoryOwn) { internal SafeObject(IntPtr cPtr, bool cMemoryOwn) {
swigCMemOwn = cMemoryOwn; swigCMemOwn = cMemoryOwn;
swigCPtr = new HandleRef(this, cPtr); swigCPtr = new HandleRef(this, cPtr);
} }
internal static HandleRef getCPtr(SafeObject obj) { internal static HandleRef getCPtr(SafeObject obj) {
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
} }
~SafeObject() { ~SafeObject() {
Dispose(); Dispose();
} }
public virtual void Dispose() { public virtual void Dispose() {
lock(this) { lock(this) {
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) { if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
swigCMemOwn = false; swigCMemOwn = false;
tinyWRAPPINVOKE.delete_SafeObject(swigCPtr); tinyWRAPPINVOKE.delete_SafeObject(swigCPtr);
} }
swigCPtr = new HandleRef(null, IntPtr.Zero); swigCPtr = new HandleRef(null, IntPtr.Zero);
GC.SuppressFinalize(this); GC.SuppressFinalize(this);
} }
} }
public SafeObject() : this(tinyWRAPPINVOKE.new_SafeObject(), true) { public SafeObject() : this(tinyWRAPPINVOKE.new_SafeObject(), true) {
} }
public int Lock() { public int Lock() {
int ret = tinyWRAPPINVOKE.SafeObject_Lock(swigCPtr); int ret = tinyWRAPPINVOKE.SafeObject_Lock(swigCPtr);
return ret; return ret;
} }
public int UnLock() { public int UnLock() {
int ret = tinyWRAPPINVOKE.SafeObject_UnLock(swigCPtr); int ret = tinyWRAPPINVOKE.SafeObject_UnLock(swigCPtr);
return ret; return ret;
} }
} }

View File

@ -1,85 +1,85 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 1.3.39
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
* ----------------------------------------------------------------------------- */ * ----------------------------------------------------------------------------- */
using System; using System;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
public class SipCallback : IDisposable { public class SipCallback : IDisposable {
private HandleRef swigCPtr; private HandleRef swigCPtr;
protected bool swigCMemOwn; protected bool swigCMemOwn;
internal SipCallback(IntPtr cPtr, bool cMemoryOwn) { internal SipCallback(IntPtr cPtr, bool cMemoryOwn) {
swigCMemOwn = cMemoryOwn; swigCMemOwn = cMemoryOwn;
swigCPtr = new HandleRef(this, cPtr); swigCPtr = new HandleRef(this, cPtr);
} }
internal static HandleRef getCPtr(SipCallback obj) { internal static HandleRef getCPtr(SipCallback obj) {
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
} }
~SipCallback() { ~SipCallback() {
Dispose(); Dispose();
} }
public virtual void Dispose() { public virtual void Dispose() {
lock(this) { lock(this) {
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) { if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
swigCMemOwn = false; swigCMemOwn = false;
tinyWRAPPINVOKE.delete_SipCallback(swigCPtr); tinyWRAPPINVOKE.delete_SipCallback(swigCPtr);
} }
swigCPtr = new HandleRef(null, IntPtr.Zero); swigCPtr = new HandleRef(null, IntPtr.Zero);
GC.SuppressFinalize(this); GC.SuppressFinalize(this);
} }
} }
public SipCallback() : this(tinyWRAPPINVOKE.new_SipCallback(), true) { public SipCallback() : this(tinyWRAPPINVOKE.new_SipCallback(), true) {
SwigDirectorConnect(); SwigDirectorConnect();
} }
public virtual int OnRegistrationChanged(RegistrationEvent e) { public virtual int OnRegistrationChanged(RegistrationEvent e) {
int ret = ((this.GetType() == typeof(SipCallback)) ? tinyWRAPPINVOKE.SipCallback_OnRegistrationChanged(swigCPtr, RegistrationEvent.getCPtr(e)) : tinyWRAPPINVOKE.SipCallback_OnRegistrationChangedSwigExplicitSipCallback(swigCPtr, RegistrationEvent.getCPtr(e))); int ret = ((this.GetType() == typeof(SipCallback)) ? tinyWRAPPINVOKE.SipCallback_OnRegistrationChanged(swigCPtr, RegistrationEvent.getCPtr(e)) : tinyWRAPPINVOKE.SipCallback_OnRegistrationChangedSwigExplicitSipCallback(swigCPtr, RegistrationEvent.getCPtr(e)));
return ret; return ret;
} }
public virtual int OnSubscriptionChanged(SubscriptionEvent e) { public virtual int OnSubscriptionChanged(SubscriptionEvent e) {
int ret = ((this.GetType() == typeof(SipCallback)) ? tinyWRAPPINVOKE.SipCallback_OnSubscriptionChanged(swigCPtr, SubscriptionEvent.getCPtr(e)) : tinyWRAPPINVOKE.SipCallback_OnSubscriptionChangedSwigExplicitSipCallback(swigCPtr, SubscriptionEvent.getCPtr(e))); int ret = ((this.GetType() == typeof(SipCallback)) ? tinyWRAPPINVOKE.SipCallback_OnSubscriptionChanged(swigCPtr, SubscriptionEvent.getCPtr(e)) : tinyWRAPPINVOKE.SipCallback_OnSubscriptionChangedSwigExplicitSipCallback(swigCPtr, SubscriptionEvent.getCPtr(e)));
return ret; return ret;
} }
private void SwigDirectorConnect() { private void SwigDirectorConnect() {
if (SwigDerivedClassHasMethod("OnRegistrationChanged", swigMethodTypes0)) if (SwigDerivedClassHasMethod("OnRegistrationChanged", swigMethodTypes0))
swigDelegate0 = new SwigDelegateSipCallback_0(SwigDirectorOnRegistrationChanged); swigDelegate0 = new SwigDelegateSipCallback_0(SwigDirectorOnRegistrationChanged);
if (SwigDerivedClassHasMethod("OnSubscriptionChanged", swigMethodTypes1)) if (SwigDerivedClassHasMethod("OnSubscriptionChanged", swigMethodTypes1))
swigDelegate1 = new SwigDelegateSipCallback_1(SwigDirectorOnSubscriptionChanged); swigDelegate1 = new SwigDelegateSipCallback_1(SwigDirectorOnSubscriptionChanged);
tinyWRAPPINVOKE.SipCallback_director_connect(swigCPtr, swigDelegate0, swigDelegate1); tinyWRAPPINVOKE.SipCallback_director_connect(swigCPtr, swigDelegate0, swigDelegate1);
} }
private bool SwigDerivedClassHasMethod(string methodName, Type[] methodTypes) { private bool SwigDerivedClassHasMethod(string methodName, Type[] methodTypes) {
System.Reflection.MethodInfo methodInfo = this.GetType().GetMethod(methodName, System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance, null, methodTypes, null); System.Reflection.MethodInfo methodInfo = this.GetType().GetMethod(methodName, System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance, null, methodTypes, null);
bool hasDerivedMethod = methodInfo.DeclaringType.IsSubclassOf(typeof(SipCallback)); bool hasDerivedMethod = methodInfo.DeclaringType.IsSubclassOf(typeof(SipCallback));
return hasDerivedMethod; return hasDerivedMethod;
} }
private int SwigDirectorOnRegistrationChanged(IntPtr e) { private int SwigDirectorOnRegistrationChanged(IntPtr e) {
return OnRegistrationChanged((e == IntPtr.Zero) ? null : new RegistrationEvent(e, false)); return OnRegistrationChanged((e == IntPtr.Zero) ? null : new RegistrationEvent(e, false));
} }
private int SwigDirectorOnSubscriptionChanged(IntPtr e) { private int SwigDirectorOnSubscriptionChanged(IntPtr e) {
return OnSubscriptionChanged((e == IntPtr.Zero) ? null : new SubscriptionEvent(e, false)); return OnSubscriptionChanged((e == IntPtr.Zero) ? null : new SubscriptionEvent(e, false));
} }
public delegate int SwigDelegateSipCallback_0(IntPtr e); public delegate int SwigDelegateSipCallback_0(IntPtr e);
public delegate int SwigDelegateSipCallback_1(IntPtr e); public delegate int SwigDelegateSipCallback_1(IntPtr e);
private SwigDelegateSipCallback_0 swigDelegate0; private SwigDelegateSipCallback_0 swigDelegate0;
private SwigDelegateSipCallback_1 swigDelegate1; private SwigDelegateSipCallback_1 swigDelegate1;
private static Type[] swigMethodTypes0 = new Type[] { typeof(RegistrationEvent) }; private static Type[] swigMethodTypes0 = new Type[] { typeof(RegistrationEvent) };
private static Type[] swigMethodTypes1 = new Type[] { typeof(SubscriptionEvent) }; private static Type[] swigMethodTypes1 = new Type[] { typeof(SubscriptionEvent) };
} }

View File

@ -1,113 +1,113 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 1.3.39
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
* ----------------------------------------------------------------------------- */ * ----------------------------------------------------------------------------- */
using System; using System;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
public class SipDebugCallback : IDisposable { public class SipDebugCallback : IDisposable {
private HandleRef swigCPtr; private HandleRef swigCPtr;
protected bool swigCMemOwn; protected bool swigCMemOwn;
internal SipDebugCallback(IntPtr cPtr, bool cMemoryOwn) { internal SipDebugCallback(IntPtr cPtr, bool cMemoryOwn) {
swigCMemOwn = cMemoryOwn; swigCMemOwn = cMemoryOwn;
swigCPtr = new HandleRef(this, cPtr); swigCPtr = new HandleRef(this, cPtr);
} }
internal static HandleRef getCPtr(SipDebugCallback obj) { internal static HandleRef getCPtr(SipDebugCallback obj) {
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
} }
~SipDebugCallback() { ~SipDebugCallback() {
Dispose(); Dispose();
} }
public virtual void Dispose() { public virtual void Dispose() {
lock(this) { lock(this) {
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) { if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
swigCMemOwn = false; swigCMemOwn = false;
tinyWRAPPINVOKE.delete_SipDebugCallback(swigCPtr); tinyWRAPPINVOKE.delete_SipDebugCallback(swigCPtr);
} }
swigCPtr = new HandleRef(null, IntPtr.Zero); swigCPtr = new HandleRef(null, IntPtr.Zero);
GC.SuppressFinalize(this); GC.SuppressFinalize(this);
} }
} }
public SipDebugCallback() : this(tinyWRAPPINVOKE.new_SipDebugCallback(), true) { public SipDebugCallback() : this(tinyWRAPPINVOKE.new_SipDebugCallback(), true) {
SwigDirectorConnect(); SwigDirectorConnect();
} }
public virtual int OnDebugInfo(string message) { public virtual int OnDebugInfo(string message) {
int ret = ((this.GetType() == typeof(SipDebugCallback)) ? tinyWRAPPINVOKE.SipDebugCallback_OnDebugInfo(swigCPtr, message) : tinyWRAPPINVOKE.SipDebugCallback_OnDebugInfoSwigExplicitSipDebugCallback(swigCPtr, message)); int ret = ((this.GetType() == typeof(SipDebugCallback)) ? tinyWRAPPINVOKE.SipDebugCallback_OnDebugInfo(swigCPtr, message) : tinyWRAPPINVOKE.SipDebugCallback_OnDebugInfoSwigExplicitSipDebugCallback(swigCPtr, message));
return ret; return ret;
} }
public virtual int OnDebugWarn(string message) { public virtual int OnDebugWarn(string message) {
int ret = ((this.GetType() == typeof(SipDebugCallback)) ? tinyWRAPPINVOKE.SipDebugCallback_OnDebugWarn(swigCPtr, message) : tinyWRAPPINVOKE.SipDebugCallback_OnDebugWarnSwigExplicitSipDebugCallback(swigCPtr, message)); int ret = ((this.GetType() == typeof(SipDebugCallback)) ? tinyWRAPPINVOKE.SipDebugCallback_OnDebugWarn(swigCPtr, message) : tinyWRAPPINVOKE.SipDebugCallback_OnDebugWarnSwigExplicitSipDebugCallback(swigCPtr, message));
return ret; return ret;
} }
public virtual int OnDebugError(string message) { public virtual int OnDebugError(string message) {
int ret = ((this.GetType() == typeof(SipDebugCallback)) ? tinyWRAPPINVOKE.SipDebugCallback_OnDebugError(swigCPtr, message) : tinyWRAPPINVOKE.SipDebugCallback_OnDebugErrorSwigExplicitSipDebugCallback(swigCPtr, message)); int ret = ((this.GetType() == typeof(SipDebugCallback)) ? tinyWRAPPINVOKE.SipDebugCallback_OnDebugError(swigCPtr, message) : tinyWRAPPINVOKE.SipDebugCallback_OnDebugErrorSwigExplicitSipDebugCallback(swigCPtr, message));
return ret; return ret;
} }
public virtual int OnDebugFatal(string message) { public virtual int OnDebugFatal(string message) {
int ret = ((this.GetType() == typeof(SipDebugCallback)) ? tinyWRAPPINVOKE.SipDebugCallback_OnDebugFatal(swigCPtr, message) : tinyWRAPPINVOKE.SipDebugCallback_OnDebugFatalSwigExplicitSipDebugCallback(swigCPtr, message)); int ret = ((this.GetType() == typeof(SipDebugCallback)) ? tinyWRAPPINVOKE.SipDebugCallback_OnDebugFatal(swigCPtr, message) : tinyWRAPPINVOKE.SipDebugCallback_OnDebugFatalSwigExplicitSipDebugCallback(swigCPtr, message));
return ret; return ret;
} }
private void SwigDirectorConnect() { private void SwigDirectorConnect() {
if (SwigDerivedClassHasMethod("OnDebugInfo", swigMethodTypes0)) if (SwigDerivedClassHasMethod("OnDebugInfo", swigMethodTypes0))
swigDelegate0 = new SwigDelegateSipDebugCallback_0(SwigDirectorOnDebugInfo); swigDelegate0 = new SwigDelegateSipDebugCallback_0(SwigDirectorOnDebugInfo);
if (SwigDerivedClassHasMethod("OnDebugWarn", swigMethodTypes1)) if (SwigDerivedClassHasMethod("OnDebugWarn", swigMethodTypes1))
swigDelegate1 = new SwigDelegateSipDebugCallback_1(SwigDirectorOnDebugWarn); swigDelegate1 = new SwigDelegateSipDebugCallback_1(SwigDirectorOnDebugWarn);
if (SwigDerivedClassHasMethod("OnDebugError", swigMethodTypes2)) if (SwigDerivedClassHasMethod("OnDebugError", swigMethodTypes2))
swigDelegate2 = new SwigDelegateSipDebugCallback_2(SwigDirectorOnDebugError); swigDelegate2 = new SwigDelegateSipDebugCallback_2(SwigDirectorOnDebugError);
if (SwigDerivedClassHasMethod("OnDebugFatal", swigMethodTypes3)) if (SwigDerivedClassHasMethod("OnDebugFatal", swigMethodTypes3))
swigDelegate3 = new SwigDelegateSipDebugCallback_3(SwigDirectorOnDebugFatal); swigDelegate3 = new SwigDelegateSipDebugCallback_3(SwigDirectorOnDebugFatal);
tinyWRAPPINVOKE.SipDebugCallback_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2, swigDelegate3); tinyWRAPPINVOKE.SipDebugCallback_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2, swigDelegate3);
} }
private bool SwigDerivedClassHasMethod(string methodName, Type[] methodTypes) { private bool SwigDerivedClassHasMethod(string methodName, Type[] methodTypes) {
System.Reflection.MethodInfo methodInfo = this.GetType().GetMethod(methodName, System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance, null, methodTypes, null); System.Reflection.MethodInfo methodInfo = this.GetType().GetMethod(methodName, System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance, null, methodTypes, null);
bool hasDerivedMethod = methodInfo.DeclaringType.IsSubclassOf(typeof(SipDebugCallback)); bool hasDerivedMethod = methodInfo.DeclaringType.IsSubclassOf(typeof(SipDebugCallback));
return hasDerivedMethod; return hasDerivedMethod;
} }
private int SwigDirectorOnDebugInfo(string message) { private int SwigDirectorOnDebugInfo(string message) {
return OnDebugInfo(message); return OnDebugInfo(message);
} }
private int SwigDirectorOnDebugWarn(string message) { private int SwigDirectorOnDebugWarn(string message) {
return OnDebugWarn(message); return OnDebugWarn(message);
} }
private int SwigDirectorOnDebugError(string message) { private int SwigDirectorOnDebugError(string message) {
return OnDebugError(message); return OnDebugError(message);
} }
private int SwigDirectorOnDebugFatal(string message) { private int SwigDirectorOnDebugFatal(string message) {
return OnDebugFatal(message); return OnDebugFatal(message);
} }
public delegate int SwigDelegateSipDebugCallback_0(string message); public delegate int SwigDelegateSipDebugCallback_0(string message);
public delegate int SwigDelegateSipDebugCallback_1(string message); public delegate int SwigDelegateSipDebugCallback_1(string message);
public delegate int SwigDelegateSipDebugCallback_2(string message); public delegate int SwigDelegateSipDebugCallback_2(string message);
public delegate int SwigDelegateSipDebugCallback_3(string message); public delegate int SwigDelegateSipDebugCallback_3(string message);
private SwigDelegateSipDebugCallback_0 swigDelegate0; private SwigDelegateSipDebugCallback_0 swigDelegate0;
private SwigDelegateSipDebugCallback_1 swigDelegate1; private SwigDelegateSipDebugCallback_1 swigDelegate1;
private SwigDelegateSipDebugCallback_2 swigDelegate2; private SwigDelegateSipDebugCallback_2 swigDelegate2;
private SwigDelegateSipDebugCallback_3 swigDelegate3; private SwigDelegateSipDebugCallback_3 swigDelegate3;
private static Type[] swigMethodTypes0 = new Type[] { typeof(string) }; private static Type[] swigMethodTypes0 = new Type[] { typeof(string) };
private static Type[] swigMethodTypes1 = new Type[] { typeof(string) }; private static Type[] swigMethodTypes1 = new Type[] { typeof(string) };
private static Type[] swigMethodTypes2 = new Type[] { typeof(string) }; private static Type[] swigMethodTypes2 = new Type[] { typeof(string) };
private static Type[] swigMethodTypes3 = new Type[] { typeof(string) }; private static Type[] swigMethodTypes3 = new Type[] { typeof(string) };
} }

View File

@ -1,60 +1,60 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 1.3.39
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
* ----------------------------------------------------------------------------- */ * ----------------------------------------------------------------------------- */
using System; using System;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
public class SipEvent : IDisposable { public class SipEvent : IDisposable {
private HandleRef swigCPtr; private HandleRef swigCPtr;
protected bool swigCMemOwn; protected bool swigCMemOwn;
internal SipEvent(IntPtr cPtr, bool cMemoryOwn) { internal SipEvent(IntPtr cPtr, bool cMemoryOwn) {
swigCMemOwn = cMemoryOwn; swigCMemOwn = cMemoryOwn;
swigCPtr = new HandleRef(this, cPtr); swigCPtr = new HandleRef(this, cPtr);
} }
internal static HandleRef getCPtr(SipEvent obj) { internal static HandleRef getCPtr(SipEvent obj) {
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
} }
~SipEvent() { ~SipEvent() {
Dispose(); Dispose();
} }
public virtual void Dispose() { public virtual void Dispose() {
lock(this) { lock(this) {
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) { if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
swigCMemOwn = false; swigCMemOwn = false;
tinyWRAPPINVOKE.delete_SipEvent(swigCPtr); tinyWRAPPINVOKE.delete_SipEvent(swigCPtr);
} }
swigCPtr = new HandleRef(null, IntPtr.Zero); swigCPtr = new HandleRef(null, IntPtr.Zero);
GC.SuppressFinalize(this); GC.SuppressFinalize(this);
} }
} }
public SipEvent() : this(tinyWRAPPINVOKE.new_SipEvent(), true) { public SipEvent() : this(tinyWRAPPINVOKE.new_SipEvent(), true) {
} }
public short getCode() { public short getCode() {
short ret = tinyWRAPPINVOKE.SipEvent_getCode(swigCPtr); short ret = tinyWRAPPINVOKE.SipEvent_getCode(swigCPtr);
return ret; return ret;
} }
public string getPhrase() { public string getPhrase() {
string ret = tinyWRAPPINVOKE.SipEvent_getPhrase(swigCPtr); string ret = tinyWRAPPINVOKE.SipEvent_getPhrase(swigCPtr);
return ret; return ret;
} }
public SipSession getBaseSession() { public SipSession getBaseSession() {
IntPtr cPtr = tinyWRAPPINVOKE.SipEvent_getBaseSession(swigCPtr); IntPtr cPtr = tinyWRAPPINVOKE.SipEvent_getBaseSession(swigCPtr);
SipSession ret = (cPtr == IntPtr.Zero) ? null : new SipSession(cPtr, false); SipSession ret = (cPtr == IntPtr.Zero) ? null : new SipSession(cPtr, false);
return ret; return ret;
} }
} }

View File

@ -1,89 +1,89 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 1.3.39
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
* ----------------------------------------------------------------------------- */ * ----------------------------------------------------------------------------- */
using System; using System;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
public class SipSession : IDisposable { public class SipSession : IDisposable {
private HandleRef swigCPtr; private HandleRef swigCPtr;
protected bool swigCMemOwn; protected bool swigCMemOwn;
internal SipSession(IntPtr cPtr, bool cMemoryOwn) { internal SipSession(IntPtr cPtr, bool cMemoryOwn) {
swigCMemOwn = cMemoryOwn; swigCMemOwn = cMemoryOwn;
swigCPtr = new HandleRef(this, cPtr); swigCPtr = new HandleRef(this, cPtr);
} }
internal static HandleRef getCPtr(SipSession obj) { internal static HandleRef getCPtr(SipSession obj) {
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
} }
~SipSession() { ~SipSession() {
Dispose(); Dispose();
} }
public virtual void Dispose() { public virtual void Dispose() {
lock(this) { lock(this) {
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) { if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
swigCMemOwn = false; swigCMemOwn = false;
tinyWRAPPINVOKE.delete_SipSession(swigCPtr); tinyWRAPPINVOKE.delete_SipSession(swigCPtr);
} }
swigCPtr = new HandleRef(null, IntPtr.Zero); swigCPtr = new HandleRef(null, IntPtr.Zero);
GC.SuppressFinalize(this); GC.SuppressFinalize(this);
} }
} }
public SipSession(SipStack Stack) : this(tinyWRAPPINVOKE.new_SipSession(SipStack.getCPtr(Stack)), true) { public SipSession(SipStack stack) : this(tinyWRAPPINVOKE.new_SipSession(SipStack.getCPtr(stack)), true) {
} }
public bool addHeader(string name, string value) { public bool addHeader(string name, string value) {
bool ret = tinyWRAPPINVOKE.SipSession_addHeader(swigCPtr, name, value); bool ret = tinyWRAPPINVOKE.SipSession_addHeader(swigCPtr, name, value);
return ret; return ret;
} }
public bool removeHeader(string name) { public bool removeHeader(string name) {
bool ret = tinyWRAPPINVOKE.SipSession_removeHeader(swigCPtr, name); bool ret = tinyWRAPPINVOKE.SipSession_removeHeader(swigCPtr, name);
return ret; return ret;
} }
public bool addCaps(string name, string value) { public bool addCaps(string name, string value) {
bool ret = tinyWRAPPINVOKE.SipSession_addCaps__SWIG_0(swigCPtr, name, value); bool ret = tinyWRAPPINVOKE.SipSession_addCaps__SWIG_0(swigCPtr, name, value);
return ret; return ret;
} }
public bool addCaps(string name) { public bool addCaps(string name) {
bool ret = tinyWRAPPINVOKE.SipSession_addCaps__SWIG_1(swigCPtr, name); bool ret = tinyWRAPPINVOKE.SipSession_addCaps__SWIG_1(swigCPtr, name);
return ret; return ret;
} }
public bool removeCaps(string name) { public bool removeCaps(string name) {
bool ret = tinyWRAPPINVOKE.SipSession_removeCaps(swigCPtr, name); bool ret = tinyWRAPPINVOKE.SipSession_removeCaps(swigCPtr, name);
return ret; return ret;
} }
public bool setExpires(uint expires) { public bool setExpires(uint expires) {
bool ret = tinyWRAPPINVOKE.SipSession_setExpires(swigCPtr, expires); bool ret = tinyWRAPPINVOKE.SipSession_setExpires(swigCPtr, expires);
return ret; return ret;
} }
public bool setFromUri(string fromUri) { public bool setFromUri(string fromUri) {
bool ret = tinyWRAPPINVOKE.SipSession_setFromUri(swigCPtr, fromUri); bool ret = tinyWRAPPINVOKE.SipSession_setFromUri(swigCPtr, fromUri);
return ret; return ret;
} }
public bool setToUri(string toUri) { public bool setToUri(string toUri) {
bool ret = tinyWRAPPINVOKE.SipSession_setToUri(swigCPtr, toUri); bool ret = tinyWRAPPINVOKE.SipSession_setToUri(swigCPtr, toUri);
return ret; return ret;
} }
public bool setPayload(string str, uint len) { public bool setPayload(string str, uint len) {
bool ret = tinyWRAPPINVOKE.SipSession_setPayload(swigCPtr, str, len); bool ret = tinyWRAPPINVOKE.SipSession_setPayload(swigCPtr, str, len);
return ret; return ret;
} }
} }

View File

@ -1,118 +1,118 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 1.3.39
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
* ----------------------------------------------------------------------------- */ * ----------------------------------------------------------------------------- */
using System; using System;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
public class SipStack : SafeObject { public class SipStack : SafeObject {
private HandleRef swigCPtr; private HandleRef swigCPtr;
internal SipStack(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.SipStackUpcast(cPtr), cMemoryOwn) { internal SipStack(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.SipStackUpcast(cPtr), cMemoryOwn) {
swigCPtr = new HandleRef(this, cPtr); swigCPtr = new HandleRef(this, cPtr);
} }
internal static HandleRef getCPtr(SipStack obj) { internal static HandleRef getCPtr(SipStack obj) {
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
} }
~SipStack() { ~SipStack() {
Dispose(); Dispose();
} }
public override void Dispose() { public override void Dispose() {
lock(this) { lock(this) {
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) { if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
swigCMemOwn = false; swigCMemOwn = false;
tinyWRAPPINVOKE.delete_SipStack(swigCPtr); tinyWRAPPINVOKE.delete_SipStack(swigCPtr);
} }
swigCPtr = new HandleRef(null, IntPtr.Zero); swigCPtr = new HandleRef(null, IntPtr.Zero);
GC.SuppressFinalize(this); GC.SuppressFinalize(this);
base.Dispose(); base.Dispose();
} }
} }
public SipStack(SipCallback callback, string realm_uri, string impi_uri, string impu_uri) : this(tinyWRAPPINVOKE.new_SipStack(SipCallback.getCPtr(callback), realm_uri, impi_uri, impu_uri), true) { public SipStack(SipCallback callback, string realm_uri, string impi_uri, string impu_uri) : this(tinyWRAPPINVOKE.new_SipStack(SipCallback.getCPtr(callback), realm_uri, impi_uri, impu_uri), true) {
} }
public bool start() { public bool start() {
bool ret = tinyWRAPPINVOKE.SipStack_start(swigCPtr); bool ret = tinyWRAPPINVOKE.SipStack_start(swigCPtr);
return ret; return ret;
} }
public bool setDebugCallback(SipDebugCallback callback) { public bool setDebugCallback(SipDebugCallback callback) {
bool ret = tinyWRAPPINVOKE.SipStack_setDebugCallback(swigCPtr, SipDebugCallback.getCPtr(callback)); bool ret = tinyWRAPPINVOKE.SipStack_setDebugCallback(swigCPtr, SipDebugCallback.getCPtr(callback));
return ret; return ret;
} }
public bool setRealm(string realm_uri) { public bool setRealm(string realm_uri) {
bool ret = tinyWRAPPINVOKE.SipStack_setRealm(swigCPtr, realm_uri); bool ret = tinyWRAPPINVOKE.SipStack_setRealm(swigCPtr, realm_uri);
return ret; return ret;
} }
public bool setIMPI(string impi) { public bool setIMPI(string impi) {
bool ret = tinyWRAPPINVOKE.SipStack_setIMPI(swigCPtr, impi); bool ret = tinyWRAPPINVOKE.SipStack_setIMPI(swigCPtr, impi);
return ret; return ret;
} }
public bool setIMPU(string impu_uri) { public bool setIMPU(string impu_uri) {
bool ret = tinyWRAPPINVOKE.SipStack_setIMPU(swigCPtr, impu_uri); bool ret = tinyWRAPPINVOKE.SipStack_setIMPU(swigCPtr, impu_uri);
return ret; return ret;
} }
public bool setPassword(string password) { public bool setPassword(string password) {
bool ret = tinyWRAPPINVOKE.SipStack_setPassword(swigCPtr, password); bool ret = tinyWRAPPINVOKE.SipStack_setPassword(swigCPtr, password);
return ret; return ret;
} }
public bool setProxyCSCF(string fqdn, uint port, string transport, string ipversion) { public bool setProxyCSCF(string fqdn, uint port, string transport, string ipversion) {
bool ret = tinyWRAPPINVOKE.SipStack_setProxyCSCF(swigCPtr, fqdn, port, transport, ipversion); bool ret = tinyWRAPPINVOKE.SipStack_setProxyCSCF(swigCPtr, fqdn, port, transport, ipversion);
return ret; return ret;
} }
public bool setLocalIP(string ip) { public bool setLocalIP(string ip) {
bool ret = tinyWRAPPINVOKE.SipStack_setLocalIP(swigCPtr, ip); bool ret = tinyWRAPPINVOKE.SipStack_setLocalIP(swigCPtr, ip);
return ret; return ret;
} }
public bool setLocalPort(uint port) { public bool setLocalPort(uint port) {
bool ret = tinyWRAPPINVOKE.SipStack_setLocalPort(swigCPtr, port); bool ret = tinyWRAPPINVOKE.SipStack_setLocalPort(swigCPtr, port);
return ret; return ret;
} }
public bool setEarlyIMS(bool enabled) { public bool setEarlyIMS(bool enabled) {
bool ret = tinyWRAPPINVOKE.SipStack_setEarlyIMS(swigCPtr, enabled); bool ret = tinyWRAPPINVOKE.SipStack_setEarlyIMS(swigCPtr, enabled);
return ret; return ret;
} }
public bool addHeader(string name, string value) { public bool addHeader(string name, string value) {
bool ret = tinyWRAPPINVOKE.SipStack_addHeader(swigCPtr, name, value); bool ret = tinyWRAPPINVOKE.SipStack_addHeader(swigCPtr, name, value);
return ret; return ret;
} }
public bool removeHeader(string name) { public bool removeHeader(string name) {
bool ret = tinyWRAPPINVOKE.SipStack_removeHeader(swigCPtr, name); bool ret = tinyWRAPPINVOKE.SipStack_removeHeader(swigCPtr, name);
return ret; return ret;
} }
public bool addDnsServer(string ip) { public bool addDnsServer(string ip) {
bool ret = tinyWRAPPINVOKE.SipStack_addDnsServer(swigCPtr, ip); bool ret = tinyWRAPPINVOKE.SipStack_addDnsServer(swigCPtr, ip);
return ret; return ret;
} }
public bool isValid() { public bool isValid() {
bool ret = tinyWRAPPINVOKE.SipStack_isValid(swigCPtr); bool ret = tinyWRAPPINVOKE.SipStack_isValid(swigCPtr);
return ret; return ret;
} }
public bool stop() { public bool stop() {
bool ret = tinyWRAPPINVOKE.SipStack_stop(swigCPtr); bool ret = tinyWRAPPINVOKE.SipStack_stop(swigCPtr);
return ret; return ret;
} }
} }

View File

@ -1,54 +1,54 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 1.3.39
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
* ----------------------------------------------------------------------------- */ * ----------------------------------------------------------------------------- */
using System; using System;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
public class SipUri : IDisposable { public class SipUri : IDisposable {
private HandleRef swigCPtr; private HandleRef swigCPtr;
protected bool swigCMemOwn; protected bool swigCMemOwn;
internal SipUri(IntPtr cPtr, bool cMemoryOwn) { internal SipUri(IntPtr cPtr, bool cMemoryOwn) {
swigCMemOwn = cMemoryOwn; swigCMemOwn = cMemoryOwn;
swigCPtr = new HandleRef(this, cPtr); swigCPtr = new HandleRef(this, cPtr);
} }
internal static HandleRef getCPtr(SipUri obj) { internal static HandleRef getCPtr(SipUri obj) {
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
} }
~SipUri() { ~SipUri() {
Dispose(); Dispose();
} }
public virtual void Dispose() { public virtual void Dispose() {
lock(this) { lock(this) {
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) { if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
swigCMemOwn = false; swigCMemOwn = false;
tinyWRAPPINVOKE.delete_SipUri(swigCPtr); tinyWRAPPINVOKE.delete_SipUri(swigCPtr);
} }
swigCPtr = new HandleRef(null, IntPtr.Zero); swigCPtr = new HandleRef(null, IntPtr.Zero);
GC.SuppressFinalize(this); GC.SuppressFinalize(this);
} }
} }
public SipUri(string arg0) : this(tinyWRAPPINVOKE.new_SipUri(arg0), true) { public SipUri(string arg0) : this(tinyWRAPPINVOKE.new_SipUri(arg0), true) {
} }
public static bool isValid(string arg0) { public static bool isValid(string arg0) {
bool ret = tinyWRAPPINVOKE.SipUri_isValid__SWIG_0(arg0); bool ret = tinyWRAPPINVOKE.SipUri_isValid__SWIG_0(arg0);
return ret; return ret;
} }
public bool isValid() { public bool isValid() {
bool ret = tinyWRAPPINVOKE.SipUri_isValid__SWIG_1(swigCPtr); bool ret = tinyWRAPPINVOKE.SipUri_isValid__SWIG_1(swigCPtr);
return ret; return ret;
} }
} }

View File

@ -1,54 +1,54 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 1.3.39
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
* ----------------------------------------------------------------------------- */ * ----------------------------------------------------------------------------- */
using System; using System;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
public class SubscriptionEvent : SipEvent { public class SubscriptionEvent : SipEvent {
private HandleRef swigCPtr; private HandleRef swigCPtr;
internal SubscriptionEvent(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.SubscriptionEventUpcast(cPtr), cMemoryOwn) { internal SubscriptionEvent(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.SubscriptionEventUpcast(cPtr), cMemoryOwn) {
swigCPtr = new HandleRef(this, cPtr); swigCPtr = new HandleRef(this, cPtr);
} }
internal static HandleRef getCPtr(SubscriptionEvent obj) { internal static HandleRef getCPtr(SubscriptionEvent obj) {
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
} }
~SubscriptionEvent() { ~SubscriptionEvent() {
Dispose(); Dispose();
} }
public override void Dispose() { public override void Dispose() {
lock(this) { lock(this) {
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) { if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
swigCMemOwn = false; swigCMemOwn = false;
tinyWRAPPINVOKE.delete_SubscriptionEvent(swigCPtr); tinyWRAPPINVOKE.delete_SubscriptionEvent(swigCPtr);
} }
swigCPtr = new HandleRef(null, IntPtr.Zero); swigCPtr = new HandleRef(null, IntPtr.Zero);
GC.SuppressFinalize(this); GC.SuppressFinalize(this);
base.Dispose(); base.Dispose();
} }
} }
public SubscriptionEvent() : this(tinyWRAPPINVOKE.new_SubscriptionEvent(), true) { public SubscriptionEvent() : this(tinyWRAPPINVOKE.new_SubscriptionEvent(), true) {
} }
public tsip_subscribe_event_type_t getType() { public tsip_subscribe_event_type_t getType() {
tsip_subscribe_event_type_t ret = (tsip_subscribe_event_type_t)tinyWRAPPINVOKE.SubscriptionEvent_getType(swigCPtr); tsip_subscribe_event_type_t ret = (tsip_subscribe_event_type_t)tinyWRAPPINVOKE.SubscriptionEvent_getType(swigCPtr);
return ret; return ret;
} }
public SubscriptionSession getSession() { public SubscriptionSession getSession() {
IntPtr cPtr = tinyWRAPPINVOKE.SubscriptionEvent_getSession(swigCPtr); IntPtr cPtr = tinyWRAPPINVOKE.SubscriptionEvent_getSession(swigCPtr);
SubscriptionSession ret = (cPtr == IntPtr.Zero) ? null : new SubscriptionSession(cPtr, false); SubscriptionSession ret = (cPtr == IntPtr.Zero) ? null : new SubscriptionSession(cPtr, false);
return ret; return ret;
} }
} }

View File

@ -1,53 +1,53 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 1.3.39
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
* ----------------------------------------------------------------------------- */ * ----------------------------------------------------------------------------- */
using System; using System;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
public class SubscriptionSession : SipSession { public class SubscriptionSession : SipSession {
private HandleRef swigCPtr; private HandleRef swigCPtr;
internal SubscriptionSession(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.SubscriptionSessionUpcast(cPtr), cMemoryOwn) { internal SubscriptionSession(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.SubscriptionSessionUpcast(cPtr), cMemoryOwn) {
swigCPtr = new HandleRef(this, cPtr); swigCPtr = new HandleRef(this, cPtr);
} }
internal static HandleRef getCPtr(SubscriptionSession obj) { internal static HandleRef getCPtr(SubscriptionSession obj) {
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
} }
~SubscriptionSession() { ~SubscriptionSession() {
Dispose(); Dispose();
} }
public override void Dispose() { public override void Dispose() {
lock(this) { lock(this) {
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) { if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
swigCMemOwn = false; swigCMemOwn = false;
tinyWRAPPINVOKE.delete_SubscriptionSession(swigCPtr); tinyWRAPPINVOKE.delete_SubscriptionSession(swigCPtr);
} }
swigCPtr = new HandleRef(null, IntPtr.Zero); swigCPtr = new HandleRef(null, IntPtr.Zero);
GC.SuppressFinalize(this); GC.SuppressFinalize(this);
base.Dispose(); base.Dispose();
} }
} }
public SubscriptionSession(SipStack Stack) : this(tinyWRAPPINVOKE.new_SubscriptionSession(SipStack.getCPtr(Stack)), true) { public SubscriptionSession(SipStack Stack) : this(tinyWRAPPINVOKE.new_SubscriptionSession(SipStack.getCPtr(Stack)), true) {
} }
public bool Subscribe() { public bool Subscribe() {
bool ret = tinyWRAPPINVOKE.SubscriptionSession_Subscribe(swigCPtr); bool ret = tinyWRAPPINVOKE.SubscriptionSession_Subscribe(swigCPtr);
return ret; return ret;
} }
public bool UnSubscribe() { public bool UnSubscribe() {
bool ret = tinyWRAPPINVOKE.SubscriptionSession_UnSubscribe(swigCPtr); bool ret = tinyWRAPPINVOKE.SubscriptionSession_UnSubscribe(swigCPtr);
return ret; return ret;
} }
} }

View File

@ -1,14 +1,14 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 1.3.39
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
* ----------------------------------------------------------------------------- */ * ----------------------------------------------------------------------------- */
using System; using System;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
public class tinyWRAP { public class tinyWRAP {
} }

View File

@ -1,426 +1,426 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 1.3.39
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
* ----------------------------------------------------------------------------- */ * ----------------------------------------------------------------------------- */
using System; using System;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
class tinyWRAPPINVOKE { class tinyWRAPPINVOKE {
protected class SWIGExceptionHelper { protected class SWIGExceptionHelper {
public delegate void ExceptionDelegate(string message); public delegate void ExceptionDelegate(string message);
public delegate void ExceptionArgumentDelegate(string message, string paramName); public delegate void ExceptionArgumentDelegate(string message, string paramName);
static ExceptionDelegate applicationDelegate = new ExceptionDelegate(SetPendingApplicationException); static ExceptionDelegate applicationDelegate = new ExceptionDelegate(SetPendingApplicationException);
static ExceptionDelegate arithmeticDelegate = new ExceptionDelegate(SetPendingArithmeticException); static ExceptionDelegate arithmeticDelegate = new ExceptionDelegate(SetPendingArithmeticException);
static ExceptionDelegate divideByZeroDelegate = new ExceptionDelegate(SetPendingDivideByZeroException); static ExceptionDelegate divideByZeroDelegate = new ExceptionDelegate(SetPendingDivideByZeroException);
static ExceptionDelegate indexOutOfRangeDelegate = new ExceptionDelegate(SetPendingIndexOutOfRangeException); static ExceptionDelegate indexOutOfRangeDelegate = new ExceptionDelegate(SetPendingIndexOutOfRangeException);
static ExceptionDelegate invalidCastDelegate = new ExceptionDelegate(SetPendingInvalidCastException); static ExceptionDelegate invalidCastDelegate = new ExceptionDelegate(SetPendingInvalidCastException);
static ExceptionDelegate invalidOperationDelegate = new ExceptionDelegate(SetPendingInvalidOperationException); static ExceptionDelegate invalidOperationDelegate = new ExceptionDelegate(SetPendingInvalidOperationException);
static ExceptionDelegate ioDelegate = new ExceptionDelegate(SetPendingIOException); static ExceptionDelegate ioDelegate = new ExceptionDelegate(SetPendingIOException);
static ExceptionDelegate nullReferenceDelegate = new ExceptionDelegate(SetPendingNullReferenceException); static ExceptionDelegate nullReferenceDelegate = new ExceptionDelegate(SetPendingNullReferenceException);
static ExceptionDelegate outOfMemoryDelegate = new ExceptionDelegate(SetPendingOutOfMemoryException); static ExceptionDelegate outOfMemoryDelegate = new ExceptionDelegate(SetPendingOutOfMemoryException);
static ExceptionDelegate overflowDelegate = new ExceptionDelegate(SetPendingOverflowException); static ExceptionDelegate overflowDelegate = new ExceptionDelegate(SetPendingOverflowException);
static ExceptionDelegate systemDelegate = new ExceptionDelegate(SetPendingSystemException); static ExceptionDelegate systemDelegate = new ExceptionDelegate(SetPendingSystemException);
static ExceptionArgumentDelegate argumentDelegate = new ExceptionArgumentDelegate(SetPendingArgumentException); static ExceptionArgumentDelegate argumentDelegate = new ExceptionArgumentDelegate(SetPendingArgumentException);
static ExceptionArgumentDelegate argumentNullDelegate = new ExceptionArgumentDelegate(SetPendingArgumentNullException); static ExceptionArgumentDelegate argumentNullDelegate = new ExceptionArgumentDelegate(SetPendingArgumentNullException);
static ExceptionArgumentDelegate argumentOutOfRangeDelegate = new ExceptionArgumentDelegate(SetPendingArgumentOutOfRangeException); static ExceptionArgumentDelegate argumentOutOfRangeDelegate = new ExceptionArgumentDelegate(SetPendingArgumentOutOfRangeException);
[DllImport("tinyWRAP", EntryPoint="SWIGRegisterExceptionCallbacks_tinyWRAP")] [DllImport("tinyWRAP", EntryPoint="SWIGRegisterExceptionCallbacks_tinyWRAP")]
public static extern void SWIGRegisterExceptionCallbacks_tinyWRAP( public static extern void SWIGRegisterExceptionCallbacks_tinyWRAP(
ExceptionDelegate applicationDelegate, ExceptionDelegate applicationDelegate,
ExceptionDelegate arithmeticDelegate, ExceptionDelegate arithmeticDelegate,
ExceptionDelegate divideByZeroDelegate, ExceptionDelegate divideByZeroDelegate,
ExceptionDelegate indexOutOfRangeDelegate, ExceptionDelegate indexOutOfRangeDelegate,
ExceptionDelegate invalidCastDelegate, ExceptionDelegate invalidCastDelegate,
ExceptionDelegate invalidOperationDelegate, ExceptionDelegate invalidOperationDelegate,
ExceptionDelegate ioDelegate, ExceptionDelegate ioDelegate,
ExceptionDelegate nullReferenceDelegate, ExceptionDelegate nullReferenceDelegate,
ExceptionDelegate outOfMemoryDelegate, ExceptionDelegate outOfMemoryDelegate,
ExceptionDelegate overflowDelegate, ExceptionDelegate overflowDelegate,
ExceptionDelegate systemExceptionDelegate); ExceptionDelegate systemExceptionDelegate);
[DllImport("tinyWRAP", EntryPoint="SWIGRegisterExceptionArgumentCallbacks_tinyWRAP")] [DllImport("tinyWRAP", EntryPoint="SWIGRegisterExceptionArgumentCallbacks_tinyWRAP")]
public static extern void SWIGRegisterExceptionCallbacksArgument_tinyWRAP( public static extern void SWIGRegisterExceptionCallbacksArgument_tinyWRAP(
ExceptionArgumentDelegate argumentDelegate, ExceptionArgumentDelegate argumentDelegate,
ExceptionArgumentDelegate argumentNullDelegate, ExceptionArgumentDelegate argumentNullDelegate,
ExceptionArgumentDelegate argumentOutOfRangeDelegate); ExceptionArgumentDelegate argumentOutOfRangeDelegate);
static void SetPendingApplicationException(string message) { static void SetPendingApplicationException(string message) {
SWIGPendingException.Set(new System.ApplicationException(message, SWIGPendingException.Retrieve())); SWIGPendingException.Set(new System.ApplicationException(message, SWIGPendingException.Retrieve()));
} }
static void SetPendingArithmeticException(string message) { static void SetPendingArithmeticException(string message) {
SWIGPendingException.Set(new System.ArithmeticException(message, SWIGPendingException.Retrieve())); SWIGPendingException.Set(new System.ArithmeticException(message, SWIGPendingException.Retrieve()));
} }
static void SetPendingDivideByZeroException(string message) { static void SetPendingDivideByZeroException(string message) {
SWIGPendingException.Set(new System.DivideByZeroException(message, SWIGPendingException.Retrieve())); SWIGPendingException.Set(new System.DivideByZeroException(message, SWIGPendingException.Retrieve()));
} }
static void SetPendingIndexOutOfRangeException(string message) { static void SetPendingIndexOutOfRangeException(string message) {
SWIGPendingException.Set(new System.IndexOutOfRangeException(message, SWIGPendingException.Retrieve())); SWIGPendingException.Set(new System.IndexOutOfRangeException(message, SWIGPendingException.Retrieve()));
} }
static void SetPendingInvalidCastException(string message) { static void SetPendingInvalidCastException(string message) {
SWIGPendingException.Set(new System.InvalidCastException(message, SWIGPendingException.Retrieve())); SWIGPendingException.Set(new System.InvalidCastException(message, SWIGPendingException.Retrieve()));
} }
static void SetPendingInvalidOperationException(string message) { static void SetPendingInvalidOperationException(string message) {
SWIGPendingException.Set(new System.InvalidOperationException(message, SWIGPendingException.Retrieve())); SWIGPendingException.Set(new System.InvalidOperationException(message, SWIGPendingException.Retrieve()));
} }
static void SetPendingIOException(string message) { static void SetPendingIOException(string message) {
SWIGPendingException.Set(new System.IO.IOException(message, SWIGPendingException.Retrieve())); SWIGPendingException.Set(new System.IO.IOException(message, SWIGPendingException.Retrieve()));
} }
static void SetPendingNullReferenceException(string message) { static void SetPendingNullReferenceException(string message) {
SWIGPendingException.Set(new System.NullReferenceException(message, SWIGPendingException.Retrieve())); SWIGPendingException.Set(new System.NullReferenceException(message, SWIGPendingException.Retrieve()));
} }
static void SetPendingOutOfMemoryException(string message) { static void SetPendingOutOfMemoryException(string message) {
SWIGPendingException.Set(new System.OutOfMemoryException(message, SWIGPendingException.Retrieve())); SWIGPendingException.Set(new System.OutOfMemoryException(message, SWIGPendingException.Retrieve()));
} }
static void SetPendingOverflowException(string message) { static void SetPendingOverflowException(string message) {
SWIGPendingException.Set(new System.OverflowException(message, SWIGPendingException.Retrieve())); SWIGPendingException.Set(new System.OverflowException(message, SWIGPendingException.Retrieve()));
} }
static void SetPendingSystemException(string message) { static void SetPendingSystemException(string message) {
SWIGPendingException.Set(new System.SystemException(message, SWIGPendingException.Retrieve())); SWIGPendingException.Set(new System.SystemException(message, SWIGPendingException.Retrieve()));
} }
static void SetPendingArgumentException(string message, string paramName) { static void SetPendingArgumentException(string message, string paramName) {
SWIGPendingException.Set(new System.ArgumentException(message, paramName, SWIGPendingException.Retrieve())); SWIGPendingException.Set(new System.ArgumentException(message, paramName, SWIGPendingException.Retrieve()));
} }
static void SetPendingArgumentNullException(string message, string paramName) { static void SetPendingArgumentNullException(string message, string paramName) {
Exception e = SWIGPendingException.Retrieve(); Exception e = SWIGPendingException.Retrieve();
if (e != null) message = message + " Inner Exception: " + e.Message; if (e != null) message = message + " Inner Exception: " + e.Message;
SWIGPendingException.Set(new System.ArgumentNullException(paramName, message)); SWIGPendingException.Set(new System.ArgumentNullException(paramName, message));
} }
static void SetPendingArgumentOutOfRangeException(string message, string paramName) { static void SetPendingArgumentOutOfRangeException(string message, string paramName) {
Exception e = SWIGPendingException.Retrieve(); Exception e = SWIGPendingException.Retrieve();
if (e != null) message = message + " Inner Exception: " + e.Message; if (e != null) message = message + " Inner Exception: " + e.Message;
SWIGPendingException.Set(new System.ArgumentOutOfRangeException(paramName, message)); SWIGPendingException.Set(new System.ArgumentOutOfRangeException(paramName, message));
} }
static SWIGExceptionHelper() { static SWIGExceptionHelper() {
SWIGRegisterExceptionCallbacks_tinyWRAP( SWIGRegisterExceptionCallbacks_tinyWRAP(
applicationDelegate, applicationDelegate,
arithmeticDelegate, arithmeticDelegate,
divideByZeroDelegate, divideByZeroDelegate,
indexOutOfRangeDelegate, indexOutOfRangeDelegate,
invalidCastDelegate, invalidCastDelegate,
invalidOperationDelegate, invalidOperationDelegate,
ioDelegate, ioDelegate,
nullReferenceDelegate, nullReferenceDelegate,
outOfMemoryDelegate, outOfMemoryDelegate,
overflowDelegate, overflowDelegate,
systemDelegate); systemDelegate);
SWIGRegisterExceptionCallbacksArgument_tinyWRAP( SWIGRegisterExceptionCallbacksArgument_tinyWRAP(
argumentDelegate, argumentDelegate,
argumentNullDelegate, argumentNullDelegate,
argumentOutOfRangeDelegate); argumentOutOfRangeDelegate);
} }
} }
protected static SWIGExceptionHelper swigExceptionHelper = new SWIGExceptionHelper(); protected static SWIGExceptionHelper swigExceptionHelper = new SWIGExceptionHelper();
public class SWIGPendingException { public class SWIGPendingException {
[ThreadStatic] [ThreadStatic]
private static Exception pendingException = null; private static Exception pendingException = null;
private static int numExceptionsPending = 0; private static int numExceptionsPending = 0;
public static bool Pending { public static bool Pending {
get { get {
bool pending = false; bool pending = false;
if (numExceptionsPending > 0) if (numExceptionsPending > 0)
if (pendingException != null) if (pendingException != null)
pending = true; pending = true;
return pending; return pending;
} }
} }
public static void Set(Exception e) { public static void Set(Exception e) {
if (pendingException != null) if (pendingException != null)
throw new ApplicationException("FATAL: An earlier pending exception from unmanaged code was missed and thus not thrown (" + pendingException.ToString() + ")", e); throw new ApplicationException("FATAL: An earlier pending exception from unmanaged code was missed and thus not thrown (" + pendingException.ToString() + ")", e);
pendingException = e; pendingException = e;
lock(typeof(tinyWRAPPINVOKE)) { lock(typeof(tinyWRAPPINVOKE)) {
numExceptionsPending++; numExceptionsPending++;
} }
} }
public static Exception Retrieve() { public static Exception Retrieve() {
Exception e = null; Exception e = null;
if (numExceptionsPending > 0) { if (numExceptionsPending > 0) {
if (pendingException != null) { if (pendingException != null) {
e = pendingException; e = pendingException;
pendingException = null; pendingException = null;
lock(typeof(tinyWRAPPINVOKE)) { lock(typeof(tinyWRAPPINVOKE)) {
numExceptionsPending--; numExceptionsPending--;
} }
} }
} }
return e; return e;
} }
} }
protected class SWIGStringHelper { protected class SWIGStringHelper {
public delegate string SWIGStringDelegate(string message); public delegate string SWIGStringDelegate(string message);
static SWIGStringDelegate stringDelegate = new SWIGStringDelegate(CreateString); static SWIGStringDelegate stringDelegate = new SWIGStringDelegate(CreateString);
[DllImport("tinyWRAP", EntryPoint="SWIGRegisterStringCallback_tinyWRAP")] [DllImport("tinyWRAP", EntryPoint="SWIGRegisterStringCallback_tinyWRAP")]
public static extern void SWIGRegisterStringCallback_tinyWRAP(SWIGStringDelegate stringDelegate); public static extern void SWIGRegisterStringCallback_tinyWRAP(SWIGStringDelegate stringDelegate);
static string CreateString(string cString) { static string CreateString(string cString) {
return cString; return cString;
} }
static SWIGStringHelper() { static SWIGStringHelper() {
SWIGRegisterStringCallback_tinyWRAP(stringDelegate); SWIGRegisterStringCallback_tinyWRAP(stringDelegate);
} }
} }
static protected SWIGStringHelper swigStringHelper = new SWIGStringHelper(); static protected SWIGStringHelper swigStringHelper = new SWIGStringHelper();
[DllImport("tinyWRAP", EntryPoint="CSharp_new_SipUri")] [DllImport("tinyWRAP", EntryPoint="CSharp_new_SipUri")]
public static extern IntPtr new_SipUri(string jarg1); public static extern IntPtr new_SipUri(string jarg1);
[DllImport("tinyWRAP", EntryPoint="CSharp_delete_SipUri")] [DllImport("tinyWRAP", EntryPoint="CSharp_delete_SipUri")]
public static extern void delete_SipUri(HandleRef jarg1); public static extern void delete_SipUri(HandleRef jarg1);
[DllImport("tinyWRAP", EntryPoint="CSharp_SipUri_isValid__SWIG_0")] [DllImport("tinyWRAP", EntryPoint="CSharp_SipUri_isValid__SWIG_0")]
public static extern bool SipUri_isValid__SWIG_0(string jarg1); public static extern bool SipUri_isValid__SWIG_0(string jarg1);
[DllImport("tinyWRAP", EntryPoint="CSharp_SipUri_isValid__SWIG_1")] [DllImport("tinyWRAP", EntryPoint="CSharp_SipUri_isValid__SWIG_1")]
public static extern bool SipUri_isValid__SWIG_1(HandleRef jarg1); public static extern bool SipUri_isValid__SWIG_1(HandleRef jarg1);
[DllImport("tinyWRAP", EntryPoint="CSharp_new_SipEvent")] [DllImport("tinyWRAP", EntryPoint="CSharp_new_SipEvent")]
public static extern IntPtr new_SipEvent(); public static extern IntPtr new_SipEvent();
[DllImport("tinyWRAP", EntryPoint="CSharp_delete_SipEvent")] [DllImport("tinyWRAP", EntryPoint="CSharp_delete_SipEvent")]
public static extern void delete_SipEvent(HandleRef jarg1); public static extern void delete_SipEvent(HandleRef jarg1);
[DllImport("tinyWRAP", EntryPoint="CSharp_SipEvent_getCode")] [DllImport("tinyWRAP", EntryPoint="CSharp_SipEvent_getCode")]
public static extern short SipEvent_getCode(HandleRef jarg1); public static extern short SipEvent_getCode(HandleRef jarg1);
[DllImport("tinyWRAP", EntryPoint="CSharp_SipEvent_getPhrase")] [DllImport("tinyWRAP", EntryPoint="CSharp_SipEvent_getPhrase")]
public static extern string SipEvent_getPhrase(HandleRef jarg1); public static extern string SipEvent_getPhrase(HandleRef jarg1);
[DllImport("tinyWRAP", EntryPoint="CSharp_SipEvent_getBaseSession")] [DllImport("tinyWRAP", EntryPoint="CSharp_SipEvent_getBaseSession")]
public static extern IntPtr SipEvent_getBaseSession(HandleRef jarg1); public static extern IntPtr SipEvent_getBaseSession(HandleRef jarg1);
[DllImport("tinyWRAP", EntryPoint="CSharp_new_SipSession")] [DllImport("tinyWRAP", EntryPoint="CSharp_new_SipSession")]
public static extern IntPtr new_SipSession(HandleRef jarg1); public static extern IntPtr new_SipSession(HandleRef jarg1);
[DllImport("tinyWRAP", EntryPoint="CSharp_delete_SipSession")] [DllImport("tinyWRAP", EntryPoint="CSharp_delete_SipSession")]
public static extern void delete_SipSession(HandleRef jarg1); public static extern void delete_SipSession(HandleRef jarg1);
[DllImport("tinyWRAP", EntryPoint="CSharp_SipSession_addHeader")] [DllImport("tinyWRAP", EntryPoint="CSharp_SipSession_addHeader")]
public static extern bool SipSession_addHeader(HandleRef jarg1, string jarg2, string jarg3); public static extern bool SipSession_addHeader(HandleRef jarg1, string jarg2, string jarg3);
[DllImport("tinyWRAP", EntryPoint="CSharp_SipSession_removeHeader")] [DllImport("tinyWRAP", EntryPoint="CSharp_SipSession_removeHeader")]
public static extern bool SipSession_removeHeader(HandleRef jarg1, string jarg2); public static extern bool SipSession_removeHeader(HandleRef jarg1, string jarg2);
[DllImport("tinyWRAP", EntryPoint="CSharp_SipSession_addCaps__SWIG_0")] [DllImport("tinyWRAP", EntryPoint="CSharp_SipSession_addCaps__SWIG_0")]
public static extern bool SipSession_addCaps__SWIG_0(HandleRef jarg1, string jarg2, string jarg3); public static extern bool SipSession_addCaps__SWIG_0(HandleRef jarg1, string jarg2, string jarg3);
[DllImport("tinyWRAP", EntryPoint="CSharp_SipSession_addCaps__SWIG_1")] [DllImport("tinyWRAP", EntryPoint="CSharp_SipSession_addCaps__SWIG_1")]
public static extern bool SipSession_addCaps__SWIG_1(HandleRef jarg1, string jarg2); public static extern bool SipSession_addCaps__SWIG_1(HandleRef jarg1, string jarg2);
[DllImport("tinyWRAP", EntryPoint="CSharp_SipSession_removeCaps")] [DllImport("tinyWRAP", EntryPoint="CSharp_SipSession_removeCaps")]
public static extern bool SipSession_removeCaps(HandleRef jarg1, string jarg2); public static extern bool SipSession_removeCaps(HandleRef jarg1, string jarg2);
[DllImport("tinyWRAP", EntryPoint="CSharp_SipSession_setExpires")] [DllImport("tinyWRAP", EntryPoint="CSharp_SipSession_setExpires")]
public static extern bool SipSession_setExpires(HandleRef jarg1, uint jarg2); public static extern bool SipSession_setExpires(HandleRef jarg1, uint jarg2);
[DllImport("tinyWRAP", EntryPoint="CSharp_SipSession_setFromUri")] [DllImport("tinyWRAP", EntryPoint="CSharp_SipSession_setFromUri")]
public static extern bool SipSession_setFromUri(HandleRef jarg1, string jarg2); public static extern bool SipSession_setFromUri(HandleRef jarg1, string jarg2);
[DllImport("tinyWRAP", EntryPoint="CSharp_SipSession_setToUri")] [DllImport("tinyWRAP", EntryPoint="CSharp_SipSession_setToUri")]
public static extern bool SipSession_setToUri(HandleRef jarg1, string jarg2); public static extern bool SipSession_setToUri(HandleRef jarg1, string jarg2);
[DllImport("tinyWRAP", EntryPoint="CSharp_SipSession_setPayload")] [DllImport("tinyWRAP", EntryPoint="CSharp_SipSession_setPayload")]
public static extern bool SipSession_setPayload(HandleRef jarg1, string jarg2, uint jarg3); public static extern bool SipSession_setPayload(HandleRef jarg1, string jarg2, uint jarg3);
[DllImport("tinyWRAP", EntryPoint="CSharp_new_RegistrationEvent")] [DllImport("tinyWRAP", EntryPoint="CSharp_new_RegistrationEvent")]
public static extern IntPtr new_RegistrationEvent(); public static extern IntPtr new_RegistrationEvent();
[DllImport("tinyWRAP", EntryPoint="CSharp_delete_RegistrationEvent")] [DllImport("tinyWRAP", EntryPoint="CSharp_delete_RegistrationEvent")]
public static extern void delete_RegistrationEvent(HandleRef jarg1); public static extern void delete_RegistrationEvent(HandleRef jarg1);
[DllImport("tinyWRAP", EntryPoint="CSharp_RegistrationEvent_getType")] [DllImport("tinyWRAP", EntryPoint="CSharp_RegistrationEvent_getType")]
public static extern int RegistrationEvent_getType(HandleRef jarg1); public static extern int RegistrationEvent_getType(HandleRef jarg1);
[DllImport("tinyWRAP", EntryPoint="CSharp_RegistrationEvent_getSession")] [DllImport("tinyWRAP", EntryPoint="CSharp_RegistrationEvent_getSession")]
public static extern IntPtr RegistrationEvent_getSession(HandleRef jarg1); public static extern IntPtr RegistrationEvent_getSession(HandleRef jarg1);
[DllImport("tinyWRAP", EntryPoint="CSharp_new_RegistrationSession")] [DllImport("tinyWRAP", EntryPoint="CSharp_new_RegistrationSession")]
public static extern IntPtr new_RegistrationSession(HandleRef jarg1); public static extern IntPtr new_RegistrationSession(HandleRef jarg1);
[DllImport("tinyWRAP", EntryPoint="CSharp_delete_RegistrationSession")] [DllImport("tinyWRAP", EntryPoint="CSharp_delete_RegistrationSession")]
public static extern void delete_RegistrationSession(HandleRef jarg1); public static extern void delete_RegistrationSession(HandleRef jarg1);
[DllImport("tinyWRAP", EntryPoint="CSharp_RegistrationSession_Register")] [DllImport("tinyWRAP", EntryPoint="CSharp_RegistrationSession_Register")]
public static extern bool RegistrationSession_Register(HandleRef jarg1); public static extern bool RegistrationSession_Register(HandleRef jarg1);
[DllImport("tinyWRAP", EntryPoint="CSharp_RegistrationSession_UnRegister")] [DllImport("tinyWRAP", EntryPoint="CSharp_RegistrationSession_UnRegister")]
public static extern bool RegistrationSession_UnRegister(HandleRef jarg1); public static extern bool RegistrationSession_UnRegister(HandleRef jarg1);
[DllImport("tinyWRAP", EntryPoint="CSharp_new_SubscriptionEvent")] [DllImport("tinyWRAP", EntryPoint="CSharp_new_SubscriptionEvent")]
public static extern IntPtr new_SubscriptionEvent(); public static extern IntPtr new_SubscriptionEvent();
[DllImport("tinyWRAP", EntryPoint="CSharp_delete_SubscriptionEvent")] [DllImport("tinyWRAP", EntryPoint="CSharp_delete_SubscriptionEvent")]
public static extern void delete_SubscriptionEvent(HandleRef jarg1); public static extern void delete_SubscriptionEvent(HandleRef jarg1);
[DllImport("tinyWRAP", EntryPoint="CSharp_SubscriptionEvent_getType")] [DllImport("tinyWRAP", EntryPoint="CSharp_SubscriptionEvent_getType")]
public static extern int SubscriptionEvent_getType(HandleRef jarg1); public static extern int SubscriptionEvent_getType(HandleRef jarg1);
[DllImport("tinyWRAP", EntryPoint="CSharp_SubscriptionEvent_getSession")] [DllImport("tinyWRAP", EntryPoint="CSharp_SubscriptionEvent_getSession")]
public static extern IntPtr SubscriptionEvent_getSession(HandleRef jarg1); public static extern IntPtr SubscriptionEvent_getSession(HandleRef jarg1);
[DllImport("tinyWRAP", EntryPoint="CSharp_new_SubscriptionSession")] [DllImport("tinyWRAP", EntryPoint="CSharp_new_SubscriptionSession")]
public static extern IntPtr new_SubscriptionSession(HandleRef jarg1); public static extern IntPtr new_SubscriptionSession(HandleRef jarg1);
[DllImport("tinyWRAP", EntryPoint="CSharp_delete_SubscriptionSession")] [DllImport("tinyWRAP", EntryPoint="CSharp_delete_SubscriptionSession")]
public static extern void delete_SubscriptionSession(HandleRef jarg1); public static extern void delete_SubscriptionSession(HandleRef jarg1);
[DllImport("tinyWRAP", EntryPoint="CSharp_SubscriptionSession_Subscribe")] [DllImport("tinyWRAP", EntryPoint="CSharp_SubscriptionSession_Subscribe")]
public static extern bool SubscriptionSession_Subscribe(HandleRef jarg1); public static extern bool SubscriptionSession_Subscribe(HandleRef jarg1);
[DllImport("tinyWRAP", EntryPoint="CSharp_SubscriptionSession_UnSubscribe")] [DllImport("tinyWRAP", EntryPoint="CSharp_SubscriptionSession_UnSubscribe")]
public static extern bool SubscriptionSession_UnSubscribe(HandleRef jarg1); public static extern bool SubscriptionSession_UnSubscribe(HandleRef jarg1);
[DllImport("tinyWRAP", EntryPoint="CSharp_new_SipCallback")] [DllImport("tinyWRAP", EntryPoint="CSharp_new_SipCallback")]
public static extern IntPtr new_SipCallback(); public static extern IntPtr new_SipCallback();
[DllImport("tinyWRAP", EntryPoint="CSharp_delete_SipCallback")] [DllImport("tinyWRAP", EntryPoint="CSharp_delete_SipCallback")]
public static extern void delete_SipCallback(HandleRef jarg1); public static extern void delete_SipCallback(HandleRef jarg1);
[DllImport("tinyWRAP", EntryPoint="CSharp_SipCallback_OnRegistrationChanged")] [DllImport("tinyWRAP", EntryPoint="CSharp_SipCallback_OnRegistrationChanged")]
public static extern int SipCallback_OnRegistrationChanged(HandleRef jarg1, HandleRef jarg2); public static extern int SipCallback_OnRegistrationChanged(HandleRef jarg1, HandleRef jarg2);
[DllImport("tinyWRAP", EntryPoint="CSharp_SipCallback_OnRegistrationChangedSwigExplicitSipCallback")] [DllImport("tinyWRAP", EntryPoint="CSharp_SipCallback_OnRegistrationChangedSwigExplicitSipCallback")]
public static extern int SipCallback_OnRegistrationChangedSwigExplicitSipCallback(HandleRef jarg1, HandleRef jarg2); public static extern int SipCallback_OnRegistrationChangedSwigExplicitSipCallback(HandleRef jarg1, HandleRef jarg2);
[DllImport("tinyWRAP", EntryPoint="CSharp_SipCallback_OnSubscriptionChanged")] [DllImport("tinyWRAP", EntryPoint="CSharp_SipCallback_OnSubscriptionChanged")]
public static extern int SipCallback_OnSubscriptionChanged(HandleRef jarg1, HandleRef jarg2); public static extern int SipCallback_OnSubscriptionChanged(HandleRef jarg1, HandleRef jarg2);
[DllImport("tinyWRAP", EntryPoint="CSharp_SipCallback_OnSubscriptionChangedSwigExplicitSipCallback")] [DllImport("tinyWRAP", EntryPoint="CSharp_SipCallback_OnSubscriptionChangedSwigExplicitSipCallback")]
public static extern int SipCallback_OnSubscriptionChangedSwigExplicitSipCallback(HandleRef jarg1, HandleRef jarg2); public static extern int SipCallback_OnSubscriptionChangedSwigExplicitSipCallback(HandleRef jarg1, HandleRef jarg2);
[DllImport("tinyWRAP", EntryPoint="CSharp_SipCallback_director_connect")] [DllImport("tinyWRAP", EntryPoint="CSharp_SipCallback_director_connect")]
public static extern void SipCallback_director_connect(HandleRef jarg1, SipCallback.SwigDelegateSipCallback_0 delegate0, SipCallback.SwigDelegateSipCallback_1 delegate1); public static extern void SipCallback_director_connect(HandleRef jarg1, SipCallback.SwigDelegateSipCallback_0 delegate0, SipCallback.SwigDelegateSipCallback_1 delegate1);
[DllImport("tinyWRAP", EntryPoint="CSharp_new_SipDebugCallback")] [DllImport("tinyWRAP", EntryPoint="CSharp_new_SipDebugCallback")]
public static extern IntPtr new_SipDebugCallback(); public static extern IntPtr new_SipDebugCallback();
[DllImport("tinyWRAP", EntryPoint="CSharp_delete_SipDebugCallback")] [DllImport("tinyWRAP", EntryPoint="CSharp_delete_SipDebugCallback")]
public static extern void delete_SipDebugCallback(HandleRef jarg1); public static extern void delete_SipDebugCallback(HandleRef jarg1);
[DllImport("tinyWRAP", EntryPoint="CSharp_SipDebugCallback_OnDebugInfo")] [DllImport("tinyWRAP", EntryPoint="CSharp_SipDebugCallback_OnDebugInfo")]
public static extern int SipDebugCallback_OnDebugInfo(HandleRef jarg1, string jarg2); public static extern int SipDebugCallback_OnDebugInfo(HandleRef jarg1, string jarg2);
[DllImport("tinyWRAP", EntryPoint="CSharp_SipDebugCallback_OnDebugInfoSwigExplicitSipDebugCallback")] [DllImport("tinyWRAP", EntryPoint="CSharp_SipDebugCallback_OnDebugInfoSwigExplicitSipDebugCallback")]
public static extern int SipDebugCallback_OnDebugInfoSwigExplicitSipDebugCallback(HandleRef jarg1, string jarg2); public static extern int SipDebugCallback_OnDebugInfoSwigExplicitSipDebugCallback(HandleRef jarg1, string jarg2);
[DllImport("tinyWRAP", EntryPoint="CSharp_SipDebugCallback_OnDebugWarn")] [DllImport("tinyWRAP", EntryPoint="CSharp_SipDebugCallback_OnDebugWarn")]
public static extern int SipDebugCallback_OnDebugWarn(HandleRef jarg1, string jarg2); public static extern int SipDebugCallback_OnDebugWarn(HandleRef jarg1, string jarg2);
[DllImport("tinyWRAP", EntryPoint="CSharp_SipDebugCallback_OnDebugWarnSwigExplicitSipDebugCallback")] [DllImport("tinyWRAP", EntryPoint="CSharp_SipDebugCallback_OnDebugWarnSwigExplicitSipDebugCallback")]
public static extern int SipDebugCallback_OnDebugWarnSwigExplicitSipDebugCallback(HandleRef jarg1, string jarg2); public static extern int SipDebugCallback_OnDebugWarnSwigExplicitSipDebugCallback(HandleRef jarg1, string jarg2);
[DllImport("tinyWRAP", EntryPoint="CSharp_SipDebugCallback_OnDebugError")] [DllImport("tinyWRAP", EntryPoint="CSharp_SipDebugCallback_OnDebugError")]
public static extern int SipDebugCallback_OnDebugError(HandleRef jarg1, string jarg2); public static extern int SipDebugCallback_OnDebugError(HandleRef jarg1, string jarg2);
[DllImport("tinyWRAP", EntryPoint="CSharp_SipDebugCallback_OnDebugErrorSwigExplicitSipDebugCallback")] [DllImport("tinyWRAP", EntryPoint="CSharp_SipDebugCallback_OnDebugErrorSwigExplicitSipDebugCallback")]
public static extern int SipDebugCallback_OnDebugErrorSwigExplicitSipDebugCallback(HandleRef jarg1, string jarg2); public static extern int SipDebugCallback_OnDebugErrorSwigExplicitSipDebugCallback(HandleRef jarg1, string jarg2);
[DllImport("tinyWRAP", EntryPoint="CSharp_SipDebugCallback_OnDebugFatal")] [DllImport("tinyWRAP", EntryPoint="CSharp_SipDebugCallback_OnDebugFatal")]
public static extern int SipDebugCallback_OnDebugFatal(HandleRef jarg1, string jarg2); public static extern int SipDebugCallback_OnDebugFatal(HandleRef jarg1, string jarg2);
[DllImport("tinyWRAP", EntryPoint="CSharp_SipDebugCallback_OnDebugFatalSwigExplicitSipDebugCallback")] [DllImport("tinyWRAP", EntryPoint="CSharp_SipDebugCallback_OnDebugFatalSwigExplicitSipDebugCallback")]
public static extern int SipDebugCallback_OnDebugFatalSwigExplicitSipDebugCallback(HandleRef jarg1, string jarg2); public static extern int SipDebugCallback_OnDebugFatalSwigExplicitSipDebugCallback(HandleRef jarg1, string jarg2);
[DllImport("tinyWRAP", EntryPoint="CSharp_SipDebugCallback_director_connect")] [DllImport("tinyWRAP", EntryPoint="CSharp_SipDebugCallback_director_connect")]
public static extern void SipDebugCallback_director_connect(HandleRef jarg1, SipDebugCallback.SwigDelegateSipDebugCallback_0 delegate0, SipDebugCallback.SwigDelegateSipDebugCallback_1 delegate1, SipDebugCallback.SwigDelegateSipDebugCallback_2 delegate2, SipDebugCallback.SwigDelegateSipDebugCallback_3 delegate3); public static extern void SipDebugCallback_director_connect(HandleRef jarg1, SipDebugCallback.SwigDelegateSipDebugCallback_0 delegate0, SipDebugCallback.SwigDelegateSipDebugCallback_1 delegate1, SipDebugCallback.SwigDelegateSipDebugCallback_2 delegate2, SipDebugCallback.SwigDelegateSipDebugCallback_3 delegate3);
[DllImport("tinyWRAP", EntryPoint="CSharp_new_SafeObject")] [DllImport("tinyWRAP", EntryPoint="CSharp_new_SafeObject")]
public static extern IntPtr new_SafeObject(); public static extern IntPtr new_SafeObject();
[DllImport("tinyWRAP", EntryPoint="CSharp_delete_SafeObject")] [DllImport("tinyWRAP", EntryPoint="CSharp_delete_SafeObject")]
public static extern void delete_SafeObject(HandleRef jarg1); public static extern void delete_SafeObject(HandleRef jarg1);
[DllImport("tinyWRAP", EntryPoint="CSharp_SafeObject_Lock")] [DllImport("tinyWRAP", EntryPoint="CSharp_SafeObject_Lock")]
public static extern int SafeObject_Lock(HandleRef jarg1); public static extern int SafeObject_Lock(HandleRef jarg1);
[DllImport("tinyWRAP", EntryPoint="CSharp_SafeObject_UnLock")] [DllImport("tinyWRAP", EntryPoint="CSharp_SafeObject_UnLock")]
public static extern int SafeObject_UnLock(HandleRef jarg1); public static extern int SafeObject_UnLock(HandleRef jarg1);
[DllImport("tinyWRAP", EntryPoint="CSharp_new_SipStack")] [DllImport("tinyWRAP", EntryPoint="CSharp_new_SipStack")]
public static extern IntPtr new_SipStack(HandleRef jarg1, string jarg2, string jarg3, string jarg4); public static extern IntPtr new_SipStack(HandleRef jarg1, string jarg2, string jarg3, string jarg4);
[DllImport("tinyWRAP", EntryPoint="CSharp_delete_SipStack")] [DllImport("tinyWRAP", EntryPoint="CSharp_delete_SipStack")]
public static extern void delete_SipStack(HandleRef jarg1); public static extern void delete_SipStack(HandleRef jarg1);
[DllImport("tinyWRAP", EntryPoint="CSharp_SipStack_start")] [DllImport("tinyWRAP", EntryPoint="CSharp_SipStack_start")]
public static extern bool SipStack_start(HandleRef jarg1); public static extern bool SipStack_start(HandleRef jarg1);
[DllImport("tinyWRAP", EntryPoint="CSharp_SipStack_setDebugCallback")] [DllImport("tinyWRAP", EntryPoint="CSharp_SipStack_setDebugCallback")]
public static extern bool SipStack_setDebugCallback(HandleRef jarg1, HandleRef jarg2); public static extern bool SipStack_setDebugCallback(HandleRef jarg1, HandleRef jarg2);
[DllImport("tinyWRAP", EntryPoint="CSharp_SipStack_setRealm")] [DllImport("tinyWRAP", EntryPoint="CSharp_SipStack_setRealm")]
public static extern bool SipStack_setRealm(HandleRef jarg1, string jarg2); public static extern bool SipStack_setRealm(HandleRef jarg1, string jarg2);
[DllImport("tinyWRAP", EntryPoint="CSharp_SipStack_setIMPI")] [DllImport("tinyWRAP", EntryPoint="CSharp_SipStack_setIMPI")]
public static extern bool SipStack_setIMPI(HandleRef jarg1, string jarg2); public static extern bool SipStack_setIMPI(HandleRef jarg1, string jarg2);
[DllImport("tinyWRAP", EntryPoint="CSharp_SipStack_setIMPU")] [DllImport("tinyWRAP", EntryPoint="CSharp_SipStack_setIMPU")]
public static extern bool SipStack_setIMPU(HandleRef jarg1, string jarg2); public static extern bool SipStack_setIMPU(HandleRef jarg1, string jarg2);
[DllImport("tinyWRAP", EntryPoint="CSharp_SipStack_setPassword")] [DllImport("tinyWRAP", EntryPoint="CSharp_SipStack_setPassword")]
public static extern bool SipStack_setPassword(HandleRef jarg1, string jarg2); public static extern bool SipStack_setPassword(HandleRef jarg1, string jarg2);
[DllImport("tinyWRAP", EntryPoint="CSharp_SipStack_setProxyCSCF")] [DllImport("tinyWRAP", EntryPoint="CSharp_SipStack_setProxyCSCF")]
public static extern bool SipStack_setProxyCSCF(HandleRef jarg1, string jarg2, uint jarg3, string jarg4, string jarg5); public static extern bool SipStack_setProxyCSCF(HandleRef jarg1, string jarg2, uint jarg3, string jarg4, string jarg5);
[DllImport("tinyWRAP", EntryPoint="CSharp_SipStack_setLocalIP")] [DllImport("tinyWRAP", EntryPoint="CSharp_SipStack_setLocalIP")]
public static extern bool SipStack_setLocalIP(HandleRef jarg1, string jarg2); public static extern bool SipStack_setLocalIP(HandleRef jarg1, string jarg2);
[DllImport("tinyWRAP", EntryPoint="CSharp_SipStack_setLocalPort")] [DllImport("tinyWRAP", EntryPoint="CSharp_SipStack_setLocalPort")]
public static extern bool SipStack_setLocalPort(HandleRef jarg1, uint jarg2); public static extern bool SipStack_setLocalPort(HandleRef jarg1, uint jarg2);
[DllImport("tinyWRAP", EntryPoint="CSharp_SipStack_setEarlyIMS")] [DllImport("tinyWRAP", EntryPoint="CSharp_SipStack_setEarlyIMS")]
public static extern bool SipStack_setEarlyIMS(HandleRef jarg1, bool jarg2); public static extern bool SipStack_setEarlyIMS(HandleRef jarg1, bool jarg2);
[DllImport("tinyWRAP", EntryPoint="CSharp_SipStack_addHeader")] [DllImport("tinyWRAP", EntryPoint="CSharp_SipStack_addHeader")]
public static extern bool SipStack_addHeader(HandleRef jarg1, string jarg2, string jarg3); public static extern bool SipStack_addHeader(HandleRef jarg1, string jarg2, string jarg3);
[DllImport("tinyWRAP", EntryPoint="CSharp_SipStack_removeHeader")] [DllImport("tinyWRAP", EntryPoint="CSharp_SipStack_removeHeader")]
public static extern bool SipStack_removeHeader(HandleRef jarg1, string jarg2); public static extern bool SipStack_removeHeader(HandleRef jarg1, string jarg2);
[DllImport("tinyWRAP", EntryPoint="CSharp_SipStack_addDnsServer")] [DllImport("tinyWRAP", EntryPoint="CSharp_SipStack_addDnsServer")]
public static extern bool SipStack_addDnsServer(HandleRef jarg1, string jarg2); public static extern bool SipStack_addDnsServer(HandleRef jarg1, string jarg2);
[DllImport("tinyWRAP", EntryPoint="CSharp_SipStack_isValid")] [DllImport("tinyWRAP", EntryPoint="CSharp_SipStack_isValid")]
public static extern bool SipStack_isValid(HandleRef jarg1); public static extern bool SipStack_isValid(HandleRef jarg1);
[DllImport("tinyWRAP", EntryPoint="CSharp_SipStack_stop")] [DllImport("tinyWRAP", EntryPoint="CSharp_SipStack_stop")]
public static extern bool SipStack_stop(HandleRef jarg1); public static extern bool SipStack_stop(HandleRef jarg1);
[DllImport("tinyWRAP", EntryPoint="CSharp_RegistrationEventUpcast")] [DllImport("tinyWRAP", EntryPoint="CSharp_RegistrationEventUpcast")]
public static extern IntPtr RegistrationEventUpcast(IntPtr objectRef); public static extern IntPtr RegistrationEventUpcast(IntPtr objectRef);
[DllImport("tinyWRAP", EntryPoint="CSharp_RegistrationSessionUpcast")] [DllImport("tinyWRAP", EntryPoint="CSharp_RegistrationSessionUpcast")]
public static extern IntPtr RegistrationSessionUpcast(IntPtr objectRef); public static extern IntPtr RegistrationSessionUpcast(IntPtr objectRef);
[DllImport("tinyWRAP", EntryPoint="CSharp_SubscriptionEventUpcast")] [DllImport("tinyWRAP", EntryPoint="CSharp_SubscriptionEventUpcast")]
public static extern IntPtr SubscriptionEventUpcast(IntPtr objectRef); public static extern IntPtr SubscriptionEventUpcast(IntPtr objectRef);
[DllImport("tinyWRAP", EntryPoint="CSharp_SubscriptionSessionUpcast")] [DllImport("tinyWRAP", EntryPoint="CSharp_SubscriptionSessionUpcast")]
public static extern IntPtr SubscriptionSessionUpcast(IntPtr objectRef); public static extern IntPtr SubscriptionSessionUpcast(IntPtr objectRef);
[DllImport("tinyWRAP", EntryPoint="CSharp_SipStackUpcast")] [DllImport("tinyWRAP", EntryPoint="CSharp_SipStackUpcast")]
public static extern IntPtr SipStackUpcast(IntPtr objectRef); public static extern IntPtr SipStackUpcast(IntPtr objectRef);
} }

File diff suppressed because it is too large Load Diff

View File

@ -1,57 +1,57 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 1.3.39
* *
* This file is not intended to be easily readable and contains a number of * 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 * coding conventions designed to improve portability and efficiency. Do not make
* changes to this file unless you know what you are doing--modify the SWIG * changes to this file unless you know what you are doing--modify the SWIG
* interface file instead. * interface file instead.
* ----------------------------------------------------------------------------- */ * ----------------------------------------------------------------------------- */
#ifndef SWIG_tinyWRAP_WRAP_H_ #ifndef SWIG_tinyWRAP_WRAP_H_
#define SWIG_tinyWRAP_WRAP_H_ #define SWIG_tinyWRAP_WRAP_H_
class SwigDirector_SipCallback : public SipCallback, public Swig::Director { class SwigDirector_SipCallback : public SipCallback, public Swig::Director {
public: public:
SwigDirector_SipCallback(); SwigDirector_SipCallback();
virtual ~SwigDirector_SipCallback(); virtual ~SwigDirector_SipCallback();
virtual int OnRegistrationChanged(RegistrationEvent const *e); virtual int OnRegistrationChanged(RegistrationEvent const *e);
virtual int OnSubscriptionChanged(SubscriptionEvent const *e); virtual int OnSubscriptionChanged(SubscriptionEvent const *e);
typedef int (SWIGSTDCALL* SWIG_Callback0_t)(void *); typedef int (SWIGSTDCALL* SWIG_Callback0_t)(void *);
typedef int (SWIGSTDCALL* SWIG_Callback1_t)(void *); typedef int (SWIGSTDCALL* SWIG_Callback1_t)(void *);
void swig_connect_director(SWIG_Callback0_t callbackOnRegistrationChanged, SWIG_Callback1_t callbackOnSubscriptionChanged); void swig_connect_director(SWIG_Callback0_t callbackOnRegistrationChanged, SWIG_Callback1_t callbackOnSubscriptionChanged);
private: private:
SWIG_Callback0_t swig_callbackOnRegistrationChanged; SWIG_Callback0_t swig_callbackOnRegistrationChanged;
SWIG_Callback1_t swig_callbackOnSubscriptionChanged; SWIG_Callback1_t swig_callbackOnSubscriptionChanged;
void swig_init_callbacks(); void swig_init_callbacks();
}; };
class SwigDirector_SipDebugCallback : public SipDebugCallback, public Swig::Director { class SwigDirector_SipDebugCallback : public SipDebugCallback, public Swig::Director {
public: public:
SwigDirector_SipDebugCallback(); SwigDirector_SipDebugCallback();
virtual ~SwigDirector_SipDebugCallback(); virtual ~SwigDirector_SipDebugCallback();
virtual int OnDebugInfo(char const *message); virtual int OnDebugInfo(char const *message);
virtual int OnDebugWarn(char const *message); virtual int OnDebugWarn(char const *message);
virtual int OnDebugError(char const *message); virtual int OnDebugError(char const *message);
virtual int OnDebugFatal(char const *message); virtual int OnDebugFatal(char const *message);
typedef int (SWIGSTDCALL* SWIG_Callback0_t)(char *); typedef int (SWIGSTDCALL* SWIG_Callback0_t)(char *);
typedef int (SWIGSTDCALL* SWIG_Callback1_t)(char *); typedef int (SWIGSTDCALL* SWIG_Callback1_t)(char *);
typedef int (SWIGSTDCALL* SWIG_Callback2_t)(char *); typedef int (SWIGSTDCALL* SWIG_Callback2_t)(char *);
typedef int (SWIGSTDCALL* SWIG_Callback3_t)(char *); typedef int (SWIGSTDCALL* SWIG_Callback3_t)(char *);
void swig_connect_director(SWIG_Callback0_t callbackOnDebugInfo, SWIG_Callback1_t callbackOnDebugWarn, SWIG_Callback2_t callbackOnDebugError, SWIG_Callback3_t callbackOnDebugFatal); void swig_connect_director(SWIG_Callback0_t callbackOnDebugInfo, SWIG_Callback1_t callbackOnDebugWarn, SWIG_Callback2_t callbackOnDebugError, SWIG_Callback3_t callbackOnDebugFatal);
private: private:
SWIG_Callback0_t swig_callbackOnDebugInfo; SWIG_Callback0_t swig_callbackOnDebugInfo;
SWIG_Callback1_t swig_callbackOnDebugWarn; SWIG_Callback1_t swig_callbackOnDebugWarn;
SWIG_Callback2_t swig_callbackOnDebugError; SWIG_Callback2_t swig_callbackOnDebugError;
SWIG_Callback3_t swig_callbackOnDebugFatal; SWIG_Callback3_t swig_callbackOnDebugFatal;
void swig_init_callbacks(); void swig_init_callbacks();
}; };
#endif #endif

View File

@ -1,18 +1,18 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 1.3.39
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
* ----------------------------------------------------------------------------- */ * ----------------------------------------------------------------------------- */
public enum tsip_event_type_t { public enum tsip_event_type_t {
tsip_event_invite, tsip_event_invite,
tsip_event_message, tsip_event_message,
tsip_event_options, tsip_event_options,
tsip_event_publish, tsip_event_publish,
tsip_event_register, tsip_event_register,
tsip_event_subscribe, tsip_event_subscribe,
tsip_event_dialog tsip_event_dialog
} }

View File

@ -1,19 +1,19 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 1.3.39
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
* ----------------------------------------------------------------------------- */ * ----------------------------------------------------------------------------- */
public enum tsip_register_event_type_t { public enum tsip_register_event_type_t {
tsip_i_register, tsip_i_register,
tsip_ai_register, tsip_ai_register,
tsip_o_register, tsip_o_register,
tsip_ao_register, tsip_ao_register,
tsip_i_unregister, tsip_i_unregister,
tsip_ai_unregister, tsip_ai_unregister,
tsip_o_unregister, tsip_o_unregister,
tsip_ao_unregister tsip_ao_unregister
} }

View File

@ -1,23 +1,23 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 1.3.39
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
* ----------------------------------------------------------------------------- */ * ----------------------------------------------------------------------------- */
public enum tsip_subscribe_event_type_t { public enum tsip_subscribe_event_type_t {
tsip_i_subscribe, tsip_i_subscribe,
tsip_ai_subscribe, tsip_ai_subscribe,
tsip_o_subscribe, tsip_o_subscribe,
tsip_ao_subscribe, tsip_ao_subscribe,
tsip_i_unsubscribe, tsip_i_unsubscribe,
tsip_ai_unsubscribe, tsip_ai_unsubscribe,
tsip_o_unsubscribe, tsip_o_unsubscribe,
tsip_ao_unsubscribe, tsip_ao_unsubscribe,
tsip_i_notify, tsip_i_notify,
tsip_ai_notify, tsip_ai_notify,
tsip_o_notify, tsip_o_notify,
tsip_ao_notify tsip_ao_notify
} }

View File

@ -1,49 +1,49 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 1.3.39
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
* ----------------------------------------------------------------------------- */ * ----------------------------------------------------------------------------- */
package org.doubango.tinyWRAP; package org.doubango.tinyWRAP;
public class RegistrationEvent extends SipEvent { public class RegistrationEvent extends SipEvent {
private long swigCPtr; private long swigCPtr;
protected RegistrationEvent(long cPtr, boolean cMemoryOwn) { protected RegistrationEvent(long cPtr, boolean cMemoryOwn) {
super(tinyWRAPJNI.SWIGRegistrationEventUpcast(cPtr), cMemoryOwn); super(tinyWRAPJNI.SWIGRegistrationEventUpcast(cPtr), cMemoryOwn);
swigCPtr = cPtr; swigCPtr = cPtr;
} }
protected static long getCPtr(RegistrationEvent obj) { protected static long getCPtr(RegistrationEvent obj) {
return (obj == null) ? 0 : obj.swigCPtr; return (obj == null) ? 0 : obj.swigCPtr;
} }
protected void finalize() { protected void finalize() {
delete(); delete();
} }
public synchronized void delete() { public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) { if(swigCPtr != 0 && swigCMemOwn) {
swigCMemOwn = false; swigCMemOwn = false;
tinyWRAPJNI.delete_RegistrationEvent(swigCPtr); tinyWRAPJNI.delete_RegistrationEvent(swigCPtr);
} }
swigCPtr = 0; swigCPtr = 0;
super.delete(); super.delete();
} }
public RegistrationEvent() { public RegistrationEvent() {
this(tinyWRAPJNI.new_RegistrationEvent(), true); this(tinyWRAPJNI.new_RegistrationEvent(), true);
} }
public tsip_register_event_type_t getType() { public tsip_register_event_type_t getType() {
return tsip_register_event_type_t.swigToEnum(tinyWRAPJNI.RegistrationEvent_getType(swigCPtr, this)); return tsip_register_event_type_t.swigToEnum(tinyWRAPJNI.RegistrationEvent_getType(swigCPtr, this));
} }
public RegistrationSession getSession() { public RegistrationSession getSession() {
long cPtr = tinyWRAPJNI.RegistrationEvent_getSession(swigCPtr, this); long cPtr = tinyWRAPJNI.RegistrationEvent_getSession(swigCPtr, this);
return (cPtr == 0) ? null : new RegistrationSession(cPtr, false); return (cPtr == 0) ? null : new RegistrationSession(cPtr, false);
} }
} }

View File

@ -1,48 +1,48 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 1.3.39
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
* ----------------------------------------------------------------------------- */ * ----------------------------------------------------------------------------- */
package org.doubango.tinyWRAP; package org.doubango.tinyWRAP;
public class RegistrationSession extends SipSession { public class RegistrationSession extends SipSession {
private long swigCPtr; private long swigCPtr;
protected RegistrationSession(long cPtr, boolean cMemoryOwn) { protected RegistrationSession(long cPtr, boolean cMemoryOwn) {
super(tinyWRAPJNI.SWIGRegistrationSessionUpcast(cPtr), cMemoryOwn); super(tinyWRAPJNI.SWIGRegistrationSessionUpcast(cPtr), cMemoryOwn);
swigCPtr = cPtr; swigCPtr = cPtr;
} }
protected static long getCPtr(RegistrationSession obj) { protected static long getCPtr(RegistrationSession obj) {
return (obj == null) ? 0 : obj.swigCPtr; return (obj == null) ? 0 : obj.swigCPtr;
} }
protected void finalize() { protected void finalize() {
delete(); delete();
} }
public synchronized void delete() { public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) { if(swigCPtr != 0 && swigCMemOwn) {
swigCMemOwn = false; swigCMemOwn = false;
tinyWRAPJNI.delete_RegistrationSession(swigCPtr); tinyWRAPJNI.delete_RegistrationSession(swigCPtr);
} }
swigCPtr = 0; swigCPtr = 0;
super.delete(); super.delete();
} }
public RegistrationSession(SipStack Stack) { public RegistrationSession(SipStack Stack) {
this(tinyWRAPJNI.new_RegistrationSession(SipStack.getCPtr(Stack), Stack), true); this(tinyWRAPJNI.new_RegistrationSession(SipStack.getCPtr(Stack), Stack), true);
} }
public boolean Register() { public boolean Register() {
return tinyWRAPJNI.RegistrationSession_Register(swigCPtr, this); return tinyWRAPJNI.RegistrationSession_Register(swigCPtr, this);
} }
public boolean UnRegister() { public boolean UnRegister() {
return tinyWRAPJNI.RegistrationSession_UnRegister(swigCPtr, this); return tinyWRAPJNI.RegistrationSession_UnRegister(swigCPtr, this);
} }
} }

View File

@ -1,48 +1,48 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 1.3.39
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
* ----------------------------------------------------------------------------- */ * ----------------------------------------------------------------------------- */
package org.doubango.tinyWRAP; package org.doubango.tinyWRAP;
public class SafeObject { public class SafeObject {
private long swigCPtr; private long swigCPtr;
protected boolean swigCMemOwn; protected boolean swigCMemOwn;
protected SafeObject(long cPtr, boolean cMemoryOwn) { protected SafeObject(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn; swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr; swigCPtr = cPtr;
} }
protected static long getCPtr(SafeObject obj) { protected static long getCPtr(SafeObject obj) {
return (obj == null) ? 0 : obj.swigCPtr; return (obj == null) ? 0 : obj.swigCPtr;
} }
protected void finalize() { protected void finalize() {
delete(); delete();
} }
public synchronized void delete() { public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) { if(swigCPtr != 0 && swigCMemOwn) {
swigCMemOwn = false; swigCMemOwn = false;
tinyWRAPJNI.delete_SafeObject(swigCPtr); tinyWRAPJNI.delete_SafeObject(swigCPtr);
} }
swigCPtr = 0; swigCPtr = 0;
} }
public SafeObject() { public SafeObject() {
this(tinyWRAPJNI.new_SafeObject(), true); this(tinyWRAPJNI.new_SafeObject(), true);
} }
public int Lock() { public int Lock() {
return tinyWRAPJNI.SafeObject_Lock(swigCPtr, this); return tinyWRAPJNI.SafeObject_Lock(swigCPtr, this);
} }
public int UnLock() { public int UnLock() {
return tinyWRAPJNI.SafeObject_UnLock(swigCPtr, this); return tinyWRAPJNI.SafeObject_UnLock(swigCPtr, this);
} }
} }

View File

@ -1,64 +1,64 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 1.3.39
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
* ----------------------------------------------------------------------------- */ * ----------------------------------------------------------------------------- */
package org.doubango.tinyWRAP; package org.doubango.tinyWRAP;
public class SipCallback { public class SipCallback {
private long swigCPtr; private long swigCPtr;
protected boolean swigCMemOwn; protected boolean swigCMemOwn;
protected SipCallback(long cPtr, boolean cMemoryOwn) { protected SipCallback(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn; swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr; swigCPtr = cPtr;
} }
protected static long getCPtr(SipCallback obj) { protected static long getCPtr(SipCallback obj) {
return (obj == null) ? 0 : obj.swigCPtr; return (obj == null) ? 0 : obj.swigCPtr;
} }
protected void finalize() { protected void finalize() {
delete(); delete();
} }
public synchronized void delete() { public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) { if(swigCPtr != 0 && swigCMemOwn) {
swigCMemOwn = false; swigCMemOwn = false;
tinyWRAPJNI.delete_SipCallback(swigCPtr); tinyWRAPJNI.delete_SipCallback(swigCPtr);
} }
swigCPtr = 0; swigCPtr = 0;
} }
protected void swigDirectorDisconnect() { protected void swigDirectorDisconnect() {
swigCMemOwn = false; swigCMemOwn = false;
delete(); delete();
} }
public void swigReleaseOwnership() { public void swigReleaseOwnership() {
swigCMemOwn = false; swigCMemOwn = false;
tinyWRAPJNI.SipCallback_change_ownership(this, swigCPtr, false); tinyWRAPJNI.SipCallback_change_ownership(this, swigCPtr, false);
} }
public void swigTakeOwnership() { public void swigTakeOwnership() {
swigCMemOwn = true; swigCMemOwn = true;
tinyWRAPJNI.SipCallback_change_ownership(this, swigCPtr, true); tinyWRAPJNI.SipCallback_change_ownership(this, swigCPtr, true);
} }
public SipCallback() { public SipCallback() {
this(tinyWRAPJNI.new_SipCallback(), true); this(tinyWRAPJNI.new_SipCallback(), true);
tinyWRAPJNI.SipCallback_director_connect(this, swigCPtr, swigCMemOwn, true); tinyWRAPJNI.SipCallback_director_connect(this, swigCPtr, swigCMemOwn, true);
} }
public int OnRegistrationChanged(RegistrationEvent e) { public int OnRegistrationChanged(RegistrationEvent e) {
return (getClass() == SipCallback.class) ? tinyWRAPJNI.SipCallback_OnRegistrationChanged(swigCPtr, this, RegistrationEvent.getCPtr(e), e) : tinyWRAPJNI.SipCallback_OnRegistrationChangedSwigExplicitSipCallback(swigCPtr, this, RegistrationEvent.getCPtr(e), e); return (getClass() == SipCallback.class) ? tinyWRAPJNI.SipCallback_OnRegistrationChanged(swigCPtr, this, RegistrationEvent.getCPtr(e), e) : tinyWRAPJNI.SipCallback_OnRegistrationChangedSwigExplicitSipCallback(swigCPtr, this, RegistrationEvent.getCPtr(e), e);
} }
public int OnSubscriptionChanged(SubscriptionEvent e) { public int OnSubscriptionChanged(SubscriptionEvent e) {
return (getClass() == SipCallback.class) ? tinyWRAPJNI.SipCallback_OnSubscriptionChanged(swigCPtr, this, SubscriptionEvent.getCPtr(e), e) : tinyWRAPJNI.SipCallback_OnSubscriptionChangedSwigExplicitSipCallback(swigCPtr, this, SubscriptionEvent.getCPtr(e), e); return (getClass() == SipCallback.class) ? tinyWRAPJNI.SipCallback_OnSubscriptionChanged(swigCPtr, this, SubscriptionEvent.getCPtr(e), e) : tinyWRAPJNI.SipCallback_OnSubscriptionChangedSwigExplicitSipCallback(swigCPtr, this, SubscriptionEvent.getCPtr(e), e);
} }
} }

View File

@ -1,72 +1,72 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 1.3.39
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
* ----------------------------------------------------------------------------- */ * ----------------------------------------------------------------------------- */
package org.doubango.tinyWRAP; package org.doubango.tinyWRAP;
public class SipDebugCallback { public class SipDebugCallback {
private long swigCPtr; private long swigCPtr;
protected boolean swigCMemOwn; protected boolean swigCMemOwn;
protected SipDebugCallback(long cPtr, boolean cMemoryOwn) { protected SipDebugCallback(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn; swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr; swigCPtr = cPtr;
} }
protected static long getCPtr(SipDebugCallback obj) { protected static long getCPtr(SipDebugCallback obj) {
return (obj == null) ? 0 : obj.swigCPtr; return (obj == null) ? 0 : obj.swigCPtr;
} }
protected void finalize() { protected void finalize() {
delete(); delete();
} }
public synchronized void delete() { public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) { if(swigCPtr != 0 && swigCMemOwn) {
swigCMemOwn = false; swigCMemOwn = false;
tinyWRAPJNI.delete_SipDebugCallback(swigCPtr); tinyWRAPJNI.delete_SipDebugCallback(swigCPtr);
} }
swigCPtr = 0; swigCPtr = 0;
} }
protected void swigDirectorDisconnect() { protected void swigDirectorDisconnect() {
swigCMemOwn = false; swigCMemOwn = false;
delete(); delete();
} }
public void swigReleaseOwnership() { public void swigReleaseOwnership() {
swigCMemOwn = false; swigCMemOwn = false;
tinyWRAPJNI.SipDebugCallback_change_ownership(this, swigCPtr, false); tinyWRAPJNI.SipDebugCallback_change_ownership(this, swigCPtr, false);
} }
public void swigTakeOwnership() { public void swigTakeOwnership() {
swigCMemOwn = true; swigCMemOwn = true;
tinyWRAPJNI.SipDebugCallback_change_ownership(this, swigCPtr, true); tinyWRAPJNI.SipDebugCallback_change_ownership(this, swigCPtr, true);
} }
public SipDebugCallback() { public SipDebugCallback() {
this(tinyWRAPJNI.new_SipDebugCallback(), true); this(tinyWRAPJNI.new_SipDebugCallback(), true);
tinyWRAPJNI.SipDebugCallback_director_connect(this, swigCPtr, swigCMemOwn, true); tinyWRAPJNI.SipDebugCallback_director_connect(this, swigCPtr, swigCMemOwn, true);
} }
public int OnDebugInfo(String message) { public int OnDebugInfo(String message) {
return (getClass() == SipDebugCallback.class) ? tinyWRAPJNI.SipDebugCallback_OnDebugInfo(swigCPtr, this, message) : tinyWRAPJNI.SipDebugCallback_OnDebugInfoSwigExplicitSipDebugCallback(swigCPtr, this, message); return (getClass() == SipDebugCallback.class) ? tinyWRAPJNI.SipDebugCallback_OnDebugInfo(swigCPtr, this, message) : tinyWRAPJNI.SipDebugCallback_OnDebugInfoSwigExplicitSipDebugCallback(swigCPtr, this, message);
} }
public int OnDebugWarn(String message) { public int OnDebugWarn(String message) {
return (getClass() == SipDebugCallback.class) ? tinyWRAPJNI.SipDebugCallback_OnDebugWarn(swigCPtr, this, message) : tinyWRAPJNI.SipDebugCallback_OnDebugWarnSwigExplicitSipDebugCallback(swigCPtr, this, message); return (getClass() == SipDebugCallback.class) ? tinyWRAPJNI.SipDebugCallback_OnDebugWarn(swigCPtr, this, message) : tinyWRAPJNI.SipDebugCallback_OnDebugWarnSwigExplicitSipDebugCallback(swigCPtr, this, message);
} }
public int OnDebugError(String message) { public int OnDebugError(String message) {
return (getClass() == SipDebugCallback.class) ? tinyWRAPJNI.SipDebugCallback_OnDebugError(swigCPtr, this, message) : tinyWRAPJNI.SipDebugCallback_OnDebugErrorSwigExplicitSipDebugCallback(swigCPtr, this, message); return (getClass() == SipDebugCallback.class) ? tinyWRAPJNI.SipDebugCallback_OnDebugError(swigCPtr, this, message) : tinyWRAPJNI.SipDebugCallback_OnDebugErrorSwigExplicitSipDebugCallback(swigCPtr, this, message);
} }
public int OnDebugFatal(String message) { public int OnDebugFatal(String message) {
return (getClass() == SipDebugCallback.class) ? tinyWRAPJNI.SipDebugCallback_OnDebugFatal(swigCPtr, this, message) : tinyWRAPJNI.SipDebugCallback_OnDebugFatalSwigExplicitSipDebugCallback(swigCPtr, this, message); return (getClass() == SipDebugCallback.class) ? tinyWRAPJNI.SipDebugCallback_OnDebugFatal(swigCPtr, this, message) : tinyWRAPJNI.SipDebugCallback_OnDebugFatalSwigExplicitSipDebugCallback(swigCPtr, this, message);
} }
} }

View File

@ -1,53 +1,53 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 1.3.39
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
* ----------------------------------------------------------------------------- */ * ----------------------------------------------------------------------------- */
package org.doubango.tinyWRAP; package org.doubango.tinyWRAP;
public class SipEvent { public class SipEvent {
private long swigCPtr; private long swigCPtr;
protected boolean swigCMemOwn; protected boolean swigCMemOwn;
protected SipEvent(long cPtr, boolean cMemoryOwn) { protected SipEvent(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn; swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr; swigCPtr = cPtr;
} }
protected static long getCPtr(SipEvent obj) { protected static long getCPtr(SipEvent obj) {
return (obj == null) ? 0 : obj.swigCPtr; return (obj == null) ? 0 : obj.swigCPtr;
} }
protected void finalize() { protected void finalize() {
delete(); delete();
} }
public synchronized void delete() { public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) { if(swigCPtr != 0 && swigCMemOwn) {
swigCMemOwn = false; swigCMemOwn = false;
tinyWRAPJNI.delete_SipEvent(swigCPtr); tinyWRAPJNI.delete_SipEvent(swigCPtr);
} }
swigCPtr = 0; swigCPtr = 0;
} }
public SipEvent() { public SipEvent() {
this(tinyWRAPJNI.new_SipEvent(), true); this(tinyWRAPJNI.new_SipEvent(), true);
} }
public short getCode() { public short getCode() {
return tinyWRAPJNI.SipEvent_getCode(swigCPtr, this); return tinyWRAPJNI.SipEvent_getCode(swigCPtr, this);
} }
public String getPhrase() { public String getPhrase() {
return tinyWRAPJNI.SipEvent_getPhrase(swigCPtr, this); return tinyWRAPJNI.SipEvent_getPhrase(swigCPtr, this);
} }
public SipSession getBaseSession() { public SipSession getBaseSession() {
long cPtr = tinyWRAPJNI.SipEvent_getBaseSession(swigCPtr, this); long cPtr = tinyWRAPJNI.SipEvent_getBaseSession(swigCPtr, this);
return (cPtr == 0) ? null : new SipSession(cPtr, false); return (cPtr == 0) ? null : new SipSession(cPtr, false);
} }
} }

View File

@ -1,76 +1,76 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 1.3.39
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
* ----------------------------------------------------------------------------- */ * ----------------------------------------------------------------------------- */
package org.doubango.tinyWRAP; package org.doubango.tinyWRAP;
public class SipSession { public class SipSession {
private long swigCPtr; private long swigCPtr;
protected boolean swigCMemOwn; protected boolean swigCMemOwn;
protected SipSession(long cPtr, boolean cMemoryOwn) { protected SipSession(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn; swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr; swigCPtr = cPtr;
} }
protected static long getCPtr(SipSession obj) { protected static long getCPtr(SipSession obj) {
return (obj == null) ? 0 : obj.swigCPtr; return (obj == null) ? 0 : obj.swigCPtr;
} }
protected void finalize() { protected void finalize() {
delete(); delete();
} }
public synchronized void delete() { public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) { if(swigCPtr != 0 && swigCMemOwn) {
swigCMemOwn = false; swigCMemOwn = false;
tinyWRAPJNI.delete_SipSession(swigCPtr); tinyWRAPJNI.delete_SipSession(swigCPtr);
} }
swigCPtr = 0; swigCPtr = 0;
} }
public SipSession(SipStack Stack) { public SipSession(SipStack stack) {
this(tinyWRAPJNI.new_SipSession(SipStack.getCPtr(Stack), Stack), true); this(tinyWRAPJNI.new_SipSession(SipStack.getCPtr(stack), stack), true);
} }
public boolean addHeader(String name, String value) { public boolean addHeader(String name, String value) {
return tinyWRAPJNI.SipSession_addHeader(swigCPtr, this, name, value); return tinyWRAPJNI.SipSession_addHeader(swigCPtr, this, name, value);
} }
public boolean removeHeader(String name) { public boolean removeHeader(String name) {
return tinyWRAPJNI.SipSession_removeHeader(swigCPtr, this, name); return tinyWRAPJNI.SipSession_removeHeader(swigCPtr, this, name);
} }
public boolean addCaps(String name, String value) { public boolean addCaps(String name, String value) {
return tinyWRAPJNI.SipSession_addCaps__SWIG_0(swigCPtr, this, name, value); return tinyWRAPJNI.SipSession_addCaps__SWIG_0(swigCPtr, this, name, value);
} }
public boolean addCaps(String name) { public boolean addCaps(String name) {
return tinyWRAPJNI.SipSession_addCaps__SWIG_1(swigCPtr, this, name); return tinyWRAPJNI.SipSession_addCaps__SWIG_1(swigCPtr, this, name);
} }
public boolean removeCaps(String name) { public boolean removeCaps(String name) {
return tinyWRAPJNI.SipSession_removeCaps(swigCPtr, this, name); return tinyWRAPJNI.SipSession_removeCaps(swigCPtr, this, name);
} }
public boolean setExpires(long expires) { public boolean setExpires(long expires) {
return tinyWRAPJNI.SipSession_setExpires(swigCPtr, this, expires); return tinyWRAPJNI.SipSession_setExpires(swigCPtr, this, expires);
} }
public boolean setFromUri(String fromUri) { public boolean setFromUri(String fromUri) {
return tinyWRAPJNI.SipSession_setFromUri(swigCPtr, this, fromUri); return tinyWRAPJNI.SipSession_setFromUri(swigCPtr, this, fromUri);
} }
public boolean setToUri(String toUri) { public boolean setToUri(String toUri) {
return tinyWRAPJNI.SipSession_setToUri(swigCPtr, this, toUri); return tinyWRAPJNI.SipSession_setToUri(swigCPtr, this, toUri);
} }
public boolean setPayload(String str, long len) { public boolean setPayload(String str, long len) {
return tinyWRAPJNI.SipSession_setPayload(swigCPtr, this, str, len); return tinyWRAPJNI.SipSession_setPayload(swigCPtr, this, str, len);
} }
} }

View File

@ -1,100 +1,100 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 1.3.39
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
* ----------------------------------------------------------------------------- */ * ----------------------------------------------------------------------------- */
package org.doubango.tinyWRAP; package org.doubango.tinyWRAP;
public class SipStack extends SafeObject { public class SipStack extends SafeObject {
private long swigCPtr; private long swigCPtr;
protected SipStack(long cPtr, boolean cMemoryOwn) { protected SipStack(long cPtr, boolean cMemoryOwn) {
super(tinyWRAPJNI.SWIGSipStackUpcast(cPtr), cMemoryOwn); super(tinyWRAPJNI.SWIGSipStackUpcast(cPtr), cMemoryOwn);
swigCPtr = cPtr; swigCPtr = cPtr;
} }
protected static long getCPtr(SipStack obj) { protected static long getCPtr(SipStack obj) {
return (obj == null) ? 0 : obj.swigCPtr; return (obj == null) ? 0 : obj.swigCPtr;
} }
protected void finalize() { protected void finalize() {
delete(); delete();
} }
public synchronized void delete() { public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) { if(swigCPtr != 0 && swigCMemOwn) {
swigCMemOwn = false; swigCMemOwn = false;
tinyWRAPJNI.delete_SipStack(swigCPtr); tinyWRAPJNI.delete_SipStack(swigCPtr);
} }
swigCPtr = 0; swigCPtr = 0;
super.delete(); super.delete();
} }
public SipStack(SipCallback callback, String realm_uri, String impi_uri, String impu_uri) { public SipStack(SipCallback callback, String realm_uri, String impi_uri, String impu_uri) {
this(tinyWRAPJNI.new_SipStack(SipCallback.getCPtr(callback), callback, realm_uri, impi_uri, impu_uri), true); this(tinyWRAPJNI.new_SipStack(SipCallback.getCPtr(callback), callback, realm_uri, impi_uri, impu_uri), true);
} }
public boolean start() { public boolean start() {
return tinyWRAPJNI.SipStack_start(swigCPtr, this); return tinyWRAPJNI.SipStack_start(swigCPtr, this);
} }
public boolean setDebugCallback(SipDebugCallback callback) { public boolean setDebugCallback(SipDebugCallback callback) {
return tinyWRAPJNI.SipStack_setDebugCallback(swigCPtr, this, SipDebugCallback.getCPtr(callback), callback); return tinyWRAPJNI.SipStack_setDebugCallback(swigCPtr, this, SipDebugCallback.getCPtr(callback), callback);
} }
public boolean setRealm(String realm_uri) { public boolean setRealm(String realm_uri) {
return tinyWRAPJNI.SipStack_setRealm(swigCPtr, this, realm_uri); return tinyWRAPJNI.SipStack_setRealm(swigCPtr, this, realm_uri);
} }
public boolean setIMPI(String impi) { public boolean setIMPI(String impi) {
return tinyWRAPJNI.SipStack_setIMPI(swigCPtr, this, impi); return tinyWRAPJNI.SipStack_setIMPI(swigCPtr, this, impi);
} }
public boolean setIMPU(String impu_uri) { public boolean setIMPU(String impu_uri) {
return tinyWRAPJNI.SipStack_setIMPU(swigCPtr, this, impu_uri); return tinyWRAPJNI.SipStack_setIMPU(swigCPtr, this, impu_uri);
} }
public boolean setPassword(String password) { public boolean setPassword(String password) {
return tinyWRAPJNI.SipStack_setPassword(swigCPtr, this, password); return tinyWRAPJNI.SipStack_setPassword(swigCPtr, this, password);
} }
public boolean setProxyCSCF(String fqdn, long port, String transport, String ipversion) { public boolean setProxyCSCF(String fqdn, long port, String transport, String ipversion) {
return tinyWRAPJNI.SipStack_setProxyCSCF(swigCPtr, this, fqdn, port, transport, ipversion); return tinyWRAPJNI.SipStack_setProxyCSCF(swigCPtr, this, fqdn, port, transport, ipversion);
} }
public boolean setLocalIP(String ip) { public boolean setLocalIP(String ip) {
return tinyWRAPJNI.SipStack_setLocalIP(swigCPtr, this, ip); return tinyWRAPJNI.SipStack_setLocalIP(swigCPtr, this, ip);
} }
public boolean setLocalPort(long port) { public boolean setLocalPort(long port) {
return tinyWRAPJNI.SipStack_setLocalPort(swigCPtr, this, port); return tinyWRAPJNI.SipStack_setLocalPort(swigCPtr, this, port);
} }
public boolean setEarlyIMS(boolean enabled) { public boolean setEarlyIMS(boolean enabled) {
return tinyWRAPJNI.SipStack_setEarlyIMS(swigCPtr, this, enabled); return tinyWRAPJNI.SipStack_setEarlyIMS(swigCPtr, this, enabled);
} }
public boolean addHeader(String name, String value) { public boolean addHeader(String name, String value) {
return tinyWRAPJNI.SipStack_addHeader(swigCPtr, this, name, value); return tinyWRAPJNI.SipStack_addHeader(swigCPtr, this, name, value);
} }
public boolean removeHeader(String name) { public boolean removeHeader(String name) {
return tinyWRAPJNI.SipStack_removeHeader(swigCPtr, this, name); return tinyWRAPJNI.SipStack_removeHeader(swigCPtr, this, name);
} }
public boolean addDnsServer(String ip) { public boolean addDnsServer(String ip) {
return tinyWRAPJNI.SipStack_addDnsServer(swigCPtr, this, ip); return tinyWRAPJNI.SipStack_addDnsServer(swigCPtr, this, ip);
} }
public boolean isValid() { public boolean isValid() {
return tinyWRAPJNI.SipStack_isValid(swigCPtr, this); return tinyWRAPJNI.SipStack_isValid(swigCPtr, this);
} }
public boolean stop() { public boolean stop() {
return tinyWRAPJNI.SipStack_stop(swigCPtr, this); return tinyWRAPJNI.SipStack_stop(swigCPtr, this);
} }
} }

View File

@ -1,48 +1,48 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 1.3.39
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
* ----------------------------------------------------------------------------- */ * ----------------------------------------------------------------------------- */
package org.doubango.tinyWRAP; package org.doubango.tinyWRAP;
public class SipUri { public class SipUri {
private long swigCPtr; private long swigCPtr;
protected boolean swigCMemOwn; protected boolean swigCMemOwn;
protected SipUri(long cPtr, boolean cMemoryOwn) { protected SipUri(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn; swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr; swigCPtr = cPtr;
} }
protected static long getCPtr(SipUri obj) { protected static long getCPtr(SipUri obj) {
return (obj == null) ? 0 : obj.swigCPtr; return (obj == null) ? 0 : obj.swigCPtr;
} }
protected void finalize() { protected void finalize() {
delete(); delete();
} }
public synchronized void delete() { public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) { if(swigCPtr != 0 && swigCMemOwn) {
swigCMemOwn = false; swigCMemOwn = false;
tinyWRAPJNI.delete_SipUri(swigCPtr); tinyWRAPJNI.delete_SipUri(swigCPtr);
} }
swigCPtr = 0; swigCPtr = 0;
} }
public SipUri(String arg0) { public SipUri(String arg0) {
this(tinyWRAPJNI.new_SipUri(arg0), true); this(tinyWRAPJNI.new_SipUri(arg0), true);
} }
public static boolean isValid(String arg0) { public static boolean isValid(String arg0) {
return tinyWRAPJNI.SipUri_isValid__SWIG_0(arg0); return tinyWRAPJNI.SipUri_isValid__SWIG_0(arg0);
} }
public boolean isValid() { public boolean isValid() {
return tinyWRAPJNI.SipUri_isValid__SWIG_1(swigCPtr, this); return tinyWRAPJNI.SipUri_isValid__SWIG_1(swigCPtr, this);
} }
} }

View File

@ -1,49 +1,49 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 1.3.39
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
* ----------------------------------------------------------------------------- */ * ----------------------------------------------------------------------------- */
package org.doubango.tinyWRAP; package org.doubango.tinyWRAP;
public class SubscriptionEvent extends SipEvent { public class SubscriptionEvent extends SipEvent {
private long swigCPtr; private long swigCPtr;
protected SubscriptionEvent(long cPtr, boolean cMemoryOwn) { protected SubscriptionEvent(long cPtr, boolean cMemoryOwn) {
super(tinyWRAPJNI.SWIGSubscriptionEventUpcast(cPtr), cMemoryOwn); super(tinyWRAPJNI.SWIGSubscriptionEventUpcast(cPtr), cMemoryOwn);
swigCPtr = cPtr; swigCPtr = cPtr;
} }
protected static long getCPtr(SubscriptionEvent obj) { protected static long getCPtr(SubscriptionEvent obj) {
return (obj == null) ? 0 : obj.swigCPtr; return (obj == null) ? 0 : obj.swigCPtr;
} }
protected void finalize() { protected void finalize() {
delete(); delete();
} }
public synchronized void delete() { public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) { if(swigCPtr != 0 && swigCMemOwn) {
swigCMemOwn = false; swigCMemOwn = false;
tinyWRAPJNI.delete_SubscriptionEvent(swigCPtr); tinyWRAPJNI.delete_SubscriptionEvent(swigCPtr);
} }
swigCPtr = 0; swigCPtr = 0;
super.delete(); super.delete();
} }
public SubscriptionEvent() { public SubscriptionEvent() {
this(tinyWRAPJNI.new_SubscriptionEvent(), true); this(tinyWRAPJNI.new_SubscriptionEvent(), true);
} }
public tsip_subscribe_event_type_t getType() { public tsip_subscribe_event_type_t getType() {
return tsip_subscribe_event_type_t.swigToEnum(tinyWRAPJNI.SubscriptionEvent_getType(swigCPtr, this)); return tsip_subscribe_event_type_t.swigToEnum(tinyWRAPJNI.SubscriptionEvent_getType(swigCPtr, this));
} }
public SubscriptionSession getSession() { public SubscriptionSession getSession() {
long cPtr = tinyWRAPJNI.SubscriptionEvent_getSession(swigCPtr, this); long cPtr = tinyWRAPJNI.SubscriptionEvent_getSession(swigCPtr, this);
return (cPtr == 0) ? null : new SubscriptionSession(cPtr, false); return (cPtr == 0) ? null : new SubscriptionSession(cPtr, false);
} }
} }

View File

@ -1,48 +1,48 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 1.3.39
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
* ----------------------------------------------------------------------------- */ * ----------------------------------------------------------------------------- */
package org.doubango.tinyWRAP; package org.doubango.tinyWRAP;
public class SubscriptionSession extends SipSession { public class SubscriptionSession extends SipSession {
private long swigCPtr; private long swigCPtr;
protected SubscriptionSession(long cPtr, boolean cMemoryOwn) { protected SubscriptionSession(long cPtr, boolean cMemoryOwn) {
super(tinyWRAPJNI.SWIGSubscriptionSessionUpcast(cPtr), cMemoryOwn); super(tinyWRAPJNI.SWIGSubscriptionSessionUpcast(cPtr), cMemoryOwn);
swigCPtr = cPtr; swigCPtr = cPtr;
} }
protected static long getCPtr(SubscriptionSession obj) { protected static long getCPtr(SubscriptionSession obj) {
return (obj == null) ? 0 : obj.swigCPtr; return (obj == null) ? 0 : obj.swigCPtr;
} }
protected void finalize() { protected void finalize() {
delete(); delete();
} }
public synchronized void delete() { public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) { if(swigCPtr != 0 && swigCMemOwn) {
swigCMemOwn = false; swigCMemOwn = false;
tinyWRAPJNI.delete_SubscriptionSession(swigCPtr); tinyWRAPJNI.delete_SubscriptionSession(swigCPtr);
} }
swigCPtr = 0; swigCPtr = 0;
super.delete(); super.delete();
} }
public SubscriptionSession(SipStack Stack) { public SubscriptionSession(SipStack Stack) {
this(tinyWRAPJNI.new_SubscriptionSession(SipStack.getCPtr(Stack), Stack), true); this(tinyWRAPJNI.new_SubscriptionSession(SipStack.getCPtr(Stack), Stack), true);
} }
public boolean Subscribe() { public boolean Subscribe() {
return tinyWRAPJNI.SubscriptionSession_Subscribe(swigCPtr, this); return tinyWRAPJNI.SubscriptionSession_Subscribe(swigCPtr, this);
} }
public boolean UnSubscribe() { public boolean UnSubscribe() {
return tinyWRAPJNI.SubscriptionSession_UnSubscribe(swigCPtr, this); return tinyWRAPJNI.SubscriptionSession_UnSubscribe(swigCPtr, this);
} }
} }

View File

@ -1,49 +1,49 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 1.3.39
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
* ----------------------------------------------------------------------------- */ * ----------------------------------------------------------------------------- */
package org.doubango.tinyWRAP; package org.doubango.tinyWRAP;
public class RegistrationEvent extends SipEvent { public class RegistrationEvent extends SipEvent {
private long swigCPtr; private long swigCPtr;
protected RegistrationEvent(long cPtr, boolean cMemoryOwn) { protected RegistrationEvent(long cPtr, boolean cMemoryOwn) {
super(tinyWRAPJNI.SWIGRegistrationEventUpcast(cPtr), cMemoryOwn); super(tinyWRAPJNI.SWIGRegistrationEventUpcast(cPtr), cMemoryOwn);
swigCPtr = cPtr; swigCPtr = cPtr;
} }
protected static long getCPtr(RegistrationEvent obj) { protected static long getCPtr(RegistrationEvent obj) {
return (obj == null) ? 0 : obj.swigCPtr; return (obj == null) ? 0 : obj.swigCPtr;
} }
protected void finalize() { protected void finalize() {
delete(); delete();
} }
public synchronized void delete() { public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) { if(swigCPtr != 0 && swigCMemOwn) {
swigCMemOwn = false; swigCMemOwn = false;
tinyWRAPJNI.delete_RegistrationEvent(swigCPtr); tinyWRAPJNI.delete_RegistrationEvent(swigCPtr);
} }
swigCPtr = 0; swigCPtr = 0;
super.delete(); super.delete();
} }
public RegistrationEvent() { public RegistrationEvent() {
this(tinyWRAPJNI.new_RegistrationEvent(), true); this(tinyWRAPJNI.new_RegistrationEvent(), true);
} }
public tsip_register_event_type_t getType() { public tsip_register_event_type_t getType() {
return tsip_register_event_type_t.swigToEnum(tinyWRAPJNI.RegistrationEvent_getType(swigCPtr, this)); return tsip_register_event_type_t.swigToEnum(tinyWRAPJNI.RegistrationEvent_getType(swigCPtr, this));
} }
public RegistrationSession getSession() { public RegistrationSession getSession() {
long cPtr = tinyWRAPJNI.RegistrationEvent_getSession(swigCPtr, this); long cPtr = tinyWRAPJNI.RegistrationEvent_getSession(swigCPtr, this);
return (cPtr == 0) ? null : new RegistrationSession(cPtr, false); return (cPtr == 0) ? null : new RegistrationSession(cPtr, false);
} }
} }

View File

@ -1,48 +1,48 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 1.3.39
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
* ----------------------------------------------------------------------------- */ * ----------------------------------------------------------------------------- */
package org.doubango.tinyWRAP; package org.doubango.tinyWRAP;
public class RegistrationSession extends SipSession { public class RegistrationSession extends SipSession {
private long swigCPtr; private long swigCPtr;
protected RegistrationSession(long cPtr, boolean cMemoryOwn) { protected RegistrationSession(long cPtr, boolean cMemoryOwn) {
super(tinyWRAPJNI.SWIGRegistrationSessionUpcast(cPtr), cMemoryOwn); super(tinyWRAPJNI.SWIGRegistrationSessionUpcast(cPtr), cMemoryOwn);
swigCPtr = cPtr; swigCPtr = cPtr;
} }
protected static long getCPtr(RegistrationSession obj) { protected static long getCPtr(RegistrationSession obj) {
return (obj == null) ? 0 : obj.swigCPtr; return (obj == null) ? 0 : obj.swigCPtr;
} }
protected void finalize() { protected void finalize() {
delete(); delete();
} }
public synchronized void delete() { public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) { if(swigCPtr != 0 && swigCMemOwn) {
swigCMemOwn = false; swigCMemOwn = false;
tinyWRAPJNI.delete_RegistrationSession(swigCPtr); tinyWRAPJNI.delete_RegistrationSession(swigCPtr);
} }
swigCPtr = 0; swigCPtr = 0;
super.delete(); super.delete();
} }
public RegistrationSession(SipStack Stack) { public RegistrationSession(SipStack Stack) {
this(tinyWRAPJNI.new_RegistrationSession(SipStack.getCPtr(Stack), Stack), true); this(tinyWRAPJNI.new_RegistrationSession(SipStack.getCPtr(Stack), Stack), true);
} }
public boolean Register() { public boolean Register() {
return tinyWRAPJNI.RegistrationSession_Register(swigCPtr, this); return tinyWRAPJNI.RegistrationSession_Register(swigCPtr, this);
} }
public boolean UnRegister() { public boolean UnRegister() {
return tinyWRAPJNI.RegistrationSession_UnRegister(swigCPtr, this); return tinyWRAPJNI.RegistrationSession_UnRegister(swigCPtr, this);
} }
} }

View File

@ -1,48 +1,48 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 1.3.39
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
* ----------------------------------------------------------------------------- */ * ----------------------------------------------------------------------------- */
package org.doubango.tinyWRAP; package org.doubango.tinyWRAP;
public class SafeObject { public class SafeObject {
private long swigCPtr; private long swigCPtr;
protected boolean swigCMemOwn; protected boolean swigCMemOwn;
protected SafeObject(long cPtr, boolean cMemoryOwn) { protected SafeObject(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn; swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr; swigCPtr = cPtr;
} }
protected static long getCPtr(SafeObject obj) { protected static long getCPtr(SafeObject obj) {
return (obj == null) ? 0 : obj.swigCPtr; return (obj == null) ? 0 : obj.swigCPtr;
} }
protected void finalize() { protected void finalize() {
delete(); delete();
} }
public synchronized void delete() { public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) { if(swigCPtr != 0 && swigCMemOwn) {
swigCMemOwn = false; swigCMemOwn = false;
tinyWRAPJNI.delete_SafeObject(swigCPtr); tinyWRAPJNI.delete_SafeObject(swigCPtr);
} }
swigCPtr = 0; swigCPtr = 0;
} }
public SafeObject() { public SafeObject() {
this(tinyWRAPJNI.new_SafeObject(), true); this(tinyWRAPJNI.new_SafeObject(), true);
} }
public int Lock() { public int Lock() {
return tinyWRAPJNI.SafeObject_Lock(swigCPtr, this); return tinyWRAPJNI.SafeObject_Lock(swigCPtr, this);
} }
public int UnLock() { public int UnLock() {
return tinyWRAPJNI.SafeObject_UnLock(swigCPtr, this); return tinyWRAPJNI.SafeObject_UnLock(swigCPtr, this);
} }
} }

View File

@ -1,64 +1,64 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 1.3.39
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
* ----------------------------------------------------------------------------- */ * ----------------------------------------------------------------------------- */
package org.doubango.tinyWRAP; package org.doubango.tinyWRAP;
public class SipCallback { public class SipCallback {
private long swigCPtr; private long swigCPtr;
protected boolean swigCMemOwn; protected boolean swigCMemOwn;
protected SipCallback(long cPtr, boolean cMemoryOwn) { protected SipCallback(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn; swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr; swigCPtr = cPtr;
} }
protected static long getCPtr(SipCallback obj) { protected static long getCPtr(SipCallback obj) {
return (obj == null) ? 0 : obj.swigCPtr; return (obj == null) ? 0 : obj.swigCPtr;
} }
protected void finalize() { protected void finalize() {
delete(); delete();
} }
public synchronized void delete() { public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) { if(swigCPtr != 0 && swigCMemOwn) {
swigCMemOwn = false; swigCMemOwn = false;
tinyWRAPJNI.delete_SipCallback(swigCPtr); tinyWRAPJNI.delete_SipCallback(swigCPtr);
} }
swigCPtr = 0; swigCPtr = 0;
} }
protected void swigDirectorDisconnect() { protected void swigDirectorDisconnect() {
swigCMemOwn = false; swigCMemOwn = false;
delete(); delete();
} }
public void swigReleaseOwnership() { public void swigReleaseOwnership() {
swigCMemOwn = false; swigCMemOwn = false;
tinyWRAPJNI.SipCallback_change_ownership(this, swigCPtr, false); tinyWRAPJNI.SipCallback_change_ownership(this, swigCPtr, false);
} }
public void swigTakeOwnership() { public void swigTakeOwnership() {
swigCMemOwn = true; swigCMemOwn = true;
tinyWRAPJNI.SipCallback_change_ownership(this, swigCPtr, true); tinyWRAPJNI.SipCallback_change_ownership(this, swigCPtr, true);
} }
public SipCallback() { public SipCallback() {
this(tinyWRAPJNI.new_SipCallback(), true); this(tinyWRAPJNI.new_SipCallback(), true);
tinyWRAPJNI.SipCallback_director_connect(this, swigCPtr, swigCMemOwn, false); tinyWRAPJNI.SipCallback_director_connect(this, swigCPtr, swigCMemOwn, true);
} }
public int OnRegistrationChanged(RegistrationEvent e) { public int OnRegistrationChanged(RegistrationEvent e) {
return (getClass() == SipCallback.class) ? tinyWRAPJNI.SipCallback_OnRegistrationChanged(swigCPtr, this, RegistrationEvent.getCPtr(e), e) : tinyWRAPJNI.SipCallback_OnRegistrationChangedSwigExplicitSipCallback(swigCPtr, this, RegistrationEvent.getCPtr(e), e); return (getClass() == SipCallback.class) ? tinyWRAPJNI.SipCallback_OnRegistrationChanged(swigCPtr, this, RegistrationEvent.getCPtr(e), e) : tinyWRAPJNI.SipCallback_OnRegistrationChangedSwigExplicitSipCallback(swigCPtr, this, RegistrationEvent.getCPtr(e), e);
} }
public int OnSubscriptionChanged(SubscriptionEvent e) { public int OnSubscriptionChanged(SubscriptionEvent e) {
return (getClass() == SipCallback.class) ? tinyWRAPJNI.SipCallback_OnSubscriptionChanged(swigCPtr, this, SubscriptionEvent.getCPtr(e), e) : tinyWRAPJNI.SipCallback_OnSubscriptionChangedSwigExplicitSipCallback(swigCPtr, this, SubscriptionEvent.getCPtr(e), e); return (getClass() == SipCallback.class) ? tinyWRAPJNI.SipCallback_OnSubscriptionChanged(swigCPtr, this, SubscriptionEvent.getCPtr(e), e) : tinyWRAPJNI.SipCallback_OnSubscriptionChangedSwigExplicitSipCallback(swigCPtr, this, SubscriptionEvent.getCPtr(e), e);
} }
} }

View File

@ -1,72 +1,72 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 1.3.39
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
* ----------------------------------------------------------------------------- */ * ----------------------------------------------------------------------------- */
package org.doubango.tinyWRAP; package org.doubango.tinyWRAP;
public class SipDebugCallback { public class SipDebugCallback {
private long swigCPtr; private long swigCPtr;
protected boolean swigCMemOwn; protected boolean swigCMemOwn;
protected SipDebugCallback(long cPtr, boolean cMemoryOwn) { protected SipDebugCallback(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn; swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr; swigCPtr = cPtr;
} }
protected static long getCPtr(SipDebugCallback obj) { protected static long getCPtr(SipDebugCallback obj) {
return (obj == null) ? 0 : obj.swigCPtr; return (obj == null) ? 0 : obj.swigCPtr;
} }
protected void finalize() { protected void finalize() {
delete(); delete();
} }
public synchronized void delete() { public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) { if(swigCPtr != 0 && swigCMemOwn) {
swigCMemOwn = false; swigCMemOwn = false;
tinyWRAPJNI.delete_SipDebugCallback(swigCPtr); tinyWRAPJNI.delete_SipDebugCallback(swigCPtr);
} }
swigCPtr = 0; swigCPtr = 0;
} }
protected void swigDirectorDisconnect() { protected void swigDirectorDisconnect() {
swigCMemOwn = false; swigCMemOwn = false;
delete(); delete();
} }
public void swigReleaseOwnership() { public void swigReleaseOwnership() {
swigCMemOwn = false; swigCMemOwn = false;
tinyWRAPJNI.SipDebugCallback_change_ownership(this, swigCPtr, false); tinyWRAPJNI.SipDebugCallback_change_ownership(this, swigCPtr, false);
} }
public void swigTakeOwnership() { public void swigTakeOwnership() {
swigCMemOwn = true; swigCMemOwn = true;
tinyWRAPJNI.SipDebugCallback_change_ownership(this, swigCPtr, true); tinyWRAPJNI.SipDebugCallback_change_ownership(this, swigCPtr, true);
} }
public SipDebugCallback() { public SipDebugCallback() {
this(tinyWRAPJNI.new_SipDebugCallback(), true); this(tinyWRAPJNI.new_SipDebugCallback(), true);
tinyWRAPJNI.SipDebugCallback_director_connect(this, swigCPtr, swigCMemOwn, false); tinyWRAPJNI.SipDebugCallback_director_connect(this, swigCPtr, swigCMemOwn, true);
} }
public int OnDebugInfo(String message) { public int OnDebugInfo(String message) {
return (getClass() == SipDebugCallback.class) ? tinyWRAPJNI.SipDebugCallback_OnDebugInfo(swigCPtr, this, message) : tinyWRAPJNI.SipDebugCallback_OnDebugInfoSwigExplicitSipDebugCallback(swigCPtr, this, message); return (getClass() == SipDebugCallback.class) ? tinyWRAPJNI.SipDebugCallback_OnDebugInfo(swigCPtr, this, message) : tinyWRAPJNI.SipDebugCallback_OnDebugInfoSwigExplicitSipDebugCallback(swigCPtr, this, message);
} }
public int OnDebugWarn(String message) { public int OnDebugWarn(String message) {
return (getClass() == SipDebugCallback.class) ? tinyWRAPJNI.SipDebugCallback_OnDebugWarn(swigCPtr, this, message) : tinyWRAPJNI.SipDebugCallback_OnDebugWarnSwigExplicitSipDebugCallback(swigCPtr, this, message); return (getClass() == SipDebugCallback.class) ? tinyWRAPJNI.SipDebugCallback_OnDebugWarn(swigCPtr, this, message) : tinyWRAPJNI.SipDebugCallback_OnDebugWarnSwigExplicitSipDebugCallback(swigCPtr, this, message);
} }
public int OnDebugError(String message) { public int OnDebugError(String message) {
return (getClass() == SipDebugCallback.class) ? tinyWRAPJNI.SipDebugCallback_OnDebugError(swigCPtr, this, message) : tinyWRAPJNI.SipDebugCallback_OnDebugErrorSwigExplicitSipDebugCallback(swigCPtr, this, message); return (getClass() == SipDebugCallback.class) ? tinyWRAPJNI.SipDebugCallback_OnDebugError(swigCPtr, this, message) : tinyWRAPJNI.SipDebugCallback_OnDebugErrorSwigExplicitSipDebugCallback(swigCPtr, this, message);
} }
public int OnDebugFatal(String message) { public int OnDebugFatal(String message) {
return (getClass() == SipDebugCallback.class) ? tinyWRAPJNI.SipDebugCallback_OnDebugFatal(swigCPtr, this, message) : tinyWRAPJNI.SipDebugCallback_OnDebugFatalSwigExplicitSipDebugCallback(swigCPtr, this, message); return (getClass() == SipDebugCallback.class) ? tinyWRAPJNI.SipDebugCallback_OnDebugFatal(swigCPtr, this, message) : tinyWRAPJNI.SipDebugCallback_OnDebugFatalSwigExplicitSipDebugCallback(swigCPtr, this, message);
} }
} }

View File

@ -1,53 +1,53 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 1.3.39
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
* ----------------------------------------------------------------------------- */ * ----------------------------------------------------------------------------- */
package org.doubango.tinyWRAP; package org.doubango.tinyWRAP;
public class SipEvent { public class SipEvent {
private long swigCPtr; private long swigCPtr;
protected boolean swigCMemOwn; protected boolean swigCMemOwn;
protected SipEvent(long cPtr, boolean cMemoryOwn) { protected SipEvent(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn; swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr; swigCPtr = cPtr;
} }
protected static long getCPtr(SipEvent obj) { protected static long getCPtr(SipEvent obj) {
return (obj == null) ? 0 : obj.swigCPtr; return (obj == null) ? 0 : obj.swigCPtr;
} }
protected void finalize() { protected void finalize() {
delete(); delete();
} }
public synchronized void delete() { public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) { if(swigCPtr != 0 && swigCMemOwn) {
swigCMemOwn = false; swigCMemOwn = false;
tinyWRAPJNI.delete_SipEvent(swigCPtr); tinyWRAPJNI.delete_SipEvent(swigCPtr);
} }
swigCPtr = 0; swigCPtr = 0;
} }
public SipEvent() { public SipEvent() {
this(tinyWRAPJNI.new_SipEvent(), true); this(tinyWRAPJNI.new_SipEvent(), true);
} }
public short getCode() { public short getCode() {
return tinyWRAPJNI.SipEvent_getCode(swigCPtr, this); return tinyWRAPJNI.SipEvent_getCode(swigCPtr, this);
} }
public String getPhrase() { public String getPhrase() {
return tinyWRAPJNI.SipEvent_getPhrase(swigCPtr, this); return tinyWRAPJNI.SipEvent_getPhrase(swigCPtr, this);
} }
public SipSession getBaseSession() { public SipSession getBaseSession() {
long cPtr = tinyWRAPJNI.SipEvent_getBaseSession(swigCPtr, this); long cPtr = tinyWRAPJNI.SipEvent_getBaseSession(swigCPtr, this);
return (cPtr == 0) ? null : new SipSession(cPtr, false); return (cPtr == 0) ? null : new SipSession(cPtr, false);
} }
} }

View File

@ -1,76 +1,76 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 1.3.39
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
* ----------------------------------------------------------------------------- */ * ----------------------------------------------------------------------------- */
package org.doubango.tinyWRAP; package org.doubango.tinyWRAP;
public class SipSession { public class SipSession {
private long swigCPtr; private long swigCPtr;
protected boolean swigCMemOwn; protected boolean swigCMemOwn;
protected SipSession(long cPtr, boolean cMemoryOwn) { protected SipSession(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn; swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr; swigCPtr = cPtr;
} }
protected static long getCPtr(SipSession obj) { protected static long getCPtr(SipSession obj) {
return (obj == null) ? 0 : obj.swigCPtr; return (obj == null) ? 0 : obj.swigCPtr;
} }
protected void finalize() { protected void finalize() {
delete(); delete();
} }
public synchronized void delete() { public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) { if(swigCPtr != 0 && swigCMemOwn) {
swigCMemOwn = false; swigCMemOwn = false;
tinyWRAPJNI.delete_SipSession(swigCPtr); tinyWRAPJNI.delete_SipSession(swigCPtr);
} }
swigCPtr = 0; swigCPtr = 0;
} }
public SipSession(SipStack Stack) { public SipSession(SipStack stack) {
this(tinyWRAPJNI.new_SipSession(SipStack.getCPtr(Stack), Stack), true); this(tinyWRAPJNI.new_SipSession(SipStack.getCPtr(stack), stack), true);
} }
public boolean addHeader(String name, String value) { public boolean addHeader(String name, String value) {
return tinyWRAPJNI.SipSession_addHeader(swigCPtr, this, name, value); return tinyWRAPJNI.SipSession_addHeader(swigCPtr, this, name, value);
} }
public boolean removeHeader(String name) { public boolean removeHeader(String name) {
return tinyWRAPJNI.SipSession_removeHeader(swigCPtr, this, name); return tinyWRAPJNI.SipSession_removeHeader(swigCPtr, this, name);
} }
public boolean addCaps(String name, String value) { public boolean addCaps(String name, String value) {
return tinyWRAPJNI.SipSession_addCaps__SWIG_0(swigCPtr, this, name, value); return tinyWRAPJNI.SipSession_addCaps__SWIG_0(swigCPtr, this, name, value);
} }
public boolean addCaps(String name) { public boolean addCaps(String name) {
return tinyWRAPJNI.SipSession_addCaps__SWIG_1(swigCPtr, this, name); return tinyWRAPJNI.SipSession_addCaps__SWIG_1(swigCPtr, this, name);
} }
public boolean removeCaps(String name) { public boolean removeCaps(String name) {
return tinyWRAPJNI.SipSession_removeCaps(swigCPtr, this, name); return tinyWRAPJNI.SipSession_removeCaps(swigCPtr, this, name);
} }
public boolean setExpires(long expires) { public boolean setExpires(long expires) {
return tinyWRAPJNI.SipSession_setExpires(swigCPtr, this, expires); return tinyWRAPJNI.SipSession_setExpires(swigCPtr, this, expires);
} }
public boolean setFromUri(String fromUri) { public boolean setFromUri(String fromUri) {
return tinyWRAPJNI.SipSession_setFromUri(swigCPtr, this, fromUri); return tinyWRAPJNI.SipSession_setFromUri(swigCPtr, this, fromUri);
} }
public boolean setToUri(String toUri) { public boolean setToUri(String toUri) {
return tinyWRAPJNI.SipSession_setToUri(swigCPtr, this, toUri); return tinyWRAPJNI.SipSession_setToUri(swigCPtr, this, toUri);
} }
public boolean setPayload(String str, long len) { public boolean setPayload(String str, long len) {
return tinyWRAPJNI.SipSession_setPayload(swigCPtr, this, str, len); return tinyWRAPJNI.SipSession_setPayload(swigCPtr, this, str, len);
} }
} }

View File

@ -1,100 +1,100 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 1.3.39
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
* ----------------------------------------------------------------------------- */ * ----------------------------------------------------------------------------- */
package org.doubango.tinyWRAP; package org.doubango.tinyWRAP;
public class SipStack extends SafeObject { public class SipStack extends SafeObject {
private long swigCPtr; private long swigCPtr;
protected SipStack(long cPtr, boolean cMemoryOwn) { protected SipStack(long cPtr, boolean cMemoryOwn) {
super(tinyWRAPJNI.SWIGSipStackUpcast(cPtr), cMemoryOwn); super(tinyWRAPJNI.SWIGSipStackUpcast(cPtr), cMemoryOwn);
swigCPtr = cPtr; swigCPtr = cPtr;
} }
protected static long getCPtr(SipStack obj) { protected static long getCPtr(SipStack obj) {
return (obj == null) ? 0 : obj.swigCPtr; return (obj == null) ? 0 : obj.swigCPtr;
} }
protected void finalize() { protected void finalize() {
delete(); delete();
} }
public synchronized void delete() { public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) { if(swigCPtr != 0 && swigCMemOwn) {
swigCMemOwn = false; swigCMemOwn = false;
tinyWRAPJNI.delete_SipStack(swigCPtr); tinyWRAPJNI.delete_SipStack(swigCPtr);
} }
swigCPtr = 0; swigCPtr = 0;
super.delete(); super.delete();
} }
public SipStack(SipCallback callback, String realm_uri, String impi_uri, String impu_uri) { public SipStack(SipCallback callback, String realm_uri, String impi_uri, String impu_uri) {
this(tinyWRAPJNI.new_SipStack(SipCallback.getCPtr(callback), callback, realm_uri, impi_uri, impu_uri), true); this(tinyWRAPJNI.new_SipStack(SipCallback.getCPtr(callback), callback, realm_uri, impi_uri, impu_uri), true);
} }
public boolean start() { public boolean start() {
return tinyWRAPJNI.SipStack_start(swigCPtr, this); return tinyWRAPJNI.SipStack_start(swigCPtr, this);
} }
public boolean setDebugCallback(SipDebugCallback callback) { public boolean setDebugCallback(SipDebugCallback callback) {
return tinyWRAPJNI.SipStack_setDebugCallback(swigCPtr, this, SipDebugCallback.getCPtr(callback), callback); return tinyWRAPJNI.SipStack_setDebugCallback(swigCPtr, this, SipDebugCallback.getCPtr(callback), callback);
} }
public boolean setRealm(String realm_uri) { public boolean setRealm(String realm_uri) {
return tinyWRAPJNI.SipStack_setRealm(swigCPtr, this, realm_uri); return tinyWRAPJNI.SipStack_setRealm(swigCPtr, this, realm_uri);
} }
public boolean setIMPI(String impi) { public boolean setIMPI(String impi) {
return tinyWRAPJNI.SipStack_setIMPI(swigCPtr, this, impi); return tinyWRAPJNI.SipStack_setIMPI(swigCPtr, this, impi);
} }
public boolean setIMPU(String impu_uri) { public boolean setIMPU(String impu_uri) {
return tinyWRAPJNI.SipStack_setIMPU(swigCPtr, this, impu_uri); return tinyWRAPJNI.SipStack_setIMPU(swigCPtr, this, impu_uri);
} }
public boolean setPassword(String password) { public boolean setPassword(String password) {
return tinyWRAPJNI.SipStack_setPassword(swigCPtr, this, password); return tinyWRAPJNI.SipStack_setPassword(swigCPtr, this, password);
} }
public boolean setProxyCSCF(String fqdn, long port, String transport, String ipversion) { public boolean setProxyCSCF(String fqdn, long port, String transport, String ipversion) {
return tinyWRAPJNI.SipStack_setProxyCSCF(swigCPtr, this, fqdn, port, transport, ipversion); return tinyWRAPJNI.SipStack_setProxyCSCF(swigCPtr, this, fqdn, port, transport, ipversion);
} }
public boolean setLocalIP(String ip) { public boolean setLocalIP(String ip) {
return tinyWRAPJNI.SipStack_setLocalIP(swigCPtr, this, ip); return tinyWRAPJNI.SipStack_setLocalIP(swigCPtr, this, ip);
} }
public boolean setLocalPort(long port) { public boolean setLocalPort(long port) {
return tinyWRAPJNI.SipStack_setLocalPort(swigCPtr, this, port); return tinyWRAPJNI.SipStack_setLocalPort(swigCPtr, this, port);
} }
public boolean setEarlyIMS(boolean enabled) { public boolean setEarlyIMS(boolean enabled) {
return tinyWRAPJNI.SipStack_setEarlyIMS(swigCPtr, this, enabled); return tinyWRAPJNI.SipStack_setEarlyIMS(swigCPtr, this, enabled);
} }
public boolean addHeader(String name, String value) { public boolean addHeader(String name, String value) {
return tinyWRAPJNI.SipStack_addHeader(swigCPtr, this, name, value); return tinyWRAPJNI.SipStack_addHeader(swigCPtr, this, name, value);
} }
public boolean removeHeader(String name) { public boolean removeHeader(String name) {
return tinyWRAPJNI.SipStack_removeHeader(swigCPtr, this, name); return tinyWRAPJNI.SipStack_removeHeader(swigCPtr, this, name);
} }
public boolean addDnsServer(String ip) { public boolean addDnsServer(String ip) {
return tinyWRAPJNI.SipStack_addDnsServer(swigCPtr, this, ip); return tinyWRAPJNI.SipStack_addDnsServer(swigCPtr, this, ip);
} }
public boolean isValid() { public boolean isValid() {
return tinyWRAPJNI.SipStack_isValid(swigCPtr, this); return tinyWRAPJNI.SipStack_isValid(swigCPtr, this);
} }
public boolean stop() { public boolean stop() {
return tinyWRAPJNI.SipStack_stop(swigCPtr, this); return tinyWRAPJNI.SipStack_stop(swigCPtr, this);
} }
} }

View File

@ -1,48 +1,48 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 1.3.39
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
* ----------------------------------------------------------------------------- */ * ----------------------------------------------------------------------------- */
package org.doubango.tinyWRAP; package org.doubango.tinyWRAP;
public class SipUri { public class SipUri {
private long swigCPtr; private long swigCPtr;
protected boolean swigCMemOwn; protected boolean swigCMemOwn;
protected SipUri(long cPtr, boolean cMemoryOwn) { protected SipUri(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn; swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr; swigCPtr = cPtr;
} }
protected static long getCPtr(SipUri obj) { protected static long getCPtr(SipUri obj) {
return (obj == null) ? 0 : obj.swigCPtr; return (obj == null) ? 0 : obj.swigCPtr;
} }
protected void finalize() { protected void finalize() {
delete(); delete();
} }
public synchronized void delete() { public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) { if(swigCPtr != 0 && swigCMemOwn) {
swigCMemOwn = false; swigCMemOwn = false;
tinyWRAPJNI.delete_SipUri(swigCPtr); tinyWRAPJNI.delete_SipUri(swigCPtr);
} }
swigCPtr = 0; swigCPtr = 0;
} }
public SipUri(String arg0) { public SipUri(String arg0) {
this(tinyWRAPJNI.new_SipUri(arg0), true); this(tinyWRAPJNI.new_SipUri(arg0), true);
} }
public static boolean isValid(String arg0) { public static boolean isValid(String arg0) {
return tinyWRAPJNI.SipUri_isValid__SWIG_0(arg0); return tinyWRAPJNI.SipUri_isValid__SWIG_0(arg0);
} }
public boolean isValid() { public boolean isValid() {
return tinyWRAPJNI.SipUri_isValid__SWIG_1(swigCPtr, this); return tinyWRAPJNI.SipUri_isValid__SWIG_1(swigCPtr, this);
} }
} }

View File

@ -1,49 +1,49 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 1.3.39
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
* ----------------------------------------------------------------------------- */ * ----------------------------------------------------------------------------- */
package org.doubango.tinyWRAP; package org.doubango.tinyWRAP;
public class SubscriptionEvent extends SipEvent { public class SubscriptionEvent extends SipEvent {
private long swigCPtr; private long swigCPtr;
protected SubscriptionEvent(long cPtr, boolean cMemoryOwn) { protected SubscriptionEvent(long cPtr, boolean cMemoryOwn) {
super(tinyWRAPJNI.SWIGSubscriptionEventUpcast(cPtr), cMemoryOwn); super(tinyWRAPJNI.SWIGSubscriptionEventUpcast(cPtr), cMemoryOwn);
swigCPtr = cPtr; swigCPtr = cPtr;
} }
protected static long getCPtr(SubscriptionEvent obj) { protected static long getCPtr(SubscriptionEvent obj) {
return (obj == null) ? 0 : obj.swigCPtr; return (obj == null) ? 0 : obj.swigCPtr;
} }
protected void finalize() { protected void finalize() {
delete(); delete();
} }
public synchronized void delete() { public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) { if(swigCPtr != 0 && swigCMemOwn) {
swigCMemOwn = false; swigCMemOwn = false;
tinyWRAPJNI.delete_SubscriptionEvent(swigCPtr); tinyWRAPJNI.delete_SubscriptionEvent(swigCPtr);
} }
swigCPtr = 0; swigCPtr = 0;
super.delete(); super.delete();
} }
public SubscriptionEvent() { public SubscriptionEvent() {
this(tinyWRAPJNI.new_SubscriptionEvent(), true); this(tinyWRAPJNI.new_SubscriptionEvent(), true);
} }
public tsip_subscribe_event_type_t getType() { public tsip_subscribe_event_type_t getType() {
return tsip_subscribe_event_type_t.swigToEnum(tinyWRAPJNI.SubscriptionEvent_getType(swigCPtr, this)); return tsip_subscribe_event_type_t.swigToEnum(tinyWRAPJNI.SubscriptionEvent_getType(swigCPtr, this));
} }
public SubscriptionSession getSession() { public SubscriptionSession getSession() {
long cPtr = tinyWRAPJNI.SubscriptionEvent_getSession(swigCPtr, this); long cPtr = tinyWRAPJNI.SubscriptionEvent_getSession(swigCPtr, this);
return (cPtr == 0) ? null : new SubscriptionSession(cPtr, false); return (cPtr == 0) ? null : new SubscriptionSession(cPtr, false);
} }
} }

View File

@ -1,48 +1,48 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 1.3.39
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
* ----------------------------------------------------------------------------- */ * ----------------------------------------------------------------------------- */
package org.doubango.tinyWRAP; package org.doubango.tinyWRAP;
public class SubscriptionSession extends SipSession { public class SubscriptionSession extends SipSession {
private long swigCPtr; private long swigCPtr;
protected SubscriptionSession(long cPtr, boolean cMemoryOwn) { protected SubscriptionSession(long cPtr, boolean cMemoryOwn) {
super(tinyWRAPJNI.SWIGSubscriptionSessionUpcast(cPtr), cMemoryOwn); super(tinyWRAPJNI.SWIGSubscriptionSessionUpcast(cPtr), cMemoryOwn);
swigCPtr = cPtr; swigCPtr = cPtr;
} }
protected static long getCPtr(SubscriptionSession obj) { protected static long getCPtr(SubscriptionSession obj) {
return (obj == null) ? 0 : obj.swigCPtr; return (obj == null) ? 0 : obj.swigCPtr;
} }
protected void finalize() { protected void finalize() {
delete(); delete();
} }
public synchronized void delete() { public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) { if(swigCPtr != 0 && swigCMemOwn) {
swigCMemOwn = false; swigCMemOwn = false;
tinyWRAPJNI.delete_SubscriptionSession(swigCPtr); tinyWRAPJNI.delete_SubscriptionSession(swigCPtr);
} }
swigCPtr = 0; swigCPtr = 0;
super.delete(); super.delete();
} }
public SubscriptionSession(SipStack Stack) { public SubscriptionSession(SipStack Stack) {
this(tinyWRAPJNI.new_SubscriptionSession(SipStack.getCPtr(Stack), Stack), true); this(tinyWRAPJNI.new_SubscriptionSession(SipStack.getCPtr(Stack), Stack), true);
} }
public boolean Subscribe() { public boolean Subscribe() {
return tinyWRAPJNI.SubscriptionSession_Subscribe(swigCPtr, this); return tinyWRAPJNI.SubscriptionSession_Subscribe(swigCPtr, this);
} }
public boolean UnSubscribe() { public boolean UnSubscribe() {
return tinyWRAPJNI.SubscriptionSession_UnSubscribe(swigCPtr, this); return tinyWRAPJNI.SubscriptionSession_UnSubscribe(swigCPtr, this);
} }
} }

View File

@ -1,12 +1,12 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 1.3.39
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
* ----------------------------------------------------------------------------- */ * ----------------------------------------------------------------------------- */
package org.doubango.tinyWRAP; package org.doubango.tinyWRAP;
public class tinyWRAP { public class tinyWRAP {
} }

View File

@ -1,118 +1,118 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 1.3.39
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
* ----------------------------------------------------------------------------- */ * ----------------------------------------------------------------------------- */
package org.doubango.tinyWRAP; package org.doubango.tinyWRAP;
class tinyWRAPJNI { class tinyWRAPJNI {
public final static native long new_SipUri(String jarg1); public final static native long new_SipUri(String jarg1);
public final static native void delete_SipUri(long jarg1); public final static native void delete_SipUri(long jarg1);
public final static native boolean SipUri_isValid__SWIG_0(String jarg1); public final static native boolean SipUri_isValid__SWIG_0(String jarg1);
public final static native boolean SipUri_isValid__SWIG_1(long jarg1, SipUri jarg1_); public final static native boolean SipUri_isValid__SWIG_1(long jarg1, SipUri jarg1_);
public final static native long new_SipEvent(); public final static native long new_SipEvent();
public final static native void delete_SipEvent(long jarg1); public final static native void delete_SipEvent(long jarg1);
public final static native short SipEvent_getCode(long jarg1, SipEvent jarg1_); public final static native short SipEvent_getCode(long jarg1, SipEvent jarg1_);
public final static native String SipEvent_getPhrase(long jarg1, SipEvent jarg1_); public final static native String SipEvent_getPhrase(long jarg1, SipEvent jarg1_);
public final static native long SipEvent_getBaseSession(long jarg1, SipEvent jarg1_); public final static native long SipEvent_getBaseSession(long jarg1, SipEvent jarg1_);
public final static native long new_SipSession(long jarg1, SipStack jarg1_); public final static native long new_SipSession(long jarg1, SipStack jarg1_);
public final static native void delete_SipSession(long jarg1); public final static native void delete_SipSession(long jarg1);
public final static native boolean SipSession_addHeader(long jarg1, SipSession jarg1_, String jarg2, String jarg3); public final static native boolean SipSession_addHeader(long jarg1, SipSession jarg1_, String jarg2, String jarg3);
public final static native boolean SipSession_removeHeader(long jarg1, SipSession jarg1_, String jarg2); public final static native boolean SipSession_removeHeader(long jarg1, SipSession jarg1_, String jarg2);
public final static native boolean SipSession_addCaps__SWIG_0(long jarg1, SipSession jarg1_, String jarg2, String jarg3); public final static native boolean SipSession_addCaps__SWIG_0(long jarg1, SipSession jarg1_, String jarg2, String jarg3);
public final static native boolean SipSession_addCaps__SWIG_1(long jarg1, SipSession jarg1_, String jarg2); public final static native boolean SipSession_addCaps__SWIG_1(long jarg1, SipSession jarg1_, String jarg2);
public final static native boolean SipSession_removeCaps(long jarg1, SipSession jarg1_, String jarg2); public final static native boolean SipSession_removeCaps(long jarg1, SipSession jarg1_, String jarg2);
public final static native boolean SipSession_setExpires(long jarg1, SipSession jarg1_, long jarg2); public final static native boolean SipSession_setExpires(long jarg1, SipSession jarg1_, long jarg2);
public final static native boolean SipSession_setFromUri(long jarg1, SipSession jarg1_, String jarg2); public final static native boolean SipSession_setFromUri(long jarg1, SipSession jarg1_, String jarg2);
public final static native boolean SipSession_setToUri(long jarg1, SipSession jarg1_, String jarg2); public final static native boolean SipSession_setToUri(long jarg1, SipSession jarg1_, String jarg2);
public final static native boolean SipSession_setPayload(long jarg1, SipSession jarg1_, String jarg2, long jarg3); public final static native boolean SipSession_setPayload(long jarg1, SipSession jarg1_, String jarg2, long jarg3);
public final static native long new_RegistrationEvent(); public final static native long new_RegistrationEvent();
public final static native void delete_RegistrationEvent(long jarg1); public final static native void delete_RegistrationEvent(long jarg1);
public final static native int RegistrationEvent_getType(long jarg1, RegistrationEvent jarg1_); public final static native int RegistrationEvent_getType(long jarg1, RegistrationEvent jarg1_);
public final static native long RegistrationEvent_getSession(long jarg1, RegistrationEvent jarg1_); public final static native long RegistrationEvent_getSession(long jarg1, RegistrationEvent jarg1_);
public final static native long new_RegistrationSession(long jarg1, SipStack jarg1_); public final static native long new_RegistrationSession(long jarg1, SipStack jarg1_);
public final static native void delete_RegistrationSession(long jarg1); public final static native void delete_RegistrationSession(long jarg1);
public final static native boolean RegistrationSession_Register(long jarg1, RegistrationSession jarg1_); public final static native boolean RegistrationSession_Register(long jarg1, RegistrationSession jarg1_);
public final static native boolean RegistrationSession_UnRegister(long jarg1, RegistrationSession jarg1_); public final static native boolean RegistrationSession_UnRegister(long jarg1, RegistrationSession jarg1_);
public final static native long new_SubscriptionEvent(); public final static native long new_SubscriptionEvent();
public final static native void delete_SubscriptionEvent(long jarg1); public final static native void delete_SubscriptionEvent(long jarg1);
public final static native int SubscriptionEvent_getType(long jarg1, SubscriptionEvent jarg1_); public final static native int SubscriptionEvent_getType(long jarg1, SubscriptionEvent jarg1_);
public final static native long SubscriptionEvent_getSession(long jarg1, SubscriptionEvent jarg1_); public final static native long SubscriptionEvent_getSession(long jarg1, SubscriptionEvent jarg1_);
public final static native long new_SubscriptionSession(long jarg1, SipStack jarg1_); public final static native long new_SubscriptionSession(long jarg1, SipStack jarg1_);
public final static native void delete_SubscriptionSession(long jarg1); public final static native void delete_SubscriptionSession(long jarg1);
public final static native boolean SubscriptionSession_Subscribe(long jarg1, SubscriptionSession jarg1_); public final static native boolean SubscriptionSession_Subscribe(long jarg1, SubscriptionSession jarg1_);
public final static native boolean SubscriptionSession_UnSubscribe(long jarg1, SubscriptionSession jarg1_); public final static native boolean SubscriptionSession_UnSubscribe(long jarg1, SubscriptionSession jarg1_);
public final static native long new_SipCallback(); public final static native long new_SipCallback();
public final static native void delete_SipCallback(long jarg1); public final static native void delete_SipCallback(long jarg1);
public final static native int SipCallback_OnRegistrationChanged(long jarg1, SipCallback jarg1_, long jarg2, RegistrationEvent jarg2_); public final static native int SipCallback_OnRegistrationChanged(long jarg1, SipCallback jarg1_, long jarg2, RegistrationEvent jarg2_);
public final static native int SipCallback_OnRegistrationChangedSwigExplicitSipCallback(long jarg1, SipCallback jarg1_, long jarg2, RegistrationEvent jarg2_); public final static native int SipCallback_OnRegistrationChangedSwigExplicitSipCallback(long jarg1, SipCallback jarg1_, long jarg2, RegistrationEvent jarg2_);
public final static native int SipCallback_OnSubscriptionChanged(long jarg1, SipCallback jarg1_, long jarg2, SubscriptionEvent jarg2_); public final static native int SipCallback_OnSubscriptionChanged(long jarg1, SipCallback jarg1_, long jarg2, SubscriptionEvent jarg2_);
public final static native int SipCallback_OnSubscriptionChangedSwigExplicitSipCallback(long jarg1, SipCallback jarg1_, long jarg2, SubscriptionEvent jarg2_); public final static native int SipCallback_OnSubscriptionChangedSwigExplicitSipCallback(long jarg1, SipCallback jarg1_, long jarg2, SubscriptionEvent jarg2_);
public final static native void SipCallback_director_connect(SipCallback obj, long cptr, boolean mem_own, boolean weak_global); public final static native void SipCallback_director_connect(SipCallback obj, long cptr, boolean mem_own, boolean weak_global);
public final static native void SipCallback_change_ownership(SipCallback obj, long cptr, boolean take_or_release); public final static native void SipCallback_change_ownership(SipCallback obj, long cptr, boolean take_or_release);
public final static native long new_SipDebugCallback(); public final static native long new_SipDebugCallback();
public final static native void delete_SipDebugCallback(long jarg1); public final static native void delete_SipDebugCallback(long jarg1);
public final static native int SipDebugCallback_OnDebugInfo(long jarg1, SipDebugCallback jarg1_, String jarg2); public final static native int SipDebugCallback_OnDebugInfo(long jarg1, SipDebugCallback jarg1_, String jarg2);
public final static native int SipDebugCallback_OnDebugInfoSwigExplicitSipDebugCallback(long jarg1, SipDebugCallback jarg1_, String jarg2); public final static native int SipDebugCallback_OnDebugInfoSwigExplicitSipDebugCallback(long jarg1, SipDebugCallback jarg1_, String jarg2);
public final static native int SipDebugCallback_OnDebugWarn(long jarg1, SipDebugCallback jarg1_, String jarg2); public final static native int SipDebugCallback_OnDebugWarn(long jarg1, SipDebugCallback jarg1_, String jarg2);
public final static native int SipDebugCallback_OnDebugWarnSwigExplicitSipDebugCallback(long jarg1, SipDebugCallback jarg1_, String jarg2); public final static native int SipDebugCallback_OnDebugWarnSwigExplicitSipDebugCallback(long jarg1, SipDebugCallback jarg1_, String jarg2);
public final static native int SipDebugCallback_OnDebugError(long jarg1, SipDebugCallback jarg1_, String jarg2); public final static native int SipDebugCallback_OnDebugError(long jarg1, SipDebugCallback jarg1_, String jarg2);
public final static native int SipDebugCallback_OnDebugErrorSwigExplicitSipDebugCallback(long jarg1, SipDebugCallback jarg1_, String jarg2); public final static native int SipDebugCallback_OnDebugErrorSwigExplicitSipDebugCallback(long jarg1, SipDebugCallback jarg1_, String jarg2);
public final static native int SipDebugCallback_OnDebugFatal(long jarg1, SipDebugCallback jarg1_, String jarg2); public final static native int SipDebugCallback_OnDebugFatal(long jarg1, SipDebugCallback jarg1_, String jarg2);
public final static native int SipDebugCallback_OnDebugFatalSwigExplicitSipDebugCallback(long jarg1, SipDebugCallback jarg1_, String jarg2); public final static native int SipDebugCallback_OnDebugFatalSwigExplicitSipDebugCallback(long jarg1, SipDebugCallback jarg1_, String jarg2);
public final static native void SipDebugCallback_director_connect(SipDebugCallback obj, long cptr, boolean mem_own, boolean weak_global); public final static native void SipDebugCallback_director_connect(SipDebugCallback obj, long cptr, boolean mem_own, boolean weak_global);
public final static native void SipDebugCallback_change_ownership(SipDebugCallback obj, long cptr, boolean take_or_release); public final static native void SipDebugCallback_change_ownership(SipDebugCallback obj, long cptr, boolean take_or_release);
public final static native long new_SafeObject(); public final static native long new_SafeObject();
public final static native void delete_SafeObject(long jarg1); public final static native void delete_SafeObject(long jarg1);
public final static native int SafeObject_Lock(long jarg1, SafeObject jarg1_); public final static native int SafeObject_Lock(long jarg1, SafeObject jarg1_);
public final static native int SafeObject_UnLock(long jarg1, SafeObject jarg1_); public final static native int SafeObject_UnLock(long jarg1, SafeObject jarg1_);
public final static native long new_SipStack(long jarg1, SipCallback jarg1_, String jarg2, String jarg3, String jarg4); public final static native long new_SipStack(long jarg1, SipCallback jarg1_, String jarg2, String jarg3, String jarg4);
public final static native void delete_SipStack(long jarg1); public final static native void delete_SipStack(long jarg1);
public final static native boolean SipStack_start(long jarg1, SipStack jarg1_); public final static native boolean SipStack_start(long jarg1, SipStack jarg1_);
public final static native boolean SipStack_setDebugCallback(long jarg1, SipStack jarg1_, long jarg2, SipDebugCallback jarg2_); public final static native boolean SipStack_setDebugCallback(long jarg1, SipStack jarg1_, long jarg2, SipDebugCallback jarg2_);
public final static native boolean SipStack_setRealm(long jarg1, SipStack jarg1_, String jarg2); public final static native boolean SipStack_setRealm(long jarg1, SipStack jarg1_, String jarg2);
public final static native boolean SipStack_setIMPI(long jarg1, SipStack jarg1_, String jarg2); public final static native boolean SipStack_setIMPI(long jarg1, SipStack jarg1_, String jarg2);
public final static native boolean SipStack_setIMPU(long jarg1, SipStack jarg1_, String jarg2); public final static native boolean SipStack_setIMPU(long jarg1, SipStack jarg1_, String jarg2);
public final static native boolean SipStack_setPassword(long jarg1, SipStack jarg1_, String jarg2); public final static native boolean SipStack_setPassword(long jarg1, SipStack jarg1_, String jarg2);
public final static native boolean SipStack_setProxyCSCF(long jarg1, SipStack jarg1_, String jarg2, long jarg3, String jarg4, String jarg5); public final static native boolean SipStack_setProxyCSCF(long jarg1, SipStack jarg1_, String jarg2, long jarg3, String jarg4, String jarg5);
public final static native boolean SipStack_setLocalIP(long jarg1, SipStack jarg1_, String jarg2); public final static native boolean SipStack_setLocalIP(long jarg1, SipStack jarg1_, String jarg2);
public final static native boolean SipStack_setLocalPort(long jarg1, SipStack jarg1_, long jarg2); public final static native boolean SipStack_setLocalPort(long jarg1, SipStack jarg1_, long jarg2);
public final static native boolean SipStack_setEarlyIMS(long jarg1, SipStack jarg1_, boolean jarg2); public final static native boolean SipStack_setEarlyIMS(long jarg1, SipStack jarg1_, boolean jarg2);
public final static native boolean SipStack_addHeader(long jarg1, SipStack jarg1_, String jarg2, String jarg3); public final static native boolean SipStack_addHeader(long jarg1, SipStack jarg1_, String jarg2, String jarg3);
public final static native boolean SipStack_removeHeader(long jarg1, SipStack jarg1_, String jarg2); public final static native boolean SipStack_removeHeader(long jarg1, SipStack jarg1_, String jarg2);
public final static native boolean SipStack_addDnsServer(long jarg1, SipStack jarg1_, String jarg2); public final static native boolean SipStack_addDnsServer(long jarg1, SipStack jarg1_, String jarg2);
public final static native boolean SipStack_isValid(long jarg1, SipStack jarg1_); public final static native boolean SipStack_isValid(long jarg1, SipStack jarg1_);
public final static native boolean SipStack_stop(long jarg1, SipStack jarg1_); public final static native boolean SipStack_stop(long jarg1, SipStack jarg1_);
public final static native long SWIGRegistrationEventUpcast(long jarg1); public final static native long SWIGRegistrationEventUpcast(long jarg1);
public final static native long SWIGRegistrationSessionUpcast(long jarg1); public final static native long SWIGRegistrationSessionUpcast(long jarg1);
public final static native long SWIGSubscriptionEventUpcast(long jarg1); public final static native long SWIGSubscriptionEventUpcast(long jarg1);
public final static native long SWIGSubscriptionSessionUpcast(long jarg1); public final static native long SWIGSubscriptionSessionUpcast(long jarg1);
public final static native long SWIGSipStackUpcast(long jarg1); public final static native long SWIGSipStackUpcast(long jarg1);
public static int SwigDirector_SipCallback_OnRegistrationChanged(SipCallback self, long e) { public static int SwigDirector_SipCallback_OnRegistrationChanged(SipCallback self, long e) {
return self.OnRegistrationChanged((e == 0) ? null : new RegistrationEvent(e, false)); return self.OnRegistrationChanged((e == 0) ? null : new RegistrationEvent(e, false));
} }
public static int SwigDirector_SipCallback_OnSubscriptionChanged(SipCallback self, long e) { public static int SwigDirector_SipCallback_OnSubscriptionChanged(SipCallback self, long e) {
return self.OnSubscriptionChanged((e == 0) ? null : new SubscriptionEvent(e, false)); return self.OnSubscriptionChanged((e == 0) ? null : new SubscriptionEvent(e, false));
} }
public static int SwigDirector_SipDebugCallback_OnDebugInfo(SipDebugCallback self, String message) { public static int SwigDirector_SipDebugCallback_OnDebugInfo(SipDebugCallback self, String message) {
return self.OnDebugInfo(message); return self.OnDebugInfo(message);
} }
public static int SwigDirector_SipDebugCallback_OnDebugWarn(SipDebugCallback self, String message) { public static int SwigDirector_SipDebugCallback_OnDebugWarn(SipDebugCallback self, String message) {
return self.OnDebugWarn(message); return self.OnDebugWarn(message);
} }
public static int SwigDirector_SipDebugCallback_OnDebugError(SipDebugCallback self, String message) { public static int SwigDirector_SipDebugCallback_OnDebugError(SipDebugCallback self, String message) {
return self.OnDebugError(message); return self.OnDebugError(message);
} }
public static int SwigDirector_SipDebugCallback_OnDebugFatal(SipDebugCallback self, String message) { public static int SwigDirector_SipDebugCallback_OnDebugFatal(SipDebugCallback self, String message) {
return self.OnDebugFatal(message); return self.OnDebugFatal(message);
} }
private final static native void swig_module_init(); private final static native void swig_module_init();
static { static {
swig_module_init(); swig_module_init();
} }
} }

File diff suppressed because it is too large Load Diff

View File

@ -1,49 +1,49 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 1.3.39
* *
* This file is not intended to be easily readable and contains a number of * 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 * coding conventions designed to improve portability and efficiency. Do not make
* changes to this file unless you know what you are doing--modify the SWIG * changes to this file unless you know what you are doing--modify the SWIG
* interface file instead. * interface file instead.
* ----------------------------------------------------------------------------- */ * ----------------------------------------------------------------------------- */
#ifndef SWIG_tinyWRAP_WRAP_H_ #ifndef SWIG_tinyWRAP_WRAP_H_
#define SWIG_tinyWRAP_WRAP_H_ #define SWIG_tinyWRAP_WRAP_H_
class SwigDirector_SipCallback : public SipCallback, public Swig::Director { class SwigDirector_SipCallback : public SipCallback, public Swig::Director {
public: public:
void swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global); void swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global);
SwigDirector_SipCallback(JNIEnv *jenv); SwigDirector_SipCallback(JNIEnv *jenv);
virtual ~SwigDirector_SipCallback(); virtual ~SwigDirector_SipCallback();
virtual int OnRegistrationChanged(RegistrationEvent const *e); virtual int OnRegistrationChanged(RegistrationEvent const *e);
virtual int OnSubscriptionChanged(SubscriptionEvent const *e); virtual int OnSubscriptionChanged(SubscriptionEvent const *e);
public: public:
bool swig_overrides(int n) { bool swig_overrides(int n) {
return (n < 2 ? swig_override[n] : false); return (n < 2 ? swig_override[n] : false);
} }
protected: protected:
bool swig_override[2]; bool swig_override[2];
}; };
class SwigDirector_SipDebugCallback : public SipDebugCallback, public Swig::Director { class SwigDirector_SipDebugCallback : public SipDebugCallback, public Swig::Director {
public: public:
void swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global); void swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global);
SwigDirector_SipDebugCallback(JNIEnv *jenv); SwigDirector_SipDebugCallback(JNIEnv *jenv);
virtual ~SwigDirector_SipDebugCallback(); virtual ~SwigDirector_SipDebugCallback();
virtual int OnDebugInfo(char const *message); virtual int OnDebugInfo(char const *message);
virtual int OnDebugWarn(char const *message); virtual int OnDebugWarn(char const *message);
virtual int OnDebugError(char const *message); virtual int OnDebugError(char const *message);
virtual int OnDebugFatal(char const *message); virtual int OnDebugFatal(char const *message);
public: public:
bool swig_overrides(int n) { bool swig_overrides(int n) {
return (n < 4 ? swig_override[n] : false); return (n < 4 ? swig_override[n] : false);
} }
protected: protected:
bool swig_override[4]; bool swig_override[4];
}; };
#endif #endif

View File

@ -1,57 +1,57 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 1.3.39
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
* ----------------------------------------------------------------------------- */ * ----------------------------------------------------------------------------- */
package org.doubango.tinyWRAP; package org.doubango.tinyWRAP;
public enum tsip_event_type_t { public enum tsip_event_type_t {
tsip_event_invite, tsip_event_invite,
tsip_event_message, tsip_event_message,
tsip_event_options, tsip_event_options,
tsip_event_publish, tsip_event_publish,
tsip_event_register, tsip_event_register,
tsip_event_subscribe, tsip_event_subscribe,
tsip_event_dialog; tsip_event_dialog;
public final int swigValue() { public final int swigValue() {
return swigValue; return swigValue;
} }
public static tsip_event_type_t swigToEnum(int swigValue) { public static tsip_event_type_t swigToEnum(int swigValue) {
tsip_event_type_t[] swigValues = tsip_event_type_t.class.getEnumConstants(); tsip_event_type_t[] swigValues = tsip_event_type_t.class.getEnumConstants();
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue) if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
return swigValues[swigValue]; return swigValues[swigValue];
for (tsip_event_type_t swigEnum : swigValues) for (tsip_event_type_t swigEnum : swigValues)
if (swigEnum.swigValue == swigValue) if (swigEnum.swigValue == swigValue)
return swigEnum; return swigEnum;
throw new IllegalArgumentException("No enum " + tsip_event_type_t.class + " with value " + swigValue); throw new IllegalArgumentException("No enum " + tsip_event_type_t.class + " with value " + swigValue);
} }
@SuppressWarnings("unused") @SuppressWarnings("unused")
private tsip_event_type_t() { private tsip_event_type_t() {
this.swigValue = SwigNext.next++; this.swigValue = SwigNext.next++;
} }
@SuppressWarnings("unused") @SuppressWarnings("unused")
private tsip_event_type_t(int swigValue) { private tsip_event_type_t(int swigValue) {
this.swigValue = swigValue; this.swigValue = swigValue;
SwigNext.next = swigValue+1; SwigNext.next = swigValue+1;
} }
@SuppressWarnings("unused") @SuppressWarnings("unused")
private tsip_event_type_t(tsip_event_type_t swigEnum) { private tsip_event_type_t(tsip_event_type_t swigEnum) {
this.swigValue = swigEnum.swigValue; this.swigValue = swigEnum.swigValue;
SwigNext.next = this.swigValue+1; SwigNext.next = this.swigValue+1;
} }
private final int swigValue; private final int swigValue;
private static class SwigNext { private static class SwigNext {
private static int next = 0; private static int next = 0;
} }
} }

View File

@ -1,58 +1,58 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 1.3.39
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
* ----------------------------------------------------------------------------- */ * ----------------------------------------------------------------------------- */
package org.doubango.tinyWRAP; package org.doubango.tinyWRAP;
public enum tsip_register_event_type_t { public enum tsip_register_event_type_t {
tsip_i_register, tsip_i_register,
tsip_ai_register, tsip_ai_register,
tsip_o_register, tsip_o_register,
tsip_ao_register, tsip_ao_register,
tsip_i_unregister, tsip_i_unregister,
tsip_ai_unregister, tsip_ai_unregister,
tsip_o_unregister, tsip_o_unregister,
tsip_ao_unregister; tsip_ao_unregister;
public final int swigValue() { public final int swigValue() {
return swigValue; return swigValue;
} }
public static tsip_register_event_type_t swigToEnum(int swigValue) { public static tsip_register_event_type_t swigToEnum(int swigValue) {
tsip_register_event_type_t[] swigValues = tsip_register_event_type_t.class.getEnumConstants(); tsip_register_event_type_t[] swigValues = tsip_register_event_type_t.class.getEnumConstants();
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue) if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
return swigValues[swigValue]; return swigValues[swigValue];
for (tsip_register_event_type_t swigEnum : swigValues) for (tsip_register_event_type_t swigEnum : swigValues)
if (swigEnum.swigValue == swigValue) if (swigEnum.swigValue == swigValue)
return swigEnum; return swigEnum;
throw new IllegalArgumentException("No enum " + tsip_register_event_type_t.class + " with value " + swigValue); throw new IllegalArgumentException("No enum " + tsip_register_event_type_t.class + " with value " + swigValue);
} }
@SuppressWarnings("unused") @SuppressWarnings("unused")
private tsip_register_event_type_t() { private tsip_register_event_type_t() {
this.swigValue = SwigNext.next++; this.swigValue = SwigNext.next++;
} }
@SuppressWarnings("unused") @SuppressWarnings("unused")
private tsip_register_event_type_t(int swigValue) { private tsip_register_event_type_t(int swigValue) {
this.swigValue = swigValue; this.swigValue = swigValue;
SwigNext.next = swigValue+1; SwigNext.next = swigValue+1;
} }
@SuppressWarnings("unused") @SuppressWarnings("unused")
private tsip_register_event_type_t(tsip_register_event_type_t swigEnum) { private tsip_register_event_type_t(tsip_register_event_type_t swigEnum) {
this.swigValue = swigEnum.swigValue; this.swigValue = swigEnum.swigValue;
SwigNext.next = this.swigValue+1; SwigNext.next = this.swigValue+1;
} }
private final int swigValue; private final int swigValue;
private static class SwigNext { private static class SwigNext {
private static int next = 0; private static int next = 0;
} }
} }

View File

@ -1,62 +1,62 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 1.3.39
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
* ----------------------------------------------------------------------------- */ * ----------------------------------------------------------------------------- */
package org.doubango.tinyWRAP; package org.doubango.tinyWRAP;
public enum tsip_subscribe_event_type_t { public enum tsip_subscribe_event_type_t {
tsip_i_subscribe, tsip_i_subscribe,
tsip_ai_subscribe, tsip_ai_subscribe,
tsip_o_subscribe, tsip_o_subscribe,
tsip_ao_subscribe, tsip_ao_subscribe,
tsip_i_unsubscribe, tsip_i_unsubscribe,
tsip_ai_unsubscribe, tsip_ai_unsubscribe,
tsip_o_unsubscribe, tsip_o_unsubscribe,
tsip_ao_unsubscribe, tsip_ao_unsubscribe,
tsip_i_notify, tsip_i_notify,
tsip_ai_notify, tsip_ai_notify,
tsip_o_notify, tsip_o_notify,
tsip_ao_notify; tsip_ao_notify;
public final int swigValue() { public final int swigValue() {
return swigValue; return swigValue;
} }
public static tsip_subscribe_event_type_t swigToEnum(int swigValue) { public static tsip_subscribe_event_type_t swigToEnum(int swigValue) {
tsip_subscribe_event_type_t[] swigValues = tsip_subscribe_event_type_t.class.getEnumConstants(); tsip_subscribe_event_type_t[] swigValues = tsip_subscribe_event_type_t.class.getEnumConstants();
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue) if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
return swigValues[swigValue]; return swigValues[swigValue];
for (tsip_subscribe_event_type_t swigEnum : swigValues) for (tsip_subscribe_event_type_t swigEnum : swigValues)
if (swigEnum.swigValue == swigValue) if (swigEnum.swigValue == swigValue)
return swigEnum; return swigEnum;
throw new IllegalArgumentException("No enum " + tsip_subscribe_event_type_t.class + " with value " + swigValue); throw new IllegalArgumentException("No enum " + tsip_subscribe_event_type_t.class + " with value " + swigValue);
} }
@SuppressWarnings("unused") @SuppressWarnings("unused")
private tsip_subscribe_event_type_t() { private tsip_subscribe_event_type_t() {
this.swigValue = SwigNext.next++; this.swigValue = SwigNext.next++;
} }
@SuppressWarnings("unused") @SuppressWarnings("unused")
private tsip_subscribe_event_type_t(int swigValue) { private tsip_subscribe_event_type_t(int swigValue) {
this.swigValue = swigValue; this.swigValue = swigValue;
SwigNext.next = swigValue+1; SwigNext.next = swigValue+1;
} }
@SuppressWarnings("unused") @SuppressWarnings("unused")
private tsip_subscribe_event_type_t(tsip_subscribe_event_type_t swigEnum) { private tsip_subscribe_event_type_t(tsip_subscribe_event_type_t swigEnum) {
this.swigValue = swigEnum.swigValue; this.swigValue = swigEnum.swigValue;
SwigNext.next = this.swigValue+1; SwigNext.next = this.swigValue+1;
} }
private final int swigValue; private final int swigValue;
private static class SwigNext { private static class SwigNext {
private static int next = 0; private static int next = 0;
} }
} }

View File

@ -1,12 +1,12 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 1.3.39
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
* ----------------------------------------------------------------------------- */ * ----------------------------------------------------------------------------- */
package org.doubango.tinyWRAP; package org.doubango.tinyWRAP;
public class tinyWRAP { public class tinyWRAP {
} }

View File

@ -1,118 +1,118 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 1.3.39
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
* ----------------------------------------------------------------------------- */ * ----------------------------------------------------------------------------- */
package org.doubango.tinyWRAP; package org.doubango.tinyWRAP;
class tinyWRAPJNI { class tinyWRAPJNI {
public final static native long new_SipUri(String jarg1); public final static native long new_SipUri(String jarg1);
public final static native void delete_SipUri(long jarg1); public final static native void delete_SipUri(long jarg1);
public final static native boolean SipUri_isValid__SWIG_0(String jarg1); public final static native boolean SipUri_isValid__SWIG_0(String jarg1);
public final static native boolean SipUri_isValid__SWIG_1(long jarg1, SipUri jarg1_); public final static native boolean SipUri_isValid__SWIG_1(long jarg1, SipUri jarg1_);
public final static native long new_SipEvent(); public final static native long new_SipEvent();
public final static native void delete_SipEvent(long jarg1); public final static native void delete_SipEvent(long jarg1);
public final static native short SipEvent_getCode(long jarg1, SipEvent jarg1_); public final static native short SipEvent_getCode(long jarg1, SipEvent jarg1_);
public final static native String SipEvent_getPhrase(long jarg1, SipEvent jarg1_); public final static native String SipEvent_getPhrase(long jarg1, SipEvent jarg1_);
public final static native long SipEvent_getBaseSession(long jarg1, SipEvent jarg1_); public final static native long SipEvent_getBaseSession(long jarg1, SipEvent jarg1_);
public final static native long new_SipSession(long jarg1, SipStack jarg1_); public final static native long new_SipSession(long jarg1, SipStack jarg1_);
public final static native void delete_SipSession(long jarg1); public final static native void delete_SipSession(long jarg1);
public final static native boolean SipSession_addHeader(long jarg1, SipSession jarg1_, String jarg2, String jarg3); public final static native boolean SipSession_addHeader(long jarg1, SipSession jarg1_, String jarg2, String jarg3);
public final static native boolean SipSession_removeHeader(long jarg1, SipSession jarg1_, String jarg2); public final static native boolean SipSession_removeHeader(long jarg1, SipSession jarg1_, String jarg2);
public final static native boolean SipSession_addCaps__SWIG_0(long jarg1, SipSession jarg1_, String jarg2, String jarg3); public final static native boolean SipSession_addCaps__SWIG_0(long jarg1, SipSession jarg1_, String jarg2, String jarg3);
public final static native boolean SipSession_addCaps__SWIG_1(long jarg1, SipSession jarg1_, String jarg2); public final static native boolean SipSession_addCaps__SWIG_1(long jarg1, SipSession jarg1_, String jarg2);
public final static native boolean SipSession_removeCaps(long jarg1, SipSession jarg1_, String jarg2); public final static native boolean SipSession_removeCaps(long jarg1, SipSession jarg1_, String jarg2);
public final static native boolean SipSession_setExpires(long jarg1, SipSession jarg1_, long jarg2); public final static native boolean SipSession_setExpires(long jarg1, SipSession jarg1_, long jarg2);
public final static native boolean SipSession_setFromUri(long jarg1, SipSession jarg1_, String jarg2); public final static native boolean SipSession_setFromUri(long jarg1, SipSession jarg1_, String jarg2);
public final static native boolean SipSession_setToUri(long jarg1, SipSession jarg1_, String jarg2); public final static native boolean SipSession_setToUri(long jarg1, SipSession jarg1_, String jarg2);
public final static native boolean SipSession_setPayload(long jarg1, SipSession jarg1_, String jarg2, long jarg3); public final static native boolean SipSession_setPayload(long jarg1, SipSession jarg1_, String jarg2, long jarg3);
public final static native long new_RegistrationEvent(); public final static native long new_RegistrationEvent();
public final static native void delete_RegistrationEvent(long jarg1); public final static native void delete_RegistrationEvent(long jarg1);
public final static native int RegistrationEvent_getType(long jarg1, RegistrationEvent jarg1_); public final static native int RegistrationEvent_getType(long jarg1, RegistrationEvent jarg1_);
public final static native long RegistrationEvent_getSession(long jarg1, RegistrationEvent jarg1_); public final static native long RegistrationEvent_getSession(long jarg1, RegistrationEvent jarg1_);
public final static native long new_RegistrationSession(long jarg1, SipStack jarg1_); public final static native long new_RegistrationSession(long jarg1, SipStack jarg1_);
public final static native void delete_RegistrationSession(long jarg1); public final static native void delete_RegistrationSession(long jarg1);
public final static native boolean RegistrationSession_Register(long jarg1, RegistrationSession jarg1_); public final static native boolean RegistrationSession_Register(long jarg1, RegistrationSession jarg1_);
public final static native boolean RegistrationSession_UnRegister(long jarg1, RegistrationSession jarg1_); public final static native boolean RegistrationSession_UnRegister(long jarg1, RegistrationSession jarg1_);
public final static native long new_SubscriptionEvent(); public final static native long new_SubscriptionEvent();
public final static native void delete_SubscriptionEvent(long jarg1); public final static native void delete_SubscriptionEvent(long jarg1);
public final static native int SubscriptionEvent_getType(long jarg1, SubscriptionEvent jarg1_); public final static native int SubscriptionEvent_getType(long jarg1, SubscriptionEvent jarg1_);
public final static native long SubscriptionEvent_getSession(long jarg1, SubscriptionEvent jarg1_); public final static native long SubscriptionEvent_getSession(long jarg1, SubscriptionEvent jarg1_);
public final static native long new_SubscriptionSession(long jarg1, SipStack jarg1_); public final static native long new_SubscriptionSession(long jarg1, SipStack jarg1_);
public final static native void delete_SubscriptionSession(long jarg1); public final static native void delete_SubscriptionSession(long jarg1);
public final static native boolean SubscriptionSession_Subscribe(long jarg1, SubscriptionSession jarg1_); public final static native boolean SubscriptionSession_Subscribe(long jarg1, SubscriptionSession jarg1_);
public final static native boolean SubscriptionSession_UnSubscribe(long jarg1, SubscriptionSession jarg1_); public final static native boolean SubscriptionSession_UnSubscribe(long jarg1, SubscriptionSession jarg1_);
public final static native long new_SipCallback(); public final static native long new_SipCallback();
public final static native void delete_SipCallback(long jarg1); public final static native void delete_SipCallback(long jarg1);
public final static native int SipCallback_OnRegistrationChanged(long jarg1, SipCallback jarg1_, long jarg2, RegistrationEvent jarg2_); public final static native int SipCallback_OnRegistrationChanged(long jarg1, SipCallback jarg1_, long jarg2, RegistrationEvent jarg2_);
public final static native int SipCallback_OnRegistrationChangedSwigExplicitSipCallback(long jarg1, SipCallback jarg1_, long jarg2, RegistrationEvent jarg2_); public final static native int SipCallback_OnRegistrationChangedSwigExplicitSipCallback(long jarg1, SipCallback jarg1_, long jarg2, RegistrationEvent jarg2_);
public final static native int SipCallback_OnSubscriptionChanged(long jarg1, SipCallback jarg1_, long jarg2, SubscriptionEvent jarg2_); public final static native int SipCallback_OnSubscriptionChanged(long jarg1, SipCallback jarg1_, long jarg2, SubscriptionEvent jarg2_);
public final static native int SipCallback_OnSubscriptionChangedSwigExplicitSipCallback(long jarg1, SipCallback jarg1_, long jarg2, SubscriptionEvent jarg2_); public final static native int SipCallback_OnSubscriptionChangedSwigExplicitSipCallback(long jarg1, SipCallback jarg1_, long jarg2, SubscriptionEvent jarg2_);
public final static native void SipCallback_director_connect(SipCallback obj, long cptr, boolean mem_own, boolean weak_global); public final static native void SipCallback_director_connect(SipCallback obj, long cptr, boolean mem_own, boolean weak_global);
public final static native void SipCallback_change_ownership(SipCallback obj, long cptr, boolean take_or_release); public final static native void SipCallback_change_ownership(SipCallback obj, long cptr, boolean take_or_release);
public final static native long new_SipDebugCallback(); public final static native long new_SipDebugCallback();
public final static native void delete_SipDebugCallback(long jarg1); public final static native void delete_SipDebugCallback(long jarg1);
public final static native int SipDebugCallback_OnDebugInfo(long jarg1, SipDebugCallback jarg1_, String jarg2); public final static native int SipDebugCallback_OnDebugInfo(long jarg1, SipDebugCallback jarg1_, String jarg2);
public final static native int SipDebugCallback_OnDebugInfoSwigExplicitSipDebugCallback(long jarg1, SipDebugCallback jarg1_, String jarg2); public final static native int SipDebugCallback_OnDebugInfoSwigExplicitSipDebugCallback(long jarg1, SipDebugCallback jarg1_, String jarg2);
public final static native int SipDebugCallback_OnDebugWarn(long jarg1, SipDebugCallback jarg1_, String jarg2); public final static native int SipDebugCallback_OnDebugWarn(long jarg1, SipDebugCallback jarg1_, String jarg2);
public final static native int SipDebugCallback_OnDebugWarnSwigExplicitSipDebugCallback(long jarg1, SipDebugCallback jarg1_, String jarg2); public final static native int SipDebugCallback_OnDebugWarnSwigExplicitSipDebugCallback(long jarg1, SipDebugCallback jarg1_, String jarg2);
public final static native int SipDebugCallback_OnDebugError(long jarg1, SipDebugCallback jarg1_, String jarg2); public final static native int SipDebugCallback_OnDebugError(long jarg1, SipDebugCallback jarg1_, String jarg2);
public final static native int SipDebugCallback_OnDebugErrorSwigExplicitSipDebugCallback(long jarg1, SipDebugCallback jarg1_, String jarg2); public final static native int SipDebugCallback_OnDebugErrorSwigExplicitSipDebugCallback(long jarg1, SipDebugCallback jarg1_, String jarg2);
public final static native int SipDebugCallback_OnDebugFatal(long jarg1, SipDebugCallback jarg1_, String jarg2); public final static native int SipDebugCallback_OnDebugFatal(long jarg1, SipDebugCallback jarg1_, String jarg2);
public final static native int SipDebugCallback_OnDebugFatalSwigExplicitSipDebugCallback(long jarg1, SipDebugCallback jarg1_, String jarg2); public final static native int SipDebugCallback_OnDebugFatalSwigExplicitSipDebugCallback(long jarg1, SipDebugCallback jarg1_, String jarg2);
public final static native void SipDebugCallback_director_connect(SipDebugCallback obj, long cptr, boolean mem_own, boolean weak_global); public final static native void SipDebugCallback_director_connect(SipDebugCallback obj, long cptr, boolean mem_own, boolean weak_global);
public final static native void SipDebugCallback_change_ownership(SipDebugCallback obj, long cptr, boolean take_or_release); public final static native void SipDebugCallback_change_ownership(SipDebugCallback obj, long cptr, boolean take_or_release);
public final static native long new_SafeObject(); public final static native long new_SafeObject();
public final static native void delete_SafeObject(long jarg1); public final static native void delete_SafeObject(long jarg1);
public final static native int SafeObject_Lock(long jarg1, SafeObject jarg1_); public final static native int SafeObject_Lock(long jarg1, SafeObject jarg1_);
public final static native int SafeObject_UnLock(long jarg1, SafeObject jarg1_); public final static native int SafeObject_UnLock(long jarg1, SafeObject jarg1_);
public final static native long new_SipStack(long jarg1, SipCallback jarg1_, String jarg2, String jarg3, String jarg4); public final static native long new_SipStack(long jarg1, SipCallback jarg1_, String jarg2, String jarg3, String jarg4);
public final static native void delete_SipStack(long jarg1); public final static native void delete_SipStack(long jarg1);
public final static native boolean SipStack_start(long jarg1, SipStack jarg1_); public final static native boolean SipStack_start(long jarg1, SipStack jarg1_);
public final static native boolean SipStack_setDebugCallback(long jarg1, SipStack jarg1_, long jarg2, SipDebugCallback jarg2_); public final static native boolean SipStack_setDebugCallback(long jarg1, SipStack jarg1_, long jarg2, SipDebugCallback jarg2_);
public final static native boolean SipStack_setRealm(long jarg1, SipStack jarg1_, String jarg2); public final static native boolean SipStack_setRealm(long jarg1, SipStack jarg1_, String jarg2);
public final static native boolean SipStack_setIMPI(long jarg1, SipStack jarg1_, String jarg2); public final static native boolean SipStack_setIMPI(long jarg1, SipStack jarg1_, String jarg2);
public final static native boolean SipStack_setIMPU(long jarg1, SipStack jarg1_, String jarg2); public final static native boolean SipStack_setIMPU(long jarg1, SipStack jarg1_, String jarg2);
public final static native boolean SipStack_setPassword(long jarg1, SipStack jarg1_, String jarg2); public final static native boolean SipStack_setPassword(long jarg1, SipStack jarg1_, String jarg2);
public final static native boolean SipStack_setProxyCSCF(long jarg1, SipStack jarg1_, String jarg2, long jarg3, String jarg4, String jarg5); public final static native boolean SipStack_setProxyCSCF(long jarg1, SipStack jarg1_, String jarg2, long jarg3, String jarg4, String jarg5);
public final static native boolean SipStack_setLocalIP(long jarg1, SipStack jarg1_, String jarg2); public final static native boolean SipStack_setLocalIP(long jarg1, SipStack jarg1_, String jarg2);
public final static native boolean SipStack_setLocalPort(long jarg1, SipStack jarg1_, long jarg2); public final static native boolean SipStack_setLocalPort(long jarg1, SipStack jarg1_, long jarg2);
public final static native boolean SipStack_setEarlyIMS(long jarg1, SipStack jarg1_, boolean jarg2); public final static native boolean SipStack_setEarlyIMS(long jarg1, SipStack jarg1_, boolean jarg2);
public final static native boolean SipStack_addHeader(long jarg1, SipStack jarg1_, String jarg2, String jarg3); public final static native boolean SipStack_addHeader(long jarg1, SipStack jarg1_, String jarg2, String jarg3);
public final static native boolean SipStack_removeHeader(long jarg1, SipStack jarg1_, String jarg2); public final static native boolean SipStack_removeHeader(long jarg1, SipStack jarg1_, String jarg2);
public final static native boolean SipStack_addDnsServer(long jarg1, SipStack jarg1_, String jarg2); public final static native boolean SipStack_addDnsServer(long jarg1, SipStack jarg1_, String jarg2);
public final static native boolean SipStack_isValid(long jarg1, SipStack jarg1_); public final static native boolean SipStack_isValid(long jarg1, SipStack jarg1_);
public final static native boolean SipStack_stop(long jarg1, SipStack jarg1_); public final static native boolean SipStack_stop(long jarg1, SipStack jarg1_);
public final static native long SWIGRegistrationEventUpcast(long jarg1); public final static native long SWIGRegistrationEventUpcast(long jarg1);
public final static native long SWIGRegistrationSessionUpcast(long jarg1); public final static native long SWIGRegistrationSessionUpcast(long jarg1);
public final static native long SWIGSubscriptionEventUpcast(long jarg1); public final static native long SWIGSubscriptionEventUpcast(long jarg1);
public final static native long SWIGSubscriptionSessionUpcast(long jarg1); public final static native long SWIGSubscriptionSessionUpcast(long jarg1);
public final static native long SWIGSipStackUpcast(long jarg1); public final static native long SWIGSipStackUpcast(long jarg1);
public static int SwigDirector_SipCallback_OnRegistrationChanged(SipCallback self, long e) { public static int SwigDirector_SipCallback_OnRegistrationChanged(SipCallback self, long e) {
return self.OnRegistrationChanged((e == 0) ? null : new RegistrationEvent(e, false)); return self.OnRegistrationChanged((e == 0) ? null : new RegistrationEvent(e, false));
} }
public static int SwigDirector_SipCallback_OnSubscriptionChanged(SipCallback self, long e) { public static int SwigDirector_SipCallback_OnSubscriptionChanged(SipCallback self, long e) {
return self.OnSubscriptionChanged((e == 0) ? null : new SubscriptionEvent(e, false)); return self.OnSubscriptionChanged((e == 0) ? null : new SubscriptionEvent(e, false));
} }
public static int SwigDirector_SipDebugCallback_OnDebugInfo(SipDebugCallback self, String message) { public static int SwigDirector_SipDebugCallback_OnDebugInfo(SipDebugCallback self, String message) {
return self.OnDebugInfo(message); return self.OnDebugInfo(message);
} }
public static int SwigDirector_SipDebugCallback_OnDebugWarn(SipDebugCallback self, String message) { public static int SwigDirector_SipDebugCallback_OnDebugWarn(SipDebugCallback self, String message) {
return self.OnDebugWarn(message); return self.OnDebugWarn(message);
} }
public static int SwigDirector_SipDebugCallback_OnDebugError(SipDebugCallback self, String message) { public static int SwigDirector_SipDebugCallback_OnDebugError(SipDebugCallback self, String message) {
return self.OnDebugError(message); return self.OnDebugError(message);
} }
public static int SwigDirector_SipDebugCallback_OnDebugFatal(SipDebugCallback self, String message) { public static int SwigDirector_SipDebugCallback_OnDebugFatal(SipDebugCallback self, String message) {
return self.OnDebugFatal(message); return self.OnDebugFatal(message);
} }
private final static native void swig_module_init(); private final static native void swig_module_init();
static { static {
swig_module_init(); swig_module_init();
} }
} }

File diff suppressed because it is too large Load Diff

View File

@ -1,49 +1,49 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 1.3.39
* *
* This file is not intended to be easily readable and contains a number of * 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 * coding conventions designed to improve portability and efficiency. Do not make
* changes to this file unless you know what you are doing--modify the SWIG * changes to this file unless you know what you are doing--modify the SWIG
* interface file instead. * interface file instead.
* ----------------------------------------------------------------------------- */ * ----------------------------------------------------------------------------- */
#ifndef SWIG_tinyWRAP_WRAP_H_ #ifndef SWIG_tinyWRAP_WRAP_H_
#define SWIG_tinyWRAP_WRAP_H_ #define SWIG_tinyWRAP_WRAP_H_
class SwigDirector_SipCallback : public SipCallback, public Swig::Director { class SwigDirector_SipCallback : public SipCallback, public Swig::Director {
public: public:
void swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global); void swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global);
SwigDirector_SipCallback(JNIEnv *jenv); SwigDirector_SipCallback(JNIEnv *jenv);
virtual ~SwigDirector_SipCallback(); virtual ~SwigDirector_SipCallback();
virtual int OnRegistrationChanged(RegistrationEvent const *e); virtual int OnRegistrationChanged(RegistrationEvent const *e);
virtual int OnSubscriptionChanged(SubscriptionEvent const *e); virtual int OnSubscriptionChanged(SubscriptionEvent const *e);
public: public:
bool swig_overrides(int n) { bool swig_overrides(int n) {
return (n < 2 ? swig_override[n] : false); return (n < 2 ? swig_override[n] : false);
} }
protected: protected:
bool swig_override[2]; bool swig_override[2];
}; };
class SwigDirector_SipDebugCallback : public SipDebugCallback, public Swig::Director { class SwigDirector_SipDebugCallback : public SipDebugCallback, public Swig::Director {
public: public:
void swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global); void swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global);
SwigDirector_SipDebugCallback(JNIEnv *jenv); SwigDirector_SipDebugCallback(JNIEnv *jenv);
virtual ~SwigDirector_SipDebugCallback(); virtual ~SwigDirector_SipDebugCallback();
virtual int OnDebugInfo(char const *message); virtual int OnDebugInfo(char const *message);
virtual int OnDebugWarn(char const *message); virtual int OnDebugWarn(char const *message);
virtual int OnDebugError(char const *message); virtual int OnDebugError(char const *message);
virtual int OnDebugFatal(char const *message); virtual int OnDebugFatal(char const *message);
public: public:
bool swig_overrides(int n) { bool swig_overrides(int n) {
return (n < 4 ? swig_override[n] : false); return (n < 4 ? swig_override[n] : false);
} }
protected: protected:
bool swig_override[4]; bool swig_override[4];
}; };
#endif #endif

View File

@ -1,57 +1,57 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 1.3.39
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
* ----------------------------------------------------------------------------- */ * ----------------------------------------------------------------------------- */
package org.doubango.tinyWRAP; package org.doubango.tinyWRAP;
public enum tsip_event_type_t { public enum tsip_event_type_t {
tsip_event_invite, tsip_event_invite,
tsip_event_message, tsip_event_message,
tsip_event_options, tsip_event_options,
tsip_event_publish, tsip_event_publish,
tsip_event_register, tsip_event_register,
tsip_event_subscribe, tsip_event_subscribe,
tsip_event_dialog; tsip_event_dialog;
public final int swigValue() { public final int swigValue() {
return swigValue; return swigValue;
} }
public static tsip_event_type_t swigToEnum(int swigValue) { public static tsip_event_type_t swigToEnum(int swigValue) {
tsip_event_type_t[] swigValues = tsip_event_type_t.class.getEnumConstants(); tsip_event_type_t[] swigValues = tsip_event_type_t.class.getEnumConstants();
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue) if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
return swigValues[swigValue]; return swigValues[swigValue];
for (tsip_event_type_t swigEnum : swigValues) for (tsip_event_type_t swigEnum : swigValues)
if (swigEnum.swigValue == swigValue) if (swigEnum.swigValue == swigValue)
return swigEnum; return swigEnum;
throw new IllegalArgumentException("No enum " + tsip_event_type_t.class + " with value " + swigValue); throw new IllegalArgumentException("No enum " + tsip_event_type_t.class + " with value " + swigValue);
} }
@SuppressWarnings("unused") @SuppressWarnings("unused")
private tsip_event_type_t() { private tsip_event_type_t() {
this.swigValue = SwigNext.next++; this.swigValue = SwigNext.next++;
} }
@SuppressWarnings("unused") @SuppressWarnings("unused")
private tsip_event_type_t(int swigValue) { private tsip_event_type_t(int swigValue) {
this.swigValue = swigValue; this.swigValue = swigValue;
SwigNext.next = swigValue+1; SwigNext.next = swigValue+1;
} }
@SuppressWarnings("unused") @SuppressWarnings("unused")
private tsip_event_type_t(tsip_event_type_t swigEnum) { private tsip_event_type_t(tsip_event_type_t swigEnum) {
this.swigValue = swigEnum.swigValue; this.swigValue = swigEnum.swigValue;
SwigNext.next = this.swigValue+1; SwigNext.next = this.swigValue+1;
} }
private final int swigValue; private final int swigValue;
private static class SwigNext { private static class SwigNext {
private static int next = 0; private static int next = 0;
} }
} }

View File

@ -1,58 +1,58 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 1.3.39
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
* ----------------------------------------------------------------------------- */ * ----------------------------------------------------------------------------- */
package org.doubango.tinyWRAP; package org.doubango.tinyWRAP;
public enum tsip_register_event_type_t { public enum tsip_register_event_type_t {
tsip_i_register, tsip_i_register,
tsip_ai_register, tsip_ai_register,
tsip_o_register, tsip_o_register,
tsip_ao_register, tsip_ao_register,
tsip_i_unregister, tsip_i_unregister,
tsip_ai_unregister, tsip_ai_unregister,
tsip_o_unregister, tsip_o_unregister,
tsip_ao_unregister; tsip_ao_unregister;
public final int swigValue() { public final int swigValue() {
return swigValue; return swigValue;
} }
public static tsip_register_event_type_t swigToEnum(int swigValue) { public static tsip_register_event_type_t swigToEnum(int swigValue) {
tsip_register_event_type_t[] swigValues = tsip_register_event_type_t.class.getEnumConstants(); tsip_register_event_type_t[] swigValues = tsip_register_event_type_t.class.getEnumConstants();
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue) if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
return swigValues[swigValue]; return swigValues[swigValue];
for (tsip_register_event_type_t swigEnum : swigValues) for (tsip_register_event_type_t swigEnum : swigValues)
if (swigEnum.swigValue == swigValue) if (swigEnum.swigValue == swigValue)
return swigEnum; return swigEnum;
throw new IllegalArgumentException("No enum " + tsip_register_event_type_t.class + " with value " + swigValue); throw new IllegalArgumentException("No enum " + tsip_register_event_type_t.class + " with value " + swigValue);
} }
@SuppressWarnings("unused") @SuppressWarnings("unused")
private tsip_register_event_type_t() { private tsip_register_event_type_t() {
this.swigValue = SwigNext.next++; this.swigValue = SwigNext.next++;
} }
@SuppressWarnings("unused") @SuppressWarnings("unused")
private tsip_register_event_type_t(int swigValue) { private tsip_register_event_type_t(int swigValue) {
this.swigValue = swigValue; this.swigValue = swigValue;
SwigNext.next = swigValue+1; SwigNext.next = swigValue+1;
} }
@SuppressWarnings("unused") @SuppressWarnings("unused")
private tsip_register_event_type_t(tsip_register_event_type_t swigEnum) { private tsip_register_event_type_t(tsip_register_event_type_t swigEnum) {
this.swigValue = swigEnum.swigValue; this.swigValue = swigEnum.swigValue;
SwigNext.next = this.swigValue+1; SwigNext.next = this.swigValue+1;
} }
private final int swigValue; private final int swigValue;
private static class SwigNext { private static class SwigNext {
private static int next = 0; private static int next = 0;
} }
} }

View File

@ -1,62 +1,62 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 1.3.39
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
* ----------------------------------------------------------------------------- */ * ----------------------------------------------------------------------------- */
package org.doubango.tinyWRAP; package org.doubango.tinyWRAP;
public enum tsip_subscribe_event_type_t { public enum tsip_subscribe_event_type_t {
tsip_i_subscribe, tsip_i_subscribe,
tsip_ai_subscribe, tsip_ai_subscribe,
tsip_o_subscribe, tsip_o_subscribe,
tsip_ao_subscribe, tsip_ao_subscribe,
tsip_i_unsubscribe, tsip_i_unsubscribe,
tsip_ai_unsubscribe, tsip_ai_unsubscribe,
tsip_o_unsubscribe, tsip_o_unsubscribe,
tsip_ao_unsubscribe, tsip_ao_unsubscribe,
tsip_i_notify, tsip_i_notify,
tsip_ai_notify, tsip_ai_notify,
tsip_o_notify, tsip_o_notify,
tsip_ao_notify; tsip_ao_notify;
public final int swigValue() { public final int swigValue() {
return swigValue; return swigValue;
} }
public static tsip_subscribe_event_type_t swigToEnum(int swigValue) { public static tsip_subscribe_event_type_t swigToEnum(int swigValue) {
tsip_subscribe_event_type_t[] swigValues = tsip_subscribe_event_type_t.class.getEnumConstants(); tsip_subscribe_event_type_t[] swigValues = tsip_subscribe_event_type_t.class.getEnumConstants();
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue) if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
return swigValues[swigValue]; return swigValues[swigValue];
for (tsip_subscribe_event_type_t swigEnum : swigValues) for (tsip_subscribe_event_type_t swigEnum : swigValues)
if (swigEnum.swigValue == swigValue) if (swigEnum.swigValue == swigValue)
return swigEnum; return swigEnum;
throw new IllegalArgumentException("No enum " + tsip_subscribe_event_type_t.class + " with value " + swigValue); throw new IllegalArgumentException("No enum " + tsip_subscribe_event_type_t.class + " with value " + swigValue);
} }
@SuppressWarnings("unused") @SuppressWarnings("unused")
private tsip_subscribe_event_type_t() { private tsip_subscribe_event_type_t() {
this.swigValue = SwigNext.next++; this.swigValue = SwigNext.next++;
} }
@SuppressWarnings("unused") @SuppressWarnings("unused")
private tsip_subscribe_event_type_t(int swigValue) { private tsip_subscribe_event_type_t(int swigValue) {
this.swigValue = swigValue; this.swigValue = swigValue;
SwigNext.next = swigValue+1; SwigNext.next = swigValue+1;
} }
@SuppressWarnings("unused") @SuppressWarnings("unused")
private tsip_subscribe_event_type_t(tsip_subscribe_event_type_t swigEnum) { private tsip_subscribe_event_type_t(tsip_subscribe_event_type_t swigEnum) {
this.swigValue = swigEnum.swigValue; this.swigValue = swigEnum.swigValue;
SwigNext.next = this.swigValue+1; SwigNext.next = this.swigValue+1;
} }
private final int swigValue; private final int swigValue;
private static class SwigNext { private static class SwigNext {
private static int next = 0; private static int next = 0;
} }
} }

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,332 +1,332 @@
# This file was automatically generated by SWIG (http://www.swig.org). # This file was automatically generated by SWIG (http://www.swig.org).
# Version 1.3.39 # Version 1.3.39
# #
# Do not make changes to this file unless you know what you are doing--modify # Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead. # the SWIG interface file instead.
# This file is compatible with both classic and new-style classes. # This file is compatible with both classic and new-style classes.
from sys import version_info from sys import version_info
if version_info >= (2,6,0): if version_info >= (2,6,0):
def swig_import_helper(): def swig_import_helper():
from os.path import dirname from os.path import dirname
import imp import imp
try: try:
fp, pathname, description = imp.find_module('_tinyWRAP', [dirname(__file__)]) fp, pathname, description = imp.find_module('_tinyWRAP', [dirname(__file__)])
_mod = imp.load_module('_tinyWRAP', fp, pathname, description) _mod = imp.load_module('_tinyWRAP', fp, pathname, description)
finally: finally:
if fp is not None: fp.close() if fp is not None: fp.close()
return _mod return _mod
_tinyWRAP = swig_import_helper() _tinyWRAP = swig_import_helper()
del swig_import_helper del swig_import_helper
else: else:
import _tinyWRAP import _tinyWRAP
del version_info del version_info
try: try:
_swig_property = property _swig_property = property
except NameError: except NameError:
pass # Python < 2.2 doesn't have 'property'. pass # Python < 2.2 doesn't have 'property'.
def _swig_setattr_nondynamic(self,class_type,name,value,static=1): def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
if (name == "thisown"): return self.this.own(value) if (name == "thisown"): return self.this.own(value)
if (name == "this"): if (name == "this"):
if type(value).__name__ == 'SwigPyObject': if type(value).__name__ == 'SwigPyObject':
self.__dict__[name] = value self.__dict__[name] = value
return return
method = class_type.__swig_setmethods__.get(name,None) method = class_type.__swig_setmethods__.get(name,None)
if method: return method(self,value) if method: return method(self,value)
if (not static) or hasattr(self,name): if (not static) or hasattr(self,name):
self.__dict__[name] = value self.__dict__[name] = value
else: else:
raise AttributeError("You cannot add attributes to %s" % self) raise AttributeError("You cannot add attributes to %s" % self)
def _swig_setattr(self,class_type,name,value): def _swig_setattr(self,class_type,name,value):
return _swig_setattr_nondynamic(self,class_type,name,value,0) return _swig_setattr_nondynamic(self,class_type,name,value,0)
def _swig_getattr(self,class_type,name): def _swig_getattr(self,class_type,name):
if (name == "thisown"): return self.this.own() if (name == "thisown"): return self.this.own()
method = class_type.__swig_getmethods__.get(name,None) method = class_type.__swig_getmethods__.get(name,None)
if method: return method(self) if method: return method(self)
raise AttributeError(name) raise AttributeError(name)
def _swig_repr(self): def _swig_repr(self):
try: strthis = "proxy of " + self.this.__repr__() try: strthis = "proxy of " + self.this.__repr__()
except: strthis = "" except: strthis = ""
return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,) return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
try: try:
_object = object _object = object
_newclass = 1 _newclass = 1
except AttributeError: except AttributeError:
class _object : pass class _object : pass
_newclass = 0 _newclass = 0
try: try:
import weakref import weakref
weakref_proxy = weakref.proxy weakref_proxy = weakref.proxy
except: except:
weakref_proxy = lambda x: x weakref_proxy = lambda x: x
class SipUri(_object): class SipUri(_object):
__swig_setmethods__ = {} __swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, SipUri, name, value) __setattr__ = lambda self, name, value: _swig_setattr(self, SipUri, name, value)
__swig_getmethods__ = {} __swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, SipUri, name) __getattr__ = lambda self, name: _swig_getattr(self, SipUri, name)
__repr__ = _swig_repr __repr__ = _swig_repr
def __init__(self, *args): def __init__(self, *args):
this = _tinyWRAP.new_SipUri(*args) this = _tinyWRAP.new_SipUri(*args)
try: self.this.append(this) try: self.this.append(this)
except: self.this = this except: self.this = this
__swig_destroy__ = _tinyWRAP.delete_SipUri __swig_destroy__ = _tinyWRAP.delete_SipUri
__del__ = lambda self : None; __del__ = lambda self : None;
def isValid(self, *args): return _tinyWRAP.SipUri_isValid(self, *args) def isValid(self, *args): return _tinyWRAP.SipUri_isValid(self, *args)
SipUri_swigregister = _tinyWRAP.SipUri_swigregister SipUri_swigregister = _tinyWRAP.SipUri_swigregister
SipUri_swigregister(SipUri) SipUri_swigregister(SipUri)
class SipEvent(_object): class SipEvent(_object):
__swig_setmethods__ = {} __swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, SipEvent, name, value) __setattr__ = lambda self, name, value: _swig_setattr(self, SipEvent, name, value)
__swig_getmethods__ = {} __swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, SipEvent, name) __getattr__ = lambda self, name: _swig_getattr(self, SipEvent, name)
__repr__ = _swig_repr __repr__ = _swig_repr
def __init__(self): def __init__(self):
this = _tinyWRAP.new_SipEvent() this = _tinyWRAP.new_SipEvent()
try: self.this.append(this) try: self.this.append(this)
except: self.this = this except: self.this = this
__swig_destroy__ = _tinyWRAP.delete_SipEvent __swig_destroy__ = _tinyWRAP.delete_SipEvent
__del__ = lambda self : None; __del__ = lambda self : None;
def getCode(self): return _tinyWRAP.SipEvent_getCode(self) def getCode(self): return _tinyWRAP.SipEvent_getCode(self)
def getPhrase(self): return _tinyWRAP.SipEvent_getPhrase(self) def getPhrase(self): return _tinyWRAP.SipEvent_getPhrase(self)
def getBaseSession(self): return _tinyWRAP.SipEvent_getBaseSession(self) def getBaseSession(self): return _tinyWRAP.SipEvent_getBaseSession(self)
SipEvent_swigregister = _tinyWRAP.SipEvent_swigregister SipEvent_swigregister = _tinyWRAP.SipEvent_swigregister
SipEvent_swigregister(SipEvent) SipEvent_swigregister(SipEvent)
class SipSession(_object): class SipSession(_object):
__swig_setmethods__ = {} __swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, SipSession, name, value) __setattr__ = lambda self, name, value: _swig_setattr(self, SipSession, name, value)
__swig_getmethods__ = {} __swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, SipSession, name) __getattr__ = lambda self, name: _swig_getattr(self, SipSession, name)
__repr__ = _swig_repr __repr__ = _swig_repr
def __init__(self, *args): def __init__(self, *args):
this = _tinyWRAP.new_SipSession(*args) this = _tinyWRAP.new_SipSession(*args)
try: self.this.append(this) try: self.this.append(this)
except: self.this = this except: self.this = this
__swig_destroy__ = _tinyWRAP.delete_SipSession __swig_destroy__ = _tinyWRAP.delete_SipSession
__del__ = lambda self : None; __del__ = lambda self : None;
def addHeader(self, *args): return _tinyWRAP.SipSession_addHeader(self, *args) def addHeader(self, *args): return _tinyWRAP.SipSession_addHeader(self, *args)
def removeHeader(self, *args): return _tinyWRAP.SipSession_removeHeader(self, *args) def removeHeader(self, *args): return _tinyWRAP.SipSession_removeHeader(self, *args)
def addCaps(self, *args): return _tinyWRAP.SipSession_addCaps(self, *args) def addCaps(self, *args): return _tinyWRAP.SipSession_addCaps(self, *args)
def removeCaps(self, *args): return _tinyWRAP.SipSession_removeCaps(self, *args) def removeCaps(self, *args): return _tinyWRAP.SipSession_removeCaps(self, *args)
def setExpires(self, *args): return _tinyWRAP.SipSession_setExpires(self, *args) def setExpires(self, *args): return _tinyWRAP.SipSession_setExpires(self, *args)
def setFromUri(self, *args): return _tinyWRAP.SipSession_setFromUri(self, *args) def setFromUri(self, *args): return _tinyWRAP.SipSession_setFromUri(self, *args)
def setToUri(self, *args): return _tinyWRAP.SipSession_setToUri(self, *args) def setToUri(self, *args): return _tinyWRAP.SipSession_setToUri(self, *args)
def setPayload(self, *args): return _tinyWRAP.SipSession_setPayload(self, *args) def setPayload(self, *args): return _tinyWRAP.SipSession_setPayload(self, *args)
SipSession_swigregister = _tinyWRAP.SipSession_swigregister SipSession_swigregister = _tinyWRAP.SipSession_swigregister
SipSession_swigregister(SipSession) SipSession_swigregister(SipSession)
class RegistrationEvent(SipEvent): class RegistrationEvent(SipEvent):
__swig_setmethods__ = {} __swig_setmethods__ = {}
for _s in [SipEvent]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{})) for _s in [SipEvent]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, RegistrationEvent, name, value) __setattr__ = lambda self, name, value: _swig_setattr(self, RegistrationEvent, name, value)
__swig_getmethods__ = {} __swig_getmethods__ = {}
for _s in [SipEvent]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{})) for _s in [SipEvent]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, RegistrationEvent, name) __getattr__ = lambda self, name: _swig_getattr(self, RegistrationEvent, name)
__repr__ = _swig_repr __repr__ = _swig_repr
def __init__(self): def __init__(self):
this = _tinyWRAP.new_RegistrationEvent() this = _tinyWRAP.new_RegistrationEvent()
try: self.this.append(this) try: self.this.append(this)
except: self.this = this except: self.this = this
__swig_destroy__ = _tinyWRAP.delete_RegistrationEvent __swig_destroy__ = _tinyWRAP.delete_RegistrationEvent
__del__ = lambda self : None; __del__ = lambda self : None;
def getType(self): return _tinyWRAP.RegistrationEvent_getType(self) def getType(self): return _tinyWRAP.RegistrationEvent_getType(self)
def getSession(self): return _tinyWRAP.RegistrationEvent_getSession(self) def getSession(self): return _tinyWRAP.RegistrationEvent_getSession(self)
RegistrationEvent_swigregister = _tinyWRAP.RegistrationEvent_swigregister RegistrationEvent_swigregister = _tinyWRAP.RegistrationEvent_swigregister
RegistrationEvent_swigregister(RegistrationEvent) RegistrationEvent_swigregister(RegistrationEvent)
class RegistrationSession(SipSession): class RegistrationSession(SipSession):
__swig_setmethods__ = {} __swig_setmethods__ = {}
for _s in [SipSession]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{})) for _s in [SipSession]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, RegistrationSession, name, value) __setattr__ = lambda self, name, value: _swig_setattr(self, RegistrationSession, name, value)
__swig_getmethods__ = {} __swig_getmethods__ = {}
for _s in [SipSession]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{})) for _s in [SipSession]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, RegistrationSession, name) __getattr__ = lambda self, name: _swig_getattr(self, RegistrationSession, name)
__repr__ = _swig_repr __repr__ = _swig_repr
def __init__(self, *args): def __init__(self, *args):
this = _tinyWRAP.new_RegistrationSession(*args) this = _tinyWRAP.new_RegistrationSession(*args)
try: self.this.append(this) try: self.this.append(this)
except: self.this = this except: self.this = this
__swig_destroy__ = _tinyWRAP.delete_RegistrationSession __swig_destroy__ = _tinyWRAP.delete_RegistrationSession
__del__ = lambda self : None; __del__ = lambda self : None;
def Register(self): return _tinyWRAP.RegistrationSession_Register(self) def Register(self): return _tinyWRAP.RegistrationSession_Register(self)
def UnRegister(self): return _tinyWRAP.RegistrationSession_UnRegister(self) def UnRegister(self): return _tinyWRAP.RegistrationSession_UnRegister(self)
RegistrationSession_swigregister = _tinyWRAP.RegistrationSession_swigregister RegistrationSession_swigregister = _tinyWRAP.RegistrationSession_swigregister
RegistrationSession_swigregister(RegistrationSession) RegistrationSession_swigregister(RegistrationSession)
class SubscriptionEvent(SipEvent): class SubscriptionEvent(SipEvent):
__swig_setmethods__ = {} __swig_setmethods__ = {}
for _s in [SipEvent]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{})) for _s in [SipEvent]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, SubscriptionEvent, name, value) __setattr__ = lambda self, name, value: _swig_setattr(self, SubscriptionEvent, name, value)
__swig_getmethods__ = {} __swig_getmethods__ = {}
for _s in [SipEvent]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{})) for _s in [SipEvent]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, SubscriptionEvent, name) __getattr__ = lambda self, name: _swig_getattr(self, SubscriptionEvent, name)
__repr__ = _swig_repr __repr__ = _swig_repr
def __init__(self): def __init__(self):
this = _tinyWRAP.new_SubscriptionEvent() this = _tinyWRAP.new_SubscriptionEvent()
try: self.this.append(this) try: self.this.append(this)
except: self.this = this except: self.this = this
__swig_destroy__ = _tinyWRAP.delete_SubscriptionEvent __swig_destroy__ = _tinyWRAP.delete_SubscriptionEvent
__del__ = lambda self : None; __del__ = lambda self : None;
def getType(self): return _tinyWRAP.SubscriptionEvent_getType(self) def getType(self): return _tinyWRAP.SubscriptionEvent_getType(self)
def getSession(self): return _tinyWRAP.SubscriptionEvent_getSession(self) def getSession(self): return _tinyWRAP.SubscriptionEvent_getSession(self)
SubscriptionEvent_swigregister = _tinyWRAP.SubscriptionEvent_swigregister SubscriptionEvent_swigregister = _tinyWRAP.SubscriptionEvent_swigregister
SubscriptionEvent_swigregister(SubscriptionEvent) SubscriptionEvent_swigregister(SubscriptionEvent)
class SubscriptionSession(SipSession): class SubscriptionSession(SipSession):
__swig_setmethods__ = {} __swig_setmethods__ = {}
for _s in [SipSession]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{})) for _s in [SipSession]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, SubscriptionSession, name, value) __setattr__ = lambda self, name, value: _swig_setattr(self, SubscriptionSession, name, value)
__swig_getmethods__ = {} __swig_getmethods__ = {}
for _s in [SipSession]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{})) for _s in [SipSession]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, SubscriptionSession, name) __getattr__ = lambda self, name: _swig_getattr(self, SubscriptionSession, name)
__repr__ = _swig_repr __repr__ = _swig_repr
def __init__(self, *args): def __init__(self, *args):
this = _tinyWRAP.new_SubscriptionSession(*args) this = _tinyWRAP.new_SubscriptionSession(*args)
try: self.this.append(this) try: self.this.append(this)
except: self.this = this except: self.this = this
__swig_destroy__ = _tinyWRAP.delete_SubscriptionSession __swig_destroy__ = _tinyWRAP.delete_SubscriptionSession
__del__ = lambda self : None; __del__ = lambda self : None;
def Subscribe(self): return _tinyWRAP.SubscriptionSession_Subscribe(self) def Subscribe(self): return _tinyWRAP.SubscriptionSession_Subscribe(self)
def UnSubscribe(self): return _tinyWRAP.SubscriptionSession_UnSubscribe(self) def UnSubscribe(self): return _tinyWRAP.SubscriptionSession_UnSubscribe(self)
SubscriptionSession_swigregister = _tinyWRAP.SubscriptionSession_swigregister SubscriptionSession_swigregister = _tinyWRAP.SubscriptionSession_swigregister
SubscriptionSession_swigregister(SubscriptionSession) SubscriptionSession_swigregister(SubscriptionSession)
class SipCallback(_object): class SipCallback(_object):
__swig_setmethods__ = {} __swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, SipCallback, name, value) __setattr__ = lambda self, name, value: _swig_setattr(self, SipCallback, name, value)
__swig_getmethods__ = {} __swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, SipCallback, name) __getattr__ = lambda self, name: _swig_getattr(self, SipCallback, name)
__repr__ = _swig_repr __repr__ = _swig_repr
def __init__(self): def __init__(self):
if self.__class__ == SipCallback: if self.__class__ == SipCallback:
_self = None _self = None
else: else:
_self = self _self = self
this = _tinyWRAP.new_SipCallback(_self, ) this = _tinyWRAP.new_SipCallback(_self, )
try: self.this.append(this) try: self.this.append(this)
except: self.this = this except: self.this = this
__swig_destroy__ = _tinyWRAP.delete_SipCallback __swig_destroy__ = _tinyWRAP.delete_SipCallback
__del__ = lambda self : None; __del__ = lambda self : None;
def OnRegistrationChanged(self, *args): return _tinyWRAP.SipCallback_OnRegistrationChanged(self, *args) def OnRegistrationChanged(self, *args): return _tinyWRAP.SipCallback_OnRegistrationChanged(self, *args)
def OnSubscriptionChanged(self, *args): return _tinyWRAP.SipCallback_OnSubscriptionChanged(self, *args) def OnSubscriptionChanged(self, *args): return _tinyWRAP.SipCallback_OnSubscriptionChanged(self, *args)
def __disown__(self): def __disown__(self):
self.this.disown() self.this.disown()
_tinyWRAP.disown_SipCallback(self) _tinyWRAP.disown_SipCallback(self)
return weakref_proxy(self) return weakref_proxy(self)
SipCallback_swigregister = _tinyWRAP.SipCallback_swigregister SipCallback_swigregister = _tinyWRAP.SipCallback_swigregister
SipCallback_swigregister(SipCallback) SipCallback_swigregister(SipCallback)
class SipDebugCallback(_object): class SipDebugCallback(_object):
__swig_setmethods__ = {} __swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, SipDebugCallback, name, value) __setattr__ = lambda self, name, value: _swig_setattr(self, SipDebugCallback, name, value)
__swig_getmethods__ = {} __swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, SipDebugCallback, name) __getattr__ = lambda self, name: _swig_getattr(self, SipDebugCallback, name)
__repr__ = _swig_repr __repr__ = _swig_repr
def __init__(self): def __init__(self):
if self.__class__ == SipDebugCallback: if self.__class__ == SipDebugCallback:
_self = None _self = None
else: else:
_self = self _self = self
this = _tinyWRAP.new_SipDebugCallback(_self, ) this = _tinyWRAP.new_SipDebugCallback(_self, )
try: self.this.append(this) try: self.this.append(this)
except: self.this = this except: self.this = this
__swig_destroy__ = _tinyWRAP.delete_SipDebugCallback __swig_destroy__ = _tinyWRAP.delete_SipDebugCallback
__del__ = lambda self : None; __del__ = lambda self : None;
def OnDebugInfo(self, *args): return _tinyWRAP.SipDebugCallback_OnDebugInfo(self, *args) def OnDebugInfo(self, *args): return _tinyWRAP.SipDebugCallback_OnDebugInfo(self, *args)
def OnDebugWarn(self, *args): return _tinyWRAP.SipDebugCallback_OnDebugWarn(self, *args) def OnDebugWarn(self, *args): return _tinyWRAP.SipDebugCallback_OnDebugWarn(self, *args)
def OnDebugError(self, *args): return _tinyWRAP.SipDebugCallback_OnDebugError(self, *args) def OnDebugError(self, *args): return _tinyWRAP.SipDebugCallback_OnDebugError(self, *args)
def OnDebugFatal(self, *args): return _tinyWRAP.SipDebugCallback_OnDebugFatal(self, *args) def OnDebugFatal(self, *args): return _tinyWRAP.SipDebugCallback_OnDebugFatal(self, *args)
def __disown__(self): def __disown__(self):
self.this.disown() self.this.disown()
_tinyWRAP.disown_SipDebugCallback(self) _tinyWRAP.disown_SipDebugCallback(self)
return weakref_proxy(self) return weakref_proxy(self)
SipDebugCallback_swigregister = _tinyWRAP.SipDebugCallback_swigregister SipDebugCallback_swigregister = _tinyWRAP.SipDebugCallback_swigregister
SipDebugCallback_swigregister(SipDebugCallback) SipDebugCallback_swigregister(SipDebugCallback)
class SafeObject(_object): class SafeObject(_object):
__swig_setmethods__ = {} __swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, SafeObject, name, value) __setattr__ = lambda self, name, value: _swig_setattr(self, SafeObject, name, value)
__swig_getmethods__ = {} __swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, SafeObject, name) __getattr__ = lambda self, name: _swig_getattr(self, SafeObject, name)
__repr__ = _swig_repr __repr__ = _swig_repr
def __init__(self): def __init__(self):
this = _tinyWRAP.new_SafeObject() this = _tinyWRAP.new_SafeObject()
try: self.this.append(this) try: self.this.append(this)
except: self.this = this except: self.this = this
__swig_destroy__ = _tinyWRAP.delete_SafeObject __swig_destroy__ = _tinyWRAP.delete_SafeObject
__del__ = lambda self : None; __del__ = lambda self : None;
def Lock(self): return _tinyWRAP.SafeObject_Lock(self) def Lock(self): return _tinyWRAP.SafeObject_Lock(self)
def UnLock(self): return _tinyWRAP.SafeObject_UnLock(self) def UnLock(self): return _tinyWRAP.SafeObject_UnLock(self)
SafeObject_swigregister = _tinyWRAP.SafeObject_swigregister SafeObject_swigregister = _tinyWRAP.SafeObject_swigregister
SafeObject_swigregister(SafeObject) SafeObject_swigregister(SafeObject)
class SipStack(SafeObject): class SipStack(SafeObject):
__swig_setmethods__ = {} __swig_setmethods__ = {}
for _s in [SafeObject]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{})) for _s in [SafeObject]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, SipStack, name, value) __setattr__ = lambda self, name, value: _swig_setattr(self, SipStack, name, value)
__swig_getmethods__ = {} __swig_getmethods__ = {}
for _s in [SafeObject]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{})) for _s in [SafeObject]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, SipStack, name) __getattr__ = lambda self, name: _swig_getattr(self, SipStack, name)
__repr__ = _swig_repr __repr__ = _swig_repr
def __init__(self, *args): def __init__(self, *args):
this = _tinyWRAP.new_SipStack(*args) this = _tinyWRAP.new_SipStack(*args)
try: self.this.append(this) try: self.this.append(this)
except: self.this = this except: self.this = this
__swig_destroy__ = _tinyWRAP.delete_SipStack __swig_destroy__ = _tinyWRAP.delete_SipStack
__del__ = lambda self : None; __del__ = lambda self : None;
def start(self): return _tinyWRAP.SipStack_start(self) def start(self): return _tinyWRAP.SipStack_start(self)
def setDebugCallback(self, *args): return _tinyWRAP.SipStack_setDebugCallback(self, *args) def setDebugCallback(self, *args): return _tinyWRAP.SipStack_setDebugCallback(self, *args)
def setRealm(self, *args): return _tinyWRAP.SipStack_setRealm(self, *args) def setRealm(self, *args): return _tinyWRAP.SipStack_setRealm(self, *args)
def setIMPI(self, *args): return _tinyWRAP.SipStack_setIMPI(self, *args) def setIMPI(self, *args): return _tinyWRAP.SipStack_setIMPI(self, *args)
def setIMPU(self, *args): return _tinyWRAP.SipStack_setIMPU(self, *args) def setIMPU(self, *args): return _tinyWRAP.SipStack_setIMPU(self, *args)
def setPassword(self, *args): return _tinyWRAP.SipStack_setPassword(self, *args) def setPassword(self, *args): return _tinyWRAP.SipStack_setPassword(self, *args)
def setProxyCSCF(self, *args): return _tinyWRAP.SipStack_setProxyCSCF(self, *args) def setProxyCSCF(self, *args): return _tinyWRAP.SipStack_setProxyCSCF(self, *args)
def setLocalIP(self, *args): return _tinyWRAP.SipStack_setLocalIP(self, *args) def setLocalIP(self, *args): return _tinyWRAP.SipStack_setLocalIP(self, *args)
def setLocalPort(self, *args): return _tinyWRAP.SipStack_setLocalPort(self, *args) def setLocalPort(self, *args): return _tinyWRAP.SipStack_setLocalPort(self, *args)
def setEarlyIMS(self, *args): return _tinyWRAP.SipStack_setEarlyIMS(self, *args) def setEarlyIMS(self, *args): return _tinyWRAP.SipStack_setEarlyIMS(self, *args)
def addHeader(self, *args): return _tinyWRAP.SipStack_addHeader(self, *args) def addHeader(self, *args): return _tinyWRAP.SipStack_addHeader(self, *args)
def removeHeader(self, *args): return _tinyWRAP.SipStack_removeHeader(self, *args) def removeHeader(self, *args): return _tinyWRAP.SipStack_removeHeader(self, *args)
def addDnsServer(self, *args): return _tinyWRAP.SipStack_addDnsServer(self, *args) def addDnsServer(self, *args): return _tinyWRAP.SipStack_addDnsServer(self, *args)
def isValid(self): return _tinyWRAP.SipStack_isValid(self) def isValid(self): return _tinyWRAP.SipStack_isValid(self)
def stop(self): return _tinyWRAP.SipStack_stop(self) def stop(self): return _tinyWRAP.SipStack_stop(self)
SipStack_swigregister = _tinyWRAP.SipStack_swigregister SipStack_swigregister = _tinyWRAP.SipStack_swigregister
SipStack_swigregister(SipStack) SipStack_swigregister(SipStack)
tsip_event_invite = _tinyWRAP.tsip_event_invite tsip_event_invite = _tinyWRAP.tsip_event_invite
tsip_event_message = _tinyWRAP.tsip_event_message tsip_event_message = _tinyWRAP.tsip_event_message
tsip_event_options = _tinyWRAP.tsip_event_options tsip_event_options = _tinyWRAP.tsip_event_options
tsip_event_publish = _tinyWRAP.tsip_event_publish tsip_event_publish = _tinyWRAP.tsip_event_publish
tsip_event_register = _tinyWRAP.tsip_event_register tsip_event_register = _tinyWRAP.tsip_event_register
tsip_event_subscribe = _tinyWRAP.tsip_event_subscribe tsip_event_subscribe = _tinyWRAP.tsip_event_subscribe
tsip_event_dialog = _tinyWRAP.tsip_event_dialog tsip_event_dialog = _tinyWRAP.tsip_event_dialog
tsip_i_register = _tinyWRAP.tsip_i_register tsip_i_register = _tinyWRAP.tsip_i_register
tsip_ai_register = _tinyWRAP.tsip_ai_register tsip_ai_register = _tinyWRAP.tsip_ai_register
tsip_o_register = _tinyWRAP.tsip_o_register tsip_o_register = _tinyWRAP.tsip_o_register
tsip_ao_register = _tinyWRAP.tsip_ao_register tsip_ao_register = _tinyWRAP.tsip_ao_register
tsip_i_unregister = _tinyWRAP.tsip_i_unregister tsip_i_unregister = _tinyWRAP.tsip_i_unregister
tsip_ai_unregister = _tinyWRAP.tsip_ai_unregister tsip_ai_unregister = _tinyWRAP.tsip_ai_unregister
tsip_o_unregister = _tinyWRAP.tsip_o_unregister tsip_o_unregister = _tinyWRAP.tsip_o_unregister
tsip_ao_unregister = _tinyWRAP.tsip_ao_unregister tsip_ao_unregister = _tinyWRAP.tsip_ao_unregister
tsip_i_subscribe = _tinyWRAP.tsip_i_subscribe tsip_i_subscribe = _tinyWRAP.tsip_i_subscribe
tsip_ai_subscribe = _tinyWRAP.tsip_ai_subscribe tsip_ai_subscribe = _tinyWRAP.tsip_ai_subscribe
tsip_o_subscribe = _tinyWRAP.tsip_o_subscribe tsip_o_subscribe = _tinyWRAP.tsip_o_subscribe
tsip_ao_subscribe = _tinyWRAP.tsip_ao_subscribe tsip_ao_subscribe = _tinyWRAP.tsip_ao_subscribe
tsip_i_unsubscribe = _tinyWRAP.tsip_i_unsubscribe tsip_i_unsubscribe = _tinyWRAP.tsip_i_unsubscribe
tsip_ai_unsubscribe = _tinyWRAP.tsip_ai_unsubscribe tsip_ai_unsubscribe = _tinyWRAP.tsip_ai_unsubscribe
tsip_o_unsubscribe = _tinyWRAP.tsip_o_unsubscribe tsip_o_unsubscribe = _tinyWRAP.tsip_o_unsubscribe
tsip_ao_unsubscribe = _tinyWRAP.tsip_ao_unsubscribe tsip_ao_unsubscribe = _tinyWRAP.tsip_ao_unsubscribe
tsip_i_notify = _tinyWRAP.tsip_i_notify tsip_i_notify = _tinyWRAP.tsip_i_notify
tsip_ai_notify = _tinyWRAP.tsip_ai_notify tsip_ai_notify = _tinyWRAP.tsip_ai_notify
tsip_o_notify = _tinyWRAP.tsip_o_notify tsip_o_notify = _tinyWRAP.tsip_o_notify
tsip_ao_notify = _tinyWRAP.tsip_ao_notify tsip_ao_notify = _tinyWRAP.tsip_ao_notify

File diff suppressed because it is too large Load Diff

View File

@ -1,112 +1,112 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 1.3.39
* *
* This file is not intended to be easily readable and contains a number of * 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 * coding conventions designed to improve portability and efficiency. Do not make
* changes to this file unless you know what you are doing--modify the SWIG * changes to this file unless you know what you are doing--modify the SWIG
* interface file instead. * interface file instead.
* ----------------------------------------------------------------------------- */ * ----------------------------------------------------------------------------- */
#ifndef SWIG_tinyWRAP_WRAP_H_ #ifndef SWIG_tinyWRAP_WRAP_H_
#define SWIG_tinyWRAP_WRAP_H_ #define SWIG_tinyWRAP_WRAP_H_
#include <map> #include <map>
#include <string> #include <string>
class SwigDirector_SipCallback : public SipCallback, public Swig::Director { class SwigDirector_SipCallback : public SipCallback, public Swig::Director {
public: public:
SwigDirector_SipCallback(PyObject *self); SwigDirector_SipCallback(PyObject *self);
virtual ~SwigDirector_SipCallback(); virtual ~SwigDirector_SipCallback();
virtual int OnRegistrationChanged(RegistrationEvent const *e); virtual int OnRegistrationChanged(RegistrationEvent const *e);
virtual int OnSubscriptionChanged(SubscriptionEvent const *e); virtual int OnSubscriptionChanged(SubscriptionEvent const *e);
/* Internal Director utilities */ /* Internal Director utilities */
public: public:
bool swig_get_inner(const char* name) const { bool swig_get_inner(const char* name) const {
std::map<std::string, bool>::const_iterator iv = inner.find(name); std::map<std::string, bool>::const_iterator iv = inner.find(name);
return (iv != inner.end() ? iv->second : false); return (iv != inner.end() ? iv->second : false);
} }
void swig_set_inner(const char* name, bool val) const void swig_set_inner(const char* name, bool val) const
{ inner[name] = val;} { inner[name] = val;}
private: private:
mutable std::map<std::string, bool> inner; mutable std::map<std::string, bool> inner;
#if defined(SWIG_PYTHON_DIRECTOR_VTABLE) #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
/* VTable implementation */ /* VTable implementation */
PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *swig_get_method(size_t method_index, const char *method_name) const {
PyObject *method = vtable[method_index]; PyObject *method = vtable[method_index];
if (!method) { if (!method) {
swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name);
method = PyObject_GetAttr(swig_get_self(), name); method = PyObject_GetAttr(swig_get_self(), name);
if (method == NULL) { if (method == NULL) {
std::string msg = "Method in class SipCallback doesn't exist, undefined "; std::string msg = "Method in class SipCallback doesn't exist, undefined ";
msg += method_name; msg += method_name;
Swig::DirectorMethodException::raise(msg.c_str()); Swig::DirectorMethodException::raise(msg.c_str());
} }
vtable[method_index] = method; vtable[method_index] = method;
}; };
return method; return method;
} }
private: private:
mutable swig::SwigVar_PyObject vtable[2]; mutable swig::SwigVar_PyObject vtable[2];
#endif #endif
}; };
class SwigDirector_SipDebugCallback : public SipDebugCallback, public Swig::Director { class SwigDirector_SipDebugCallback : public SipDebugCallback, public Swig::Director {
public: public:
SwigDirector_SipDebugCallback(PyObject *self); SwigDirector_SipDebugCallback(PyObject *self);
virtual ~SwigDirector_SipDebugCallback(); virtual ~SwigDirector_SipDebugCallback();
virtual int OnDebugInfo(char const *message); virtual int OnDebugInfo(char const *message);
virtual int OnDebugWarn(char const *message); virtual int OnDebugWarn(char const *message);
virtual int OnDebugError(char const *message); virtual int OnDebugError(char const *message);
virtual int OnDebugFatal(char const *message); virtual int OnDebugFatal(char const *message);
/* Internal Director utilities */ /* Internal Director utilities */
public: public:
bool swig_get_inner(const char* name) const { bool swig_get_inner(const char* name) const {
std::map<std::string, bool>::const_iterator iv = inner.find(name); std::map<std::string, bool>::const_iterator iv = inner.find(name);
return (iv != inner.end() ? iv->second : false); return (iv != inner.end() ? iv->second : false);
} }
void swig_set_inner(const char* name, bool val) const void swig_set_inner(const char* name, bool val) const
{ inner[name] = val;} { inner[name] = val;}
private: private:
mutable std::map<std::string, bool> inner; mutable std::map<std::string, bool> inner;
#if defined(SWIG_PYTHON_DIRECTOR_VTABLE) #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
/* VTable implementation */ /* VTable implementation */
PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *swig_get_method(size_t method_index, const char *method_name) const {
PyObject *method = vtable[method_index]; PyObject *method = vtable[method_index];
if (!method) { if (!method) {
swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name);
method = PyObject_GetAttr(swig_get_self(), name); method = PyObject_GetAttr(swig_get_self(), name);
if (method == NULL) { if (method == NULL) {
std::string msg = "Method in class SipDebugCallback doesn't exist, undefined "; std::string msg = "Method in class SipDebugCallback doesn't exist, undefined ";
msg += method_name; msg += method_name;
Swig::DirectorMethodException::raise(msg.c_str()); Swig::DirectorMethodException::raise(msg.c_str());
} }
vtable[method_index] = method; vtable[method_index] = method;
}; };
return method; return method;
} }
private: private:
mutable swig::SwigVar_PyObject vtable[4]; mutable swig::SwigVar_PyObject vtable[4];
#endif #endif
}; };
#endif #endif

View File

@ -48,6 +48,9 @@
<Compile Include="..\..\..\csharp\SipCallback.cs"> <Compile Include="..\..\..\csharp\SipCallback.cs">
<Link>SipCallback.cs</Link> <Link>SipCallback.cs</Link>
</Compile> </Compile>
<Compile Include="..\..\..\csharp\SipDebugCallback.cs">
<Link>SipDebugCallback.cs</Link>
</Compile>
<Compile Include="..\..\..\csharp\SipEvent.cs"> <Compile Include="..\..\..\csharp\SipEvent.cs">
<Link>SipEvent.cs</Link> <Link>SipEvent.cs</Link>
</Compile> </Compile>

View File

@ -198,6 +198,10 @@
RelativePath="..\..\_common\SipCallback.cxx" RelativePath="..\..\_common\SipCallback.cxx"
> >
</File> </File>
<File
RelativePath="..\..\_common\SipDebug.cxx"
>
</File>
<File <File
RelativePath="..\..\_common\SipEvent.cxx" RelativePath="..\..\_common\SipEvent.cxx"
> >
@ -226,6 +230,10 @@
RelativePath="..\..\csharp\tinyWRAP_wrap.cxx" RelativePath="..\..\csharp\tinyWRAP_wrap.cxx"
> >
</File> </File>
<File
RelativePath="..\..\_common\XcapStack.cxx"
>
</File>
</Filter> </Filter>
<Filter <Filter
Name="headers" Name="headers"
@ -256,6 +264,10 @@
RelativePath="..\..\_common\SipCallback.h" RelativePath="..\..\_common\SipCallback.h"
> >
</File> </File>
<File
RelativePath="..\..\_common\SipDebug.h"
>
</File>
<File <File
RelativePath="..\..\_common\SipEvent.h" RelativePath="..\..\_common\SipEvent.h"
> >
@ -284,6 +296,10 @@
RelativePath="..\..\csharp\tinyWRAP_wrap.h" RelativePath="..\..\csharp\tinyWRAP_wrap.h"
> >
</File> </File>
<File
RelativePath="..\..\_common\XcapStack.h"
>
</File>
</Filter> </Filter>
<Filter <Filter
Name="interfaces" Name="interfaces"