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();
}
int SafeObject::Lock()
int SafeObject::Lock()const
{
return tsk_mutex_lock(this->mutex);
}
int SafeObject::UnLock()
int SafeObject::UnLock()const
{
return tsk_mutex_unlock(this->mutex);
}

View File

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

View File

@ -22,11 +22,12 @@
#include "SipSession.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_NULL());
this->stack = _stack;
}
SipSession::~SipSession()
@ -107,3 +108,9 @@ bool SipSession::setPayload(const char* payload, unsigned size)
return false;
}
const SipStack* SipSession::getStack()const
{
return this->stack;
}

View File

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

View File

@ -61,7 +61,7 @@ SipStack::SipStack(SipCallback* callback_, const char* realm_uri, const char* im
/* Creates stack handle */
this->handle = tsip_stack_create(stack_callback, realm_uri, impi_uri, impu_uri,
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());
SipStack::count++;
@ -198,12 +198,12 @@ bool SipStack::stop()
return (ret == 0);
}
tsip_stack_handle_t* SipStack::getHandle()
tsip_stack_handle_t* SipStack::getHandle()const
{
return this->handle;
}
SipCallback* SipStack::getCallback()
SipCallback* SipStack::getCallback()const
{
return this->callback;
}
@ -216,7 +216,7 @@ SipDebugCallback* SipStack::getDebugCallback() const
int stack_callback(const tsip_event_t *sipevent)
{
int ret = 0;
SipStack* Stack = tsk_null;
const SipStack* Stack = tsk_null;
SipEvent* e = tsk_null;
if(!sipevent){ /* should never happen ...but who know? */
@ -225,7 +225,10 @@ int stack_callback(const tsip_event_t *sipevent)
}
else{
/* 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){

View File

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

View File

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

View File

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

View File

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

View File

@ -1,85 +1,85 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
using System;
using System.Runtime.InteropServices;
public class SipCallback : IDisposable {
private HandleRef swigCPtr;
protected bool swigCMemOwn;
internal SipCallback(IntPtr cPtr, bool cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = new HandleRef(this, cPtr);
}
internal static HandleRef getCPtr(SipCallback obj) {
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}
~SipCallback() {
Dispose();
}
public virtual void Dispose() {
lock(this) {
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
swigCMemOwn = false;
tinyWRAPPINVOKE.delete_SipCallback(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
GC.SuppressFinalize(this);
}
}
public SipCallback() : this(tinyWRAPPINVOKE.new_SipCallback(), true) {
SwigDirectorConnect();
}
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)));
return ret;
}
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)));
return ret;
}
private void SwigDirectorConnect() {
if (SwigDerivedClassHasMethod("OnRegistrationChanged", swigMethodTypes0))
swigDelegate0 = new SwigDelegateSipCallback_0(SwigDirectorOnRegistrationChanged);
if (SwigDerivedClassHasMethod("OnSubscriptionChanged", swigMethodTypes1))
swigDelegate1 = new SwigDelegateSipCallback_1(SwigDirectorOnSubscriptionChanged);
tinyWRAPPINVOKE.SipCallback_director_connect(swigCPtr, swigDelegate0, swigDelegate1);
}
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);
bool hasDerivedMethod = methodInfo.DeclaringType.IsSubclassOf(typeof(SipCallback));
return hasDerivedMethod;
}
private int SwigDirectorOnRegistrationChanged(IntPtr e) {
return OnRegistrationChanged((e == IntPtr.Zero) ? null : new RegistrationEvent(e, false));
}
private int SwigDirectorOnSubscriptionChanged(IntPtr e) {
return OnSubscriptionChanged((e == IntPtr.Zero) ? null : new SubscriptionEvent(e, false));
}
public delegate int SwigDelegateSipCallback_0(IntPtr e);
public delegate int SwigDelegateSipCallback_1(IntPtr e);
private SwigDelegateSipCallback_0 swigDelegate0;
private SwigDelegateSipCallback_1 swigDelegate1;
private static Type[] swigMethodTypes0 = new Type[] { typeof(RegistrationEvent) };
private static Type[] swigMethodTypes1 = new Type[] { typeof(SubscriptionEvent) };
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
using System;
using System.Runtime.InteropServices;
public class SipCallback : IDisposable {
private HandleRef swigCPtr;
protected bool swigCMemOwn;
internal SipCallback(IntPtr cPtr, bool cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = new HandleRef(this, cPtr);
}
internal static HandleRef getCPtr(SipCallback obj) {
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}
~SipCallback() {
Dispose();
}
public virtual void Dispose() {
lock(this) {
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
swigCMemOwn = false;
tinyWRAPPINVOKE.delete_SipCallback(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
GC.SuppressFinalize(this);
}
}
public SipCallback() : this(tinyWRAPPINVOKE.new_SipCallback(), true) {
SwigDirectorConnect();
}
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)));
return ret;
}
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)));
return ret;
}
private void SwigDirectorConnect() {
if (SwigDerivedClassHasMethod("OnRegistrationChanged", swigMethodTypes0))
swigDelegate0 = new SwigDelegateSipCallback_0(SwigDirectorOnRegistrationChanged);
if (SwigDerivedClassHasMethod("OnSubscriptionChanged", swigMethodTypes1))
swigDelegate1 = new SwigDelegateSipCallback_1(SwigDirectorOnSubscriptionChanged);
tinyWRAPPINVOKE.SipCallback_director_connect(swigCPtr, swigDelegate0, swigDelegate1);
}
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);
bool hasDerivedMethod = methodInfo.DeclaringType.IsSubclassOf(typeof(SipCallback));
return hasDerivedMethod;
}
private int SwigDirectorOnRegistrationChanged(IntPtr e) {
return OnRegistrationChanged((e == IntPtr.Zero) ? null : new RegistrationEvent(e, false));
}
private int SwigDirectorOnSubscriptionChanged(IntPtr e) {
return OnSubscriptionChanged((e == IntPtr.Zero) ? null : new SubscriptionEvent(e, false));
}
public delegate int SwigDelegateSipCallback_0(IntPtr e);
public delegate int SwigDelegateSipCallback_1(IntPtr e);
private SwigDelegateSipCallback_0 swigDelegate0;
private SwigDelegateSipCallback_1 swigDelegate1;
private static Type[] swigMethodTypes0 = new Type[] { typeof(RegistrationEvent) };
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).
* Version 1.3.39
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
using System;
using System.Runtime.InteropServices;
public class SipDebugCallback : IDisposable {
private HandleRef swigCPtr;
protected bool swigCMemOwn;
internal SipDebugCallback(IntPtr cPtr, bool cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = new HandleRef(this, cPtr);
}
internal static HandleRef getCPtr(SipDebugCallback obj) {
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}
~SipDebugCallback() {
Dispose();
}
public virtual void Dispose() {
lock(this) {
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
swigCMemOwn = false;
tinyWRAPPINVOKE.delete_SipDebugCallback(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
GC.SuppressFinalize(this);
}
}
public SipDebugCallback() : this(tinyWRAPPINVOKE.new_SipDebugCallback(), true) {
SwigDirectorConnect();
}
public virtual int OnDebugInfo(string message) {
int ret = ((this.GetType() == typeof(SipDebugCallback)) ? tinyWRAPPINVOKE.SipDebugCallback_OnDebugInfo(swigCPtr, message) : tinyWRAPPINVOKE.SipDebugCallback_OnDebugInfoSwigExplicitSipDebugCallback(swigCPtr, message));
return ret;
}
public virtual int OnDebugWarn(string message) {
int ret = ((this.GetType() == typeof(SipDebugCallback)) ? tinyWRAPPINVOKE.SipDebugCallback_OnDebugWarn(swigCPtr, message) : tinyWRAPPINVOKE.SipDebugCallback_OnDebugWarnSwigExplicitSipDebugCallback(swigCPtr, message));
return ret;
}
public virtual int OnDebugError(string message) {
int ret = ((this.GetType() == typeof(SipDebugCallback)) ? tinyWRAPPINVOKE.SipDebugCallback_OnDebugError(swigCPtr, message) : tinyWRAPPINVOKE.SipDebugCallback_OnDebugErrorSwigExplicitSipDebugCallback(swigCPtr, message));
return ret;
}
public virtual int OnDebugFatal(string message) {
int ret = ((this.GetType() == typeof(SipDebugCallback)) ? tinyWRAPPINVOKE.SipDebugCallback_OnDebugFatal(swigCPtr, message) : tinyWRAPPINVOKE.SipDebugCallback_OnDebugFatalSwigExplicitSipDebugCallback(swigCPtr, message));
return ret;
}
private void SwigDirectorConnect() {
if (SwigDerivedClassHasMethod("OnDebugInfo", swigMethodTypes0))
swigDelegate0 = new SwigDelegateSipDebugCallback_0(SwigDirectorOnDebugInfo);
if (SwigDerivedClassHasMethod("OnDebugWarn", swigMethodTypes1))
swigDelegate1 = new SwigDelegateSipDebugCallback_1(SwigDirectorOnDebugWarn);
if (SwigDerivedClassHasMethod("OnDebugError", swigMethodTypes2))
swigDelegate2 = new SwigDelegateSipDebugCallback_2(SwigDirectorOnDebugError);
if (SwigDerivedClassHasMethod("OnDebugFatal", swigMethodTypes3))
swigDelegate3 = new SwigDelegateSipDebugCallback_3(SwigDirectorOnDebugFatal);
tinyWRAPPINVOKE.SipDebugCallback_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2, swigDelegate3);
}
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);
bool hasDerivedMethod = methodInfo.DeclaringType.IsSubclassOf(typeof(SipDebugCallback));
return hasDerivedMethod;
}
private int SwigDirectorOnDebugInfo(string message) {
return OnDebugInfo(message);
}
private int SwigDirectorOnDebugWarn(string message) {
return OnDebugWarn(message);
}
private int SwigDirectorOnDebugError(string message) {
return OnDebugError(message);
}
private int SwigDirectorOnDebugFatal(string message) {
return OnDebugFatal(message);
}
public delegate int SwigDelegateSipDebugCallback_0(string message);
public delegate int SwigDelegateSipDebugCallback_1(string message);
public delegate int SwigDelegateSipDebugCallback_2(string message);
public delegate int SwigDelegateSipDebugCallback_3(string message);
private SwigDelegateSipDebugCallback_0 swigDelegate0;
private SwigDelegateSipDebugCallback_1 swigDelegate1;
private SwigDelegateSipDebugCallback_2 swigDelegate2;
private SwigDelegateSipDebugCallback_3 swigDelegate3;
private static Type[] swigMethodTypes0 = new Type[] { typeof(string) };
private static Type[] swigMethodTypes1 = new Type[] { typeof(string) };
private static Type[] swigMethodTypes2 = new Type[] { typeof(string) };
private static Type[] swigMethodTypes3 = new Type[] { typeof(string) };
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
using System;
using System.Runtime.InteropServices;
public class SipDebugCallback : IDisposable {
private HandleRef swigCPtr;
protected bool swigCMemOwn;
internal SipDebugCallback(IntPtr cPtr, bool cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = new HandleRef(this, cPtr);
}
internal static HandleRef getCPtr(SipDebugCallback obj) {
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}
~SipDebugCallback() {
Dispose();
}
public virtual void Dispose() {
lock(this) {
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
swigCMemOwn = false;
tinyWRAPPINVOKE.delete_SipDebugCallback(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
GC.SuppressFinalize(this);
}
}
public SipDebugCallback() : this(tinyWRAPPINVOKE.new_SipDebugCallback(), true) {
SwigDirectorConnect();
}
public virtual int OnDebugInfo(string message) {
int ret = ((this.GetType() == typeof(SipDebugCallback)) ? tinyWRAPPINVOKE.SipDebugCallback_OnDebugInfo(swigCPtr, message) : tinyWRAPPINVOKE.SipDebugCallback_OnDebugInfoSwigExplicitSipDebugCallback(swigCPtr, message));
return ret;
}
public virtual int OnDebugWarn(string message) {
int ret = ((this.GetType() == typeof(SipDebugCallback)) ? tinyWRAPPINVOKE.SipDebugCallback_OnDebugWarn(swigCPtr, message) : tinyWRAPPINVOKE.SipDebugCallback_OnDebugWarnSwigExplicitSipDebugCallback(swigCPtr, message));
return ret;
}
public virtual int OnDebugError(string message) {
int ret = ((this.GetType() == typeof(SipDebugCallback)) ? tinyWRAPPINVOKE.SipDebugCallback_OnDebugError(swigCPtr, message) : tinyWRAPPINVOKE.SipDebugCallback_OnDebugErrorSwigExplicitSipDebugCallback(swigCPtr, message));
return ret;
}
public virtual int OnDebugFatal(string message) {
int ret = ((this.GetType() == typeof(SipDebugCallback)) ? tinyWRAPPINVOKE.SipDebugCallback_OnDebugFatal(swigCPtr, message) : tinyWRAPPINVOKE.SipDebugCallback_OnDebugFatalSwigExplicitSipDebugCallback(swigCPtr, message));
return ret;
}
private void SwigDirectorConnect() {
if (SwigDerivedClassHasMethod("OnDebugInfo", swigMethodTypes0))
swigDelegate0 = new SwigDelegateSipDebugCallback_0(SwigDirectorOnDebugInfo);
if (SwigDerivedClassHasMethod("OnDebugWarn", swigMethodTypes1))
swigDelegate1 = new SwigDelegateSipDebugCallback_1(SwigDirectorOnDebugWarn);
if (SwigDerivedClassHasMethod("OnDebugError", swigMethodTypes2))
swigDelegate2 = new SwigDelegateSipDebugCallback_2(SwigDirectorOnDebugError);
if (SwigDerivedClassHasMethod("OnDebugFatal", swigMethodTypes3))
swigDelegate3 = new SwigDelegateSipDebugCallback_3(SwigDirectorOnDebugFatal);
tinyWRAPPINVOKE.SipDebugCallback_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2, swigDelegate3);
}
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);
bool hasDerivedMethod = methodInfo.DeclaringType.IsSubclassOf(typeof(SipDebugCallback));
return hasDerivedMethod;
}
private int SwigDirectorOnDebugInfo(string message) {
return OnDebugInfo(message);
}
private int SwigDirectorOnDebugWarn(string message) {
return OnDebugWarn(message);
}
private int SwigDirectorOnDebugError(string message) {
return OnDebugError(message);
}
private int SwigDirectorOnDebugFatal(string message) {
return OnDebugFatal(message);
}
public delegate int SwigDelegateSipDebugCallback_0(string message);
public delegate int SwigDelegateSipDebugCallback_1(string message);
public delegate int SwigDelegateSipDebugCallback_2(string message);
public delegate int SwigDelegateSipDebugCallback_3(string message);
private SwigDelegateSipDebugCallback_0 swigDelegate0;
private SwigDelegateSipDebugCallback_1 swigDelegate1;
private SwigDelegateSipDebugCallback_2 swigDelegate2;
private SwigDelegateSipDebugCallback_3 swigDelegate3;
private static Type[] swigMethodTypes0 = new Type[] { typeof(string) };
private static Type[] swigMethodTypes1 = new Type[] { typeof(string) };
private static Type[] swigMethodTypes2 = 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).
* Version 1.3.39
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
using System;
using System.Runtime.InteropServices;
public class SipEvent : IDisposable {
private HandleRef swigCPtr;
protected bool swigCMemOwn;
internal SipEvent(IntPtr cPtr, bool cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = new HandleRef(this, cPtr);
}
internal static HandleRef getCPtr(SipEvent obj) {
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}
~SipEvent() {
Dispose();
}
public virtual void Dispose() {
lock(this) {
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
swigCMemOwn = false;
tinyWRAPPINVOKE.delete_SipEvent(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
GC.SuppressFinalize(this);
}
}
public SipEvent() : this(tinyWRAPPINVOKE.new_SipEvent(), true) {
}
public short getCode() {
short ret = tinyWRAPPINVOKE.SipEvent_getCode(swigCPtr);
return ret;
}
public string getPhrase() {
string ret = tinyWRAPPINVOKE.SipEvent_getPhrase(swigCPtr);
return ret;
}
public SipSession getBaseSession() {
IntPtr cPtr = tinyWRAPPINVOKE.SipEvent_getBaseSession(swigCPtr);
SipSession ret = (cPtr == IntPtr.Zero) ? null : new SipSession(cPtr, false);
return ret;
}
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
using System;
using System.Runtime.InteropServices;
public class SipEvent : IDisposable {
private HandleRef swigCPtr;
protected bool swigCMemOwn;
internal SipEvent(IntPtr cPtr, bool cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = new HandleRef(this, cPtr);
}
internal static HandleRef getCPtr(SipEvent obj) {
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}
~SipEvent() {
Dispose();
}
public virtual void Dispose() {
lock(this) {
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
swigCMemOwn = false;
tinyWRAPPINVOKE.delete_SipEvent(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
GC.SuppressFinalize(this);
}
}
public SipEvent() : this(tinyWRAPPINVOKE.new_SipEvent(), true) {
}
public short getCode() {
short ret = tinyWRAPPINVOKE.SipEvent_getCode(swigCPtr);
return ret;
}
public string getPhrase() {
string ret = tinyWRAPPINVOKE.SipEvent_getPhrase(swigCPtr);
return ret;
}
public SipSession getBaseSession() {
IntPtr cPtr = tinyWRAPPINVOKE.SipEvent_getBaseSession(swigCPtr);
SipSession ret = (cPtr == IntPtr.Zero) ? null : new SipSession(cPtr, false);
return ret;
}
}

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,72 +1,72 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package org.doubango.tinyWRAP;
public class SipDebugCallback {
private long swigCPtr;
protected boolean swigCMemOwn;
protected SipDebugCallback(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(SipDebugCallback obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
protected void finalize() {
delete();
}
public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) {
swigCMemOwn = false;
tinyWRAPJNI.delete_SipDebugCallback(swigCPtr);
}
swigCPtr = 0;
}
protected void swigDirectorDisconnect() {
swigCMemOwn = false;
delete();
}
public void swigReleaseOwnership() {
swigCMemOwn = false;
tinyWRAPJNI.SipDebugCallback_change_ownership(this, swigCPtr, false);
}
public void swigTakeOwnership() {
swigCMemOwn = true;
tinyWRAPJNI.SipDebugCallback_change_ownership(this, swigCPtr, true);
}
public SipDebugCallback() {
this(tinyWRAPJNI.new_SipDebugCallback(), true);
tinyWRAPJNI.SipDebugCallback_director_connect(this, swigCPtr, swigCMemOwn, true);
}
public int OnDebugInfo(String message) {
return (getClass() == SipDebugCallback.class) ? tinyWRAPJNI.SipDebugCallback_OnDebugInfo(swigCPtr, this, message) : tinyWRAPJNI.SipDebugCallback_OnDebugInfoSwigExplicitSipDebugCallback(swigCPtr, this, message);
}
public int OnDebugWarn(String message) {
return (getClass() == SipDebugCallback.class) ? tinyWRAPJNI.SipDebugCallback_OnDebugWarn(swigCPtr, this, message) : tinyWRAPJNI.SipDebugCallback_OnDebugWarnSwigExplicitSipDebugCallback(swigCPtr, this, message);
}
public int OnDebugError(String message) {
return (getClass() == SipDebugCallback.class) ? tinyWRAPJNI.SipDebugCallback_OnDebugError(swigCPtr, this, message) : tinyWRAPJNI.SipDebugCallback_OnDebugErrorSwigExplicitSipDebugCallback(swigCPtr, this, message);
}
public int OnDebugFatal(String message) {
return (getClass() == SipDebugCallback.class) ? tinyWRAPJNI.SipDebugCallback_OnDebugFatal(swigCPtr, this, message) : tinyWRAPJNI.SipDebugCallback_OnDebugFatalSwigExplicitSipDebugCallback(swigCPtr, this, message);
}
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package org.doubango.tinyWRAP;
public class SipDebugCallback {
private long swigCPtr;
protected boolean swigCMemOwn;
protected SipDebugCallback(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(SipDebugCallback obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
protected void finalize() {
delete();
}
public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) {
swigCMemOwn = false;
tinyWRAPJNI.delete_SipDebugCallback(swigCPtr);
}
swigCPtr = 0;
}
protected void swigDirectorDisconnect() {
swigCMemOwn = false;
delete();
}
public void swigReleaseOwnership() {
swigCMemOwn = false;
tinyWRAPJNI.SipDebugCallback_change_ownership(this, swigCPtr, false);
}
public void swigTakeOwnership() {
swigCMemOwn = true;
tinyWRAPJNI.SipDebugCallback_change_ownership(this, swigCPtr, true);
}
public SipDebugCallback() {
this(tinyWRAPJNI.new_SipDebugCallback(), true);
tinyWRAPJNI.SipDebugCallback_director_connect(this, swigCPtr, swigCMemOwn, true);
}
public int OnDebugInfo(String message) {
return (getClass() == SipDebugCallback.class) ? tinyWRAPJNI.SipDebugCallback_OnDebugInfo(swigCPtr, this, message) : tinyWRAPJNI.SipDebugCallback_OnDebugInfoSwigExplicitSipDebugCallback(swigCPtr, this, message);
}
public int OnDebugWarn(String message) {
return (getClass() == SipDebugCallback.class) ? tinyWRAPJNI.SipDebugCallback_OnDebugWarn(swigCPtr, this, message) : tinyWRAPJNI.SipDebugCallback_OnDebugWarnSwigExplicitSipDebugCallback(swigCPtr, this, message);
}
public int OnDebugError(String message) {
return (getClass() == SipDebugCallback.class) ? tinyWRAPJNI.SipDebugCallback_OnDebugError(swigCPtr, this, message) : tinyWRAPJNI.SipDebugCallback_OnDebugErrorSwigExplicitSipDebugCallback(swigCPtr, this, message);
}
public int OnDebugFatal(String 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).
* Version 1.3.39
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package org.doubango.tinyWRAP;
public class SipEvent {
private long swigCPtr;
protected boolean swigCMemOwn;
protected SipEvent(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(SipEvent obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
protected void finalize() {
delete();
}
public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) {
swigCMemOwn = false;
tinyWRAPJNI.delete_SipEvent(swigCPtr);
}
swigCPtr = 0;
}
public SipEvent() {
this(tinyWRAPJNI.new_SipEvent(), true);
}
public short getCode() {
return tinyWRAPJNI.SipEvent_getCode(swigCPtr, this);
}
public String getPhrase() {
return tinyWRAPJNI.SipEvent_getPhrase(swigCPtr, this);
}
public SipSession getBaseSession() {
long cPtr = tinyWRAPJNI.SipEvent_getBaseSession(swigCPtr, this);
return (cPtr == 0) ? null : new SipSession(cPtr, false);
}
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package org.doubango.tinyWRAP;
public class SipEvent {
private long swigCPtr;
protected boolean swigCMemOwn;
protected SipEvent(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(SipEvent obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
protected void finalize() {
delete();
}
public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) {
swigCMemOwn = false;
tinyWRAPJNI.delete_SipEvent(swigCPtr);
}
swigCPtr = 0;
}
public SipEvent() {
this(tinyWRAPJNI.new_SipEvent(), true);
}
public short getCode() {
return tinyWRAPJNI.SipEvent_getCode(swigCPtr, this);
}
public String getPhrase() {
return tinyWRAPJNI.SipEvent_getPhrase(swigCPtr, this);
}
public SipSession getBaseSession() {
long cPtr = tinyWRAPJNI.SipEvent_getBaseSession(swigCPtr, this);
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).
* Version 1.3.39
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package org.doubango.tinyWRAP;
public class SipSession {
private long swigCPtr;
protected boolean swigCMemOwn;
protected SipSession(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(SipSession obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
protected void finalize() {
delete();
}
public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) {
swigCMemOwn = false;
tinyWRAPJNI.delete_SipSession(swigCPtr);
}
swigCPtr = 0;
}
public SipSession(SipStack Stack) {
this(tinyWRAPJNI.new_SipSession(SipStack.getCPtr(Stack), Stack), true);
}
public boolean addHeader(String name, String value) {
return tinyWRAPJNI.SipSession_addHeader(swigCPtr, this, name, value);
}
public boolean removeHeader(String name) {
return tinyWRAPJNI.SipSession_removeHeader(swigCPtr, this, name);
}
public boolean addCaps(String name, String value) {
return tinyWRAPJNI.SipSession_addCaps__SWIG_0(swigCPtr, this, name, value);
}
public boolean addCaps(String name) {
return tinyWRAPJNI.SipSession_addCaps__SWIG_1(swigCPtr, this, name);
}
public boolean removeCaps(String name) {
return tinyWRAPJNI.SipSession_removeCaps(swigCPtr, this, name);
}
public boolean setExpires(long expires) {
return tinyWRAPJNI.SipSession_setExpires(swigCPtr, this, expires);
}
public boolean setFromUri(String fromUri) {
return tinyWRAPJNI.SipSession_setFromUri(swigCPtr, this, fromUri);
}
public boolean setToUri(String toUri) {
return tinyWRAPJNI.SipSession_setToUri(swigCPtr, this, toUri);
}
public boolean setPayload(String str, long len) {
return tinyWRAPJNI.SipSession_setPayload(swigCPtr, this, str, len);
}
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package org.doubango.tinyWRAP;
public class SipSession {
private long swigCPtr;
protected boolean swigCMemOwn;
protected SipSession(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(SipSession obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
protected void finalize() {
delete();
}
public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) {
swigCMemOwn = false;
tinyWRAPJNI.delete_SipSession(swigCPtr);
}
swigCPtr = 0;
}
public SipSession(SipStack stack) {
this(tinyWRAPJNI.new_SipSession(SipStack.getCPtr(stack), stack), true);
}
public boolean addHeader(String name, String value) {
return tinyWRAPJNI.SipSession_addHeader(swigCPtr, this, name, value);
}
public boolean removeHeader(String name) {
return tinyWRAPJNI.SipSession_removeHeader(swigCPtr, this, name);
}
public boolean addCaps(String name, String value) {
return tinyWRAPJNI.SipSession_addCaps__SWIG_0(swigCPtr, this, name, value);
}
public boolean addCaps(String name) {
return tinyWRAPJNI.SipSession_addCaps__SWIG_1(swigCPtr, this, name);
}
public boolean removeCaps(String name) {
return tinyWRAPJNI.SipSession_removeCaps(swigCPtr, this, name);
}
public boolean setExpires(long expires) {
return tinyWRAPJNI.SipSession_setExpires(swigCPtr, this, expires);
}
public boolean setFromUri(String fromUri) {
return tinyWRAPJNI.SipSession_setFromUri(swigCPtr, this, fromUri);
}
public boolean setToUri(String toUri) {
return tinyWRAPJNI.SipSession_setToUri(swigCPtr, this, toUri);
}
public boolean setPayload(String str, long 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).
* Version 1.3.39
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package org.doubango.tinyWRAP;
public class SipStack extends SafeObject {
private long swigCPtr;
protected SipStack(long cPtr, boolean cMemoryOwn) {
super(tinyWRAPJNI.SWIGSipStackUpcast(cPtr), cMemoryOwn);
swigCPtr = cPtr;
}
protected static long getCPtr(SipStack obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
protected void finalize() {
delete();
}
public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) {
swigCMemOwn = false;
tinyWRAPJNI.delete_SipStack(swigCPtr);
}
swigCPtr = 0;
super.delete();
}
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);
}
public boolean start() {
return tinyWRAPJNI.SipStack_start(swigCPtr, this);
}
public boolean setDebugCallback(SipDebugCallback callback) {
return tinyWRAPJNI.SipStack_setDebugCallback(swigCPtr, this, SipDebugCallback.getCPtr(callback), callback);
}
public boolean setRealm(String realm_uri) {
return tinyWRAPJNI.SipStack_setRealm(swigCPtr, this, realm_uri);
}
public boolean setIMPI(String impi) {
return tinyWRAPJNI.SipStack_setIMPI(swigCPtr, this, impi);
}
public boolean setIMPU(String impu_uri) {
return tinyWRAPJNI.SipStack_setIMPU(swigCPtr, this, impu_uri);
}
public boolean setPassword(String password) {
return tinyWRAPJNI.SipStack_setPassword(swigCPtr, this, password);
}
public boolean setProxyCSCF(String fqdn, long port, String transport, String ipversion) {
return tinyWRAPJNI.SipStack_setProxyCSCF(swigCPtr, this, fqdn, port, transport, ipversion);
}
public boolean setLocalIP(String ip) {
return tinyWRAPJNI.SipStack_setLocalIP(swigCPtr, this, ip);
}
public boolean setLocalPort(long port) {
return tinyWRAPJNI.SipStack_setLocalPort(swigCPtr, this, port);
}
public boolean setEarlyIMS(boolean enabled) {
return tinyWRAPJNI.SipStack_setEarlyIMS(swigCPtr, this, enabled);
}
public boolean addHeader(String name, String value) {
return tinyWRAPJNI.SipStack_addHeader(swigCPtr, this, name, value);
}
public boolean removeHeader(String name) {
return tinyWRAPJNI.SipStack_removeHeader(swigCPtr, this, name);
}
public boolean addDnsServer(String ip) {
return tinyWRAPJNI.SipStack_addDnsServer(swigCPtr, this, ip);
}
public boolean isValid() {
return tinyWRAPJNI.SipStack_isValid(swigCPtr, this);
}
public boolean stop() {
return tinyWRAPJNI.SipStack_stop(swigCPtr, this);
}
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package org.doubango.tinyWRAP;
public class SipStack extends SafeObject {
private long swigCPtr;
protected SipStack(long cPtr, boolean cMemoryOwn) {
super(tinyWRAPJNI.SWIGSipStackUpcast(cPtr), cMemoryOwn);
swigCPtr = cPtr;
}
protected static long getCPtr(SipStack obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
protected void finalize() {
delete();
}
public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) {
swigCMemOwn = false;
tinyWRAPJNI.delete_SipStack(swigCPtr);
}
swigCPtr = 0;
super.delete();
}
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);
}
public boolean start() {
return tinyWRAPJNI.SipStack_start(swigCPtr, this);
}
public boolean setDebugCallback(SipDebugCallback callback) {
return tinyWRAPJNI.SipStack_setDebugCallback(swigCPtr, this, SipDebugCallback.getCPtr(callback), callback);
}
public boolean setRealm(String realm_uri) {
return tinyWRAPJNI.SipStack_setRealm(swigCPtr, this, realm_uri);
}
public boolean setIMPI(String impi) {
return tinyWRAPJNI.SipStack_setIMPI(swigCPtr, this, impi);
}
public boolean setIMPU(String impu_uri) {
return tinyWRAPJNI.SipStack_setIMPU(swigCPtr, this, impu_uri);
}
public boolean setPassword(String password) {
return tinyWRAPJNI.SipStack_setPassword(swigCPtr, this, password);
}
public boolean setProxyCSCF(String fqdn, long port, String transport, String ipversion) {
return tinyWRAPJNI.SipStack_setProxyCSCF(swigCPtr, this, fqdn, port, transport, ipversion);
}
public boolean setLocalIP(String ip) {
return tinyWRAPJNI.SipStack_setLocalIP(swigCPtr, this, ip);
}
public boolean setLocalPort(long port) {
return tinyWRAPJNI.SipStack_setLocalPort(swigCPtr, this, port);
}
public boolean setEarlyIMS(boolean enabled) {
return tinyWRAPJNI.SipStack_setEarlyIMS(swigCPtr, this, enabled);
}
public boolean addHeader(String name, String value) {
return tinyWRAPJNI.SipStack_addHeader(swigCPtr, this, name, value);
}
public boolean removeHeader(String name) {
return tinyWRAPJNI.SipStack_removeHeader(swigCPtr, this, name);
}
public boolean addDnsServer(String ip) {
return tinyWRAPJNI.SipStack_addDnsServer(swigCPtr, this, ip);
}
public boolean isValid() {
return tinyWRAPJNI.SipStack_isValid(swigCPtr, this);
}
public boolean stop() {
return tinyWRAPJNI.SipStack_stop(swigCPtr, this);
}
}

View File

@ -1,48 +1,48 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package org.doubango.tinyWRAP;
public class SipUri {
private long swigCPtr;
protected boolean swigCMemOwn;
protected SipUri(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(SipUri obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
protected void finalize() {
delete();
}
public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) {
swigCMemOwn = false;
tinyWRAPJNI.delete_SipUri(swigCPtr);
}
swigCPtr = 0;
}
public SipUri(String arg0) {
this(tinyWRAPJNI.new_SipUri(arg0), true);
}
public static boolean isValid(String arg0) {
return tinyWRAPJNI.SipUri_isValid__SWIG_0(arg0);
}
public boolean isValid() {
return tinyWRAPJNI.SipUri_isValid__SWIG_1(swigCPtr, this);
}
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package org.doubango.tinyWRAP;
public class SipUri {
private long swigCPtr;
protected boolean swigCMemOwn;
protected SipUri(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(SipUri obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
protected void finalize() {
delete();
}
public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) {
swigCMemOwn = false;
tinyWRAPJNI.delete_SipUri(swigCPtr);
}
swigCPtr = 0;
}
public SipUri(String arg0) {
this(tinyWRAPJNI.new_SipUri(arg0), true);
}
public static boolean isValid(String arg0) {
return tinyWRAPJNI.SipUri_isValid__SWIG_0(arg0);
}
public boolean isValid() {
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).
* Version 1.3.39
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package org.doubango.tinyWRAP;
public class SubscriptionEvent extends SipEvent {
private long swigCPtr;
protected SubscriptionEvent(long cPtr, boolean cMemoryOwn) {
super(tinyWRAPJNI.SWIGSubscriptionEventUpcast(cPtr), cMemoryOwn);
swigCPtr = cPtr;
}
protected static long getCPtr(SubscriptionEvent obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
protected void finalize() {
delete();
}
public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) {
swigCMemOwn = false;
tinyWRAPJNI.delete_SubscriptionEvent(swigCPtr);
}
swigCPtr = 0;
super.delete();
}
public SubscriptionEvent() {
this(tinyWRAPJNI.new_SubscriptionEvent(), true);
}
public tsip_subscribe_event_type_t getType() {
return tsip_subscribe_event_type_t.swigToEnum(tinyWRAPJNI.SubscriptionEvent_getType(swigCPtr, this));
}
public SubscriptionSession getSession() {
long cPtr = tinyWRAPJNI.SubscriptionEvent_getSession(swigCPtr, this);
return (cPtr == 0) ? null : new SubscriptionSession(cPtr, false);
}
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package org.doubango.tinyWRAP;
public class SubscriptionEvent extends SipEvent {
private long swigCPtr;
protected SubscriptionEvent(long cPtr, boolean cMemoryOwn) {
super(tinyWRAPJNI.SWIGSubscriptionEventUpcast(cPtr), cMemoryOwn);
swigCPtr = cPtr;
}
protected static long getCPtr(SubscriptionEvent obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
protected void finalize() {
delete();
}
public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) {
swigCMemOwn = false;
tinyWRAPJNI.delete_SubscriptionEvent(swigCPtr);
}
swigCPtr = 0;
super.delete();
}
public SubscriptionEvent() {
this(tinyWRAPJNI.new_SubscriptionEvent(), true);
}
public tsip_subscribe_event_type_t getType() {
return tsip_subscribe_event_type_t.swigToEnum(tinyWRAPJNI.SubscriptionEvent_getType(swigCPtr, this));
}
public SubscriptionSession getSession() {
long cPtr = tinyWRAPJNI.SubscriptionEvent_getSession(swigCPtr, this);
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).
* Version 1.3.39
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package org.doubango.tinyWRAP;
public class SubscriptionSession extends SipSession {
private long swigCPtr;
protected SubscriptionSession(long cPtr, boolean cMemoryOwn) {
super(tinyWRAPJNI.SWIGSubscriptionSessionUpcast(cPtr), cMemoryOwn);
swigCPtr = cPtr;
}
protected static long getCPtr(SubscriptionSession obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
protected void finalize() {
delete();
}
public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) {
swigCMemOwn = false;
tinyWRAPJNI.delete_SubscriptionSession(swigCPtr);
}
swigCPtr = 0;
super.delete();
}
public SubscriptionSession(SipStack Stack) {
this(tinyWRAPJNI.new_SubscriptionSession(SipStack.getCPtr(Stack), Stack), true);
}
public boolean Subscribe() {
return tinyWRAPJNI.SubscriptionSession_Subscribe(swigCPtr, this);
}
public boolean UnSubscribe() {
return tinyWRAPJNI.SubscriptionSession_UnSubscribe(swigCPtr, this);
}
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package org.doubango.tinyWRAP;
public class SubscriptionSession extends SipSession {
private long swigCPtr;
protected SubscriptionSession(long cPtr, boolean cMemoryOwn) {
super(tinyWRAPJNI.SWIGSubscriptionSessionUpcast(cPtr), cMemoryOwn);
swigCPtr = cPtr;
}
protected static long getCPtr(SubscriptionSession obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
protected void finalize() {
delete();
}
public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) {
swigCMemOwn = false;
tinyWRAPJNI.delete_SubscriptionSession(swigCPtr);
}
swigCPtr = 0;
super.delete();
}
public SubscriptionSession(SipStack Stack) {
this(tinyWRAPJNI.new_SubscriptionSession(SipStack.getCPtr(Stack), Stack), true);
}
public boolean Subscribe() {
return tinyWRAPJNI.SubscriptionSession_Subscribe(swigCPtr, this);
}
public boolean UnSubscribe() {
return tinyWRAPJNI.SubscriptionSession_UnSubscribe(swigCPtr, this);
}
}

View File

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

View File

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

View File

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

View File

@ -1,72 +1,72 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package org.doubango.tinyWRAP;
public class SipDebugCallback {
private long swigCPtr;
protected boolean swigCMemOwn;
protected SipDebugCallback(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(SipDebugCallback obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
protected void finalize() {
delete();
}
public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) {
swigCMemOwn = false;
tinyWRAPJNI.delete_SipDebugCallback(swigCPtr);
}
swigCPtr = 0;
}
protected void swigDirectorDisconnect() {
swigCMemOwn = false;
delete();
}
public void swigReleaseOwnership() {
swigCMemOwn = false;
tinyWRAPJNI.SipDebugCallback_change_ownership(this, swigCPtr, false);
}
public void swigTakeOwnership() {
swigCMemOwn = true;
tinyWRAPJNI.SipDebugCallback_change_ownership(this, swigCPtr, true);
}
public SipDebugCallback() {
this(tinyWRAPJNI.new_SipDebugCallback(), true);
tinyWRAPJNI.SipDebugCallback_director_connect(this, swigCPtr, swigCMemOwn, false);
}
public int OnDebugInfo(String message) {
return (getClass() == SipDebugCallback.class) ? tinyWRAPJNI.SipDebugCallback_OnDebugInfo(swigCPtr, this, message) : tinyWRAPJNI.SipDebugCallback_OnDebugInfoSwigExplicitSipDebugCallback(swigCPtr, this, message);
}
public int OnDebugWarn(String message) {
return (getClass() == SipDebugCallback.class) ? tinyWRAPJNI.SipDebugCallback_OnDebugWarn(swigCPtr, this, message) : tinyWRAPJNI.SipDebugCallback_OnDebugWarnSwigExplicitSipDebugCallback(swigCPtr, this, message);
}
public int OnDebugError(String message) {
return (getClass() == SipDebugCallback.class) ? tinyWRAPJNI.SipDebugCallback_OnDebugError(swigCPtr, this, message) : tinyWRAPJNI.SipDebugCallback_OnDebugErrorSwigExplicitSipDebugCallback(swigCPtr, this, message);
}
public int OnDebugFatal(String message) {
return (getClass() == SipDebugCallback.class) ? tinyWRAPJNI.SipDebugCallback_OnDebugFatal(swigCPtr, this, message) : tinyWRAPJNI.SipDebugCallback_OnDebugFatalSwigExplicitSipDebugCallback(swigCPtr, this, message);
}
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package org.doubango.tinyWRAP;
public class SipDebugCallback {
private long swigCPtr;
protected boolean swigCMemOwn;
protected SipDebugCallback(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(SipDebugCallback obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
protected void finalize() {
delete();
}
public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) {
swigCMemOwn = false;
tinyWRAPJNI.delete_SipDebugCallback(swigCPtr);
}
swigCPtr = 0;
}
protected void swigDirectorDisconnect() {
swigCMemOwn = false;
delete();
}
public void swigReleaseOwnership() {
swigCMemOwn = false;
tinyWRAPJNI.SipDebugCallback_change_ownership(this, swigCPtr, false);
}
public void swigTakeOwnership() {
swigCMemOwn = true;
tinyWRAPJNI.SipDebugCallback_change_ownership(this, swigCPtr, true);
}
public SipDebugCallback() {
this(tinyWRAPJNI.new_SipDebugCallback(), true);
tinyWRAPJNI.SipDebugCallback_director_connect(this, swigCPtr, swigCMemOwn, true);
}
public int OnDebugInfo(String message) {
return (getClass() == SipDebugCallback.class) ? tinyWRAPJNI.SipDebugCallback_OnDebugInfo(swigCPtr, this, message) : tinyWRAPJNI.SipDebugCallback_OnDebugInfoSwigExplicitSipDebugCallback(swigCPtr, this, message);
}
public int OnDebugWarn(String message) {
return (getClass() == SipDebugCallback.class) ? tinyWRAPJNI.SipDebugCallback_OnDebugWarn(swigCPtr, this, message) : tinyWRAPJNI.SipDebugCallback_OnDebugWarnSwigExplicitSipDebugCallback(swigCPtr, this, message);
}
public int OnDebugError(String message) {
return (getClass() == SipDebugCallback.class) ? tinyWRAPJNI.SipDebugCallback_OnDebugError(swigCPtr, this, message) : tinyWRAPJNI.SipDebugCallback_OnDebugErrorSwigExplicitSipDebugCallback(swigCPtr, this, message);
}
public int OnDebugFatal(String 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).
* Version 1.3.39
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package org.doubango.tinyWRAP;
public class SipEvent {
private long swigCPtr;
protected boolean swigCMemOwn;
protected SipEvent(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(SipEvent obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
protected void finalize() {
delete();
}
public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) {
swigCMemOwn = false;
tinyWRAPJNI.delete_SipEvent(swigCPtr);
}
swigCPtr = 0;
}
public SipEvent() {
this(tinyWRAPJNI.new_SipEvent(), true);
}
public short getCode() {
return tinyWRAPJNI.SipEvent_getCode(swigCPtr, this);
}
public String getPhrase() {
return tinyWRAPJNI.SipEvent_getPhrase(swigCPtr, this);
}
public SipSession getBaseSession() {
long cPtr = tinyWRAPJNI.SipEvent_getBaseSession(swigCPtr, this);
return (cPtr == 0) ? null : new SipSession(cPtr, false);
}
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package org.doubango.tinyWRAP;
public class SipEvent {
private long swigCPtr;
protected boolean swigCMemOwn;
protected SipEvent(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(SipEvent obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
protected void finalize() {
delete();
}
public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) {
swigCMemOwn = false;
tinyWRAPJNI.delete_SipEvent(swigCPtr);
}
swigCPtr = 0;
}
public SipEvent() {
this(tinyWRAPJNI.new_SipEvent(), true);
}
public short getCode() {
return tinyWRAPJNI.SipEvent_getCode(swigCPtr, this);
}
public String getPhrase() {
return tinyWRAPJNI.SipEvent_getPhrase(swigCPtr, this);
}
public SipSession getBaseSession() {
long cPtr = tinyWRAPJNI.SipEvent_getBaseSession(swigCPtr, this);
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).
* Version 1.3.39
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package org.doubango.tinyWRAP;
public class SipSession {
private long swigCPtr;
protected boolean swigCMemOwn;
protected SipSession(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(SipSession obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
protected void finalize() {
delete();
}
public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) {
swigCMemOwn = false;
tinyWRAPJNI.delete_SipSession(swigCPtr);
}
swigCPtr = 0;
}
public SipSession(SipStack Stack) {
this(tinyWRAPJNI.new_SipSession(SipStack.getCPtr(Stack), Stack), true);
}
public boolean addHeader(String name, String value) {
return tinyWRAPJNI.SipSession_addHeader(swigCPtr, this, name, value);
}
public boolean removeHeader(String name) {
return tinyWRAPJNI.SipSession_removeHeader(swigCPtr, this, name);
}
public boolean addCaps(String name, String value) {
return tinyWRAPJNI.SipSession_addCaps__SWIG_0(swigCPtr, this, name, value);
}
public boolean addCaps(String name) {
return tinyWRAPJNI.SipSession_addCaps__SWIG_1(swigCPtr, this, name);
}
public boolean removeCaps(String name) {
return tinyWRAPJNI.SipSession_removeCaps(swigCPtr, this, name);
}
public boolean setExpires(long expires) {
return tinyWRAPJNI.SipSession_setExpires(swigCPtr, this, expires);
}
public boolean setFromUri(String fromUri) {
return tinyWRAPJNI.SipSession_setFromUri(swigCPtr, this, fromUri);
}
public boolean setToUri(String toUri) {
return tinyWRAPJNI.SipSession_setToUri(swigCPtr, this, toUri);
}
public boolean setPayload(String str, long len) {
return tinyWRAPJNI.SipSession_setPayload(swigCPtr, this, str, len);
}
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package org.doubango.tinyWRAP;
public class SipSession {
private long swigCPtr;
protected boolean swigCMemOwn;
protected SipSession(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(SipSession obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
protected void finalize() {
delete();
}
public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) {
swigCMemOwn = false;
tinyWRAPJNI.delete_SipSession(swigCPtr);
}
swigCPtr = 0;
}
public SipSession(SipStack stack) {
this(tinyWRAPJNI.new_SipSession(SipStack.getCPtr(stack), stack), true);
}
public boolean addHeader(String name, String value) {
return tinyWRAPJNI.SipSession_addHeader(swigCPtr, this, name, value);
}
public boolean removeHeader(String name) {
return tinyWRAPJNI.SipSession_removeHeader(swigCPtr, this, name);
}
public boolean addCaps(String name, String value) {
return tinyWRAPJNI.SipSession_addCaps__SWIG_0(swigCPtr, this, name, value);
}
public boolean addCaps(String name) {
return tinyWRAPJNI.SipSession_addCaps__SWIG_1(swigCPtr, this, name);
}
public boolean removeCaps(String name) {
return tinyWRAPJNI.SipSession_removeCaps(swigCPtr, this, name);
}
public boolean setExpires(long expires) {
return tinyWRAPJNI.SipSession_setExpires(swigCPtr, this, expires);
}
public boolean setFromUri(String fromUri) {
return tinyWRAPJNI.SipSession_setFromUri(swigCPtr, this, fromUri);
}
public boolean setToUri(String toUri) {
return tinyWRAPJNI.SipSession_setToUri(swigCPtr, this, toUri);
}
public boolean setPayload(String str, long 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).
* Version 1.3.39
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package org.doubango.tinyWRAP;
public class SipStack extends SafeObject {
private long swigCPtr;
protected SipStack(long cPtr, boolean cMemoryOwn) {
super(tinyWRAPJNI.SWIGSipStackUpcast(cPtr), cMemoryOwn);
swigCPtr = cPtr;
}
protected static long getCPtr(SipStack obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
protected void finalize() {
delete();
}
public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) {
swigCMemOwn = false;
tinyWRAPJNI.delete_SipStack(swigCPtr);
}
swigCPtr = 0;
super.delete();
}
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);
}
public boolean start() {
return tinyWRAPJNI.SipStack_start(swigCPtr, this);
}
public boolean setDebugCallback(SipDebugCallback callback) {
return tinyWRAPJNI.SipStack_setDebugCallback(swigCPtr, this, SipDebugCallback.getCPtr(callback), callback);
}
public boolean setRealm(String realm_uri) {
return tinyWRAPJNI.SipStack_setRealm(swigCPtr, this, realm_uri);
}
public boolean setIMPI(String impi) {
return tinyWRAPJNI.SipStack_setIMPI(swigCPtr, this, impi);
}
public boolean setIMPU(String impu_uri) {
return tinyWRAPJNI.SipStack_setIMPU(swigCPtr, this, impu_uri);
}
public boolean setPassword(String password) {
return tinyWRAPJNI.SipStack_setPassword(swigCPtr, this, password);
}
public boolean setProxyCSCF(String fqdn, long port, String transport, String ipversion) {
return tinyWRAPJNI.SipStack_setProxyCSCF(swigCPtr, this, fqdn, port, transport, ipversion);
}
public boolean setLocalIP(String ip) {
return tinyWRAPJNI.SipStack_setLocalIP(swigCPtr, this, ip);
}
public boolean setLocalPort(long port) {
return tinyWRAPJNI.SipStack_setLocalPort(swigCPtr, this, port);
}
public boolean setEarlyIMS(boolean enabled) {
return tinyWRAPJNI.SipStack_setEarlyIMS(swigCPtr, this, enabled);
}
public boolean addHeader(String name, String value) {
return tinyWRAPJNI.SipStack_addHeader(swigCPtr, this, name, value);
}
public boolean removeHeader(String name) {
return tinyWRAPJNI.SipStack_removeHeader(swigCPtr, this, name);
}
public boolean addDnsServer(String ip) {
return tinyWRAPJNI.SipStack_addDnsServer(swigCPtr, this, ip);
}
public boolean isValid() {
return tinyWRAPJNI.SipStack_isValid(swigCPtr, this);
}
public boolean stop() {
return tinyWRAPJNI.SipStack_stop(swigCPtr, this);
}
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package org.doubango.tinyWRAP;
public class SipStack extends SafeObject {
private long swigCPtr;
protected SipStack(long cPtr, boolean cMemoryOwn) {
super(tinyWRAPJNI.SWIGSipStackUpcast(cPtr), cMemoryOwn);
swigCPtr = cPtr;
}
protected static long getCPtr(SipStack obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
protected void finalize() {
delete();
}
public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) {
swigCMemOwn = false;
tinyWRAPJNI.delete_SipStack(swigCPtr);
}
swigCPtr = 0;
super.delete();
}
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);
}
public boolean start() {
return tinyWRAPJNI.SipStack_start(swigCPtr, this);
}
public boolean setDebugCallback(SipDebugCallback callback) {
return tinyWRAPJNI.SipStack_setDebugCallback(swigCPtr, this, SipDebugCallback.getCPtr(callback), callback);
}
public boolean setRealm(String realm_uri) {
return tinyWRAPJNI.SipStack_setRealm(swigCPtr, this, realm_uri);
}
public boolean setIMPI(String impi) {
return tinyWRAPJNI.SipStack_setIMPI(swigCPtr, this, impi);
}
public boolean setIMPU(String impu_uri) {
return tinyWRAPJNI.SipStack_setIMPU(swigCPtr, this, impu_uri);
}
public boolean setPassword(String password) {
return tinyWRAPJNI.SipStack_setPassword(swigCPtr, this, password);
}
public boolean setProxyCSCF(String fqdn, long port, String transport, String ipversion) {
return tinyWRAPJNI.SipStack_setProxyCSCF(swigCPtr, this, fqdn, port, transport, ipversion);
}
public boolean setLocalIP(String ip) {
return tinyWRAPJNI.SipStack_setLocalIP(swigCPtr, this, ip);
}
public boolean setLocalPort(long port) {
return tinyWRAPJNI.SipStack_setLocalPort(swigCPtr, this, port);
}
public boolean setEarlyIMS(boolean enabled) {
return tinyWRAPJNI.SipStack_setEarlyIMS(swigCPtr, this, enabled);
}
public boolean addHeader(String name, String value) {
return tinyWRAPJNI.SipStack_addHeader(swigCPtr, this, name, value);
}
public boolean removeHeader(String name) {
return tinyWRAPJNI.SipStack_removeHeader(swigCPtr, this, name);
}
public boolean addDnsServer(String ip) {
return tinyWRAPJNI.SipStack_addDnsServer(swigCPtr, this, ip);
}
public boolean isValid() {
return tinyWRAPJNI.SipStack_isValid(swigCPtr, this);
}
public boolean stop() {
return tinyWRAPJNI.SipStack_stop(swigCPtr, this);
}
}

View File

@ -1,48 +1,48 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package org.doubango.tinyWRAP;
public class SipUri {
private long swigCPtr;
protected boolean swigCMemOwn;
protected SipUri(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(SipUri obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
protected void finalize() {
delete();
}
public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) {
swigCMemOwn = false;
tinyWRAPJNI.delete_SipUri(swigCPtr);
}
swigCPtr = 0;
}
public SipUri(String arg0) {
this(tinyWRAPJNI.new_SipUri(arg0), true);
}
public static boolean isValid(String arg0) {
return tinyWRAPJNI.SipUri_isValid__SWIG_0(arg0);
}
public boolean isValid() {
return tinyWRAPJNI.SipUri_isValid__SWIG_1(swigCPtr, this);
}
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package org.doubango.tinyWRAP;
public class SipUri {
private long swigCPtr;
protected boolean swigCMemOwn;
protected SipUri(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(SipUri obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
protected void finalize() {
delete();
}
public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) {
swigCMemOwn = false;
tinyWRAPJNI.delete_SipUri(swigCPtr);
}
swigCPtr = 0;
}
public SipUri(String arg0) {
this(tinyWRAPJNI.new_SipUri(arg0), true);
}
public static boolean isValid(String arg0) {
return tinyWRAPJNI.SipUri_isValid__SWIG_0(arg0);
}
public boolean isValid() {
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).
* Version 1.3.39
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package org.doubango.tinyWRAP;
public class SubscriptionEvent extends SipEvent {
private long swigCPtr;
protected SubscriptionEvent(long cPtr, boolean cMemoryOwn) {
super(tinyWRAPJNI.SWIGSubscriptionEventUpcast(cPtr), cMemoryOwn);
swigCPtr = cPtr;
}
protected static long getCPtr(SubscriptionEvent obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
protected void finalize() {
delete();
}
public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) {
swigCMemOwn = false;
tinyWRAPJNI.delete_SubscriptionEvent(swigCPtr);
}
swigCPtr = 0;
super.delete();
}
public SubscriptionEvent() {
this(tinyWRAPJNI.new_SubscriptionEvent(), true);
}
public tsip_subscribe_event_type_t getType() {
return tsip_subscribe_event_type_t.swigToEnum(tinyWRAPJNI.SubscriptionEvent_getType(swigCPtr, this));
}
public SubscriptionSession getSession() {
long cPtr = tinyWRAPJNI.SubscriptionEvent_getSession(swigCPtr, this);
return (cPtr == 0) ? null : new SubscriptionSession(cPtr, false);
}
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package org.doubango.tinyWRAP;
public class SubscriptionEvent extends SipEvent {
private long swigCPtr;
protected SubscriptionEvent(long cPtr, boolean cMemoryOwn) {
super(tinyWRAPJNI.SWIGSubscriptionEventUpcast(cPtr), cMemoryOwn);
swigCPtr = cPtr;
}
protected static long getCPtr(SubscriptionEvent obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
protected void finalize() {
delete();
}
public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) {
swigCMemOwn = false;
tinyWRAPJNI.delete_SubscriptionEvent(swigCPtr);
}
swigCPtr = 0;
super.delete();
}
public SubscriptionEvent() {
this(tinyWRAPJNI.new_SubscriptionEvent(), true);
}
public tsip_subscribe_event_type_t getType() {
return tsip_subscribe_event_type_t.swigToEnum(tinyWRAPJNI.SubscriptionEvent_getType(swigCPtr, this));
}
public SubscriptionSession getSession() {
long cPtr = tinyWRAPJNI.SubscriptionEvent_getSession(swigCPtr, this);
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).
* Version 1.3.39
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package org.doubango.tinyWRAP;
public class SubscriptionSession extends SipSession {
private long swigCPtr;
protected SubscriptionSession(long cPtr, boolean cMemoryOwn) {
super(tinyWRAPJNI.SWIGSubscriptionSessionUpcast(cPtr), cMemoryOwn);
swigCPtr = cPtr;
}
protected static long getCPtr(SubscriptionSession obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
protected void finalize() {
delete();
}
public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) {
swigCMemOwn = false;
tinyWRAPJNI.delete_SubscriptionSession(swigCPtr);
}
swigCPtr = 0;
super.delete();
}
public SubscriptionSession(SipStack Stack) {
this(tinyWRAPJNI.new_SubscriptionSession(SipStack.getCPtr(Stack), Stack), true);
}
public boolean Subscribe() {
return tinyWRAPJNI.SubscriptionSession_Subscribe(swigCPtr, this);
}
public boolean UnSubscribe() {
return tinyWRAPJNI.SubscriptionSession_UnSubscribe(swigCPtr, this);
}
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package org.doubango.tinyWRAP;
public class SubscriptionSession extends SipSession {
private long swigCPtr;
protected SubscriptionSession(long cPtr, boolean cMemoryOwn) {
super(tinyWRAPJNI.SWIGSubscriptionSessionUpcast(cPtr), cMemoryOwn);
swigCPtr = cPtr;
}
protected static long getCPtr(SubscriptionSession obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
protected void finalize() {
delete();
}
public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) {
swigCMemOwn = false;
tinyWRAPJNI.delete_SubscriptionSession(swigCPtr);
}
swigCPtr = 0;
super.delete();
}
public SubscriptionSession(SipStack Stack) {
this(tinyWRAPJNI.new_SubscriptionSession(SipStack.getCPtr(Stack), Stack), true);
}
public boolean Subscribe() {
return tinyWRAPJNI.SubscriptionSession_Subscribe(swigCPtr, this);
}
public boolean UnSubscribe() {
return tinyWRAPJNI.SubscriptionSession_UnSubscribe(swigCPtr, this);
}
}

View File

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

View File

@ -1,118 +1,118 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package org.doubango.tinyWRAP;
class tinyWRAPJNI {
public final static native long new_SipUri(String 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_1(long jarg1, SipUri jarg1_);
public final static native long new_SipEvent();
public final static native void delete_SipEvent(long 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 long SipEvent_getBaseSession(long jarg1, SipEvent 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 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_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_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_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_setPayload(long jarg1, SipSession jarg1_, String jarg2, long jarg3);
public final static native long new_RegistrationEvent();
public final static native void delete_RegistrationEvent(long 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 new_RegistrationSession(long jarg1, SipStack 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_UnRegister(long jarg1, RegistrationSession jarg1_);
public final static native long new_SubscriptionEvent();
public final static native void delete_SubscriptionEvent(long 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 new_SubscriptionSession(long jarg1, SipStack 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_UnSubscribe(long jarg1, SubscriptionSession jarg1_);
public final static native long new_SipCallback();
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_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_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_change_ownership(SipCallback obj, long cptr, boolean take_or_release);
public final static native long new_SipDebugCallback();
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_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_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_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_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_change_ownership(SipDebugCallback obj, long cptr, boolean take_or_release);
public final static native long new_SafeObject();
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_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 void delete_SipStack(long 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_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_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_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_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_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_addDnsServer(long jarg1, SipStack jarg1_, String jarg2);
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 long SWIGRegistrationEventUpcast(long jarg1);
public final static native long SWIGRegistrationSessionUpcast(long jarg1);
public final static native long SWIGSubscriptionEventUpcast(long jarg1);
public final static native long SWIGSubscriptionSessionUpcast(long jarg1);
public final static native long SWIGSipStackUpcast(long jarg1);
public static int SwigDirector_SipCallback_OnRegistrationChanged(SipCallback self, long e) {
return self.OnRegistrationChanged((e == 0) ? null : new RegistrationEvent(e, false));
}
public static int SwigDirector_SipCallback_OnSubscriptionChanged(SipCallback self, long e) {
return self.OnSubscriptionChanged((e == 0) ? null : new SubscriptionEvent(e, false));
}
public static int SwigDirector_SipDebugCallback_OnDebugInfo(SipDebugCallback self, String message) {
return self.OnDebugInfo(message);
}
public static int SwigDirector_SipDebugCallback_OnDebugWarn(SipDebugCallback self, String message) {
return self.OnDebugWarn(message);
}
public static int SwigDirector_SipDebugCallback_OnDebugError(SipDebugCallback self, String message) {
return self.OnDebugError(message);
}
public static int SwigDirector_SipDebugCallback_OnDebugFatal(SipDebugCallback self, String message) {
return self.OnDebugFatal(message);
}
private final static native void swig_module_init();
static {
swig_module_init();
}
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package org.doubango.tinyWRAP;
class tinyWRAPJNI {
public final static native long new_SipUri(String 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_1(long jarg1, SipUri jarg1_);
public final static native long new_SipEvent();
public final static native void delete_SipEvent(long 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 long SipEvent_getBaseSession(long jarg1, SipEvent 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 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_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_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_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_setPayload(long jarg1, SipSession jarg1_, String jarg2, long jarg3);
public final static native long new_RegistrationEvent();
public final static native void delete_RegistrationEvent(long 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 new_RegistrationSession(long jarg1, SipStack 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_UnRegister(long jarg1, RegistrationSession jarg1_);
public final static native long new_SubscriptionEvent();
public final static native void delete_SubscriptionEvent(long 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 new_SubscriptionSession(long jarg1, SipStack 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_UnSubscribe(long jarg1, SubscriptionSession jarg1_);
public final static native long new_SipCallback();
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_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_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_change_ownership(SipCallback obj, long cptr, boolean take_or_release);
public final static native long new_SipDebugCallback();
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_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_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_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_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_change_ownership(SipDebugCallback obj, long cptr, boolean take_or_release);
public final static native long new_SafeObject();
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_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 void delete_SipStack(long 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_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_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_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_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_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_addDnsServer(long jarg1, SipStack jarg1_, String jarg2);
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 long SWIGRegistrationEventUpcast(long jarg1);
public final static native long SWIGRegistrationSessionUpcast(long jarg1);
public final static native long SWIGSubscriptionEventUpcast(long jarg1);
public final static native long SWIGSubscriptionSessionUpcast(long jarg1);
public final static native long SWIGSipStackUpcast(long jarg1);
public static int SwigDirector_SipCallback_OnRegistrationChanged(SipCallback self, long e) {
return self.OnRegistrationChanged((e == 0) ? null : new RegistrationEvent(e, false));
}
public static int SwigDirector_SipCallback_OnSubscriptionChanged(SipCallback self, long e) {
return self.OnSubscriptionChanged((e == 0) ? null : new SubscriptionEvent(e, false));
}
public static int SwigDirector_SipDebugCallback_OnDebugInfo(SipDebugCallback self, String message) {
return self.OnDebugInfo(message);
}
public static int SwigDirector_SipDebugCallback_OnDebugWarn(SipDebugCallback self, String message) {
return self.OnDebugWarn(message);
}
public static int SwigDirector_SipDebugCallback_OnDebugError(SipDebugCallback self, String message) {
return self.OnDebugError(message);
}
public static int SwigDirector_SipDebugCallback_OnDebugFatal(SipDebugCallback self, String message) {
return self.OnDebugFatal(message);
}
private final static native void swig_module_init();
static {
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).
* Version 1.3.39
*
* This file is not intended to be easily readable and contains a number of
* coding conventions designed to improve portability and efficiency. Do not make
* changes to this file unless you know what you are doing--modify the SWIG
* interface file instead.
* ----------------------------------------------------------------------------- */
#ifndef SWIG_tinyWRAP_WRAP_H_
#define SWIG_tinyWRAP_WRAP_H_
class SwigDirector_SipCallback : public SipCallback, public Swig::Director {
public:
void swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global);
SwigDirector_SipCallback(JNIEnv *jenv);
virtual ~SwigDirector_SipCallback();
virtual int OnRegistrationChanged(RegistrationEvent const *e);
virtual int OnSubscriptionChanged(SubscriptionEvent const *e);
public:
bool swig_overrides(int n) {
return (n < 2 ? swig_override[n] : false);
}
protected:
bool swig_override[2];
};
class SwigDirector_SipDebugCallback : public SipDebugCallback, public Swig::Director {
public:
void swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global);
SwigDirector_SipDebugCallback(JNIEnv *jenv);
virtual ~SwigDirector_SipDebugCallback();
virtual int OnDebugInfo(char const *message);
virtual int OnDebugWarn(char const *message);
virtual int OnDebugError(char const *message);
virtual int OnDebugFatal(char const *message);
public:
bool swig_overrides(int n) {
return (n < 4 ? swig_override[n] : false);
}
protected:
bool swig_override[4];
};
#endif
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39
*
* This file is not intended to be easily readable and contains a number of
* coding conventions designed to improve portability and efficiency. Do not make
* changes to this file unless you know what you are doing--modify the SWIG
* interface file instead.
* ----------------------------------------------------------------------------- */
#ifndef SWIG_tinyWRAP_WRAP_H_
#define SWIG_tinyWRAP_WRAP_H_
class SwigDirector_SipCallback : public SipCallback, public Swig::Director {
public:
void swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global);
SwigDirector_SipCallback(JNIEnv *jenv);
virtual ~SwigDirector_SipCallback();
virtual int OnRegistrationChanged(RegistrationEvent const *e);
virtual int OnSubscriptionChanged(SubscriptionEvent const *e);
public:
bool swig_overrides(int n) {
return (n < 2 ? swig_override[n] : false);
}
protected:
bool swig_override[2];
};
class SwigDirector_SipDebugCallback : public SipDebugCallback, public Swig::Director {
public:
void swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global);
SwigDirector_SipDebugCallback(JNIEnv *jenv);
virtual ~SwigDirector_SipDebugCallback();
virtual int OnDebugInfo(char const *message);
virtual int OnDebugWarn(char const *message);
virtual int OnDebugError(char const *message);
virtual int OnDebugFatal(char const *message);
public:
bool swig_overrides(int n) {
return (n < 4 ? swig_override[n] : false);
}
protected:
bool swig_override[4];
};
#endif

View File

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

View File

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

View File

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

View File

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

View File

@ -1,118 +1,118 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package org.doubango.tinyWRAP;
class tinyWRAPJNI {
public final static native long new_SipUri(String 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_1(long jarg1, SipUri jarg1_);
public final static native long new_SipEvent();
public final static native void delete_SipEvent(long 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 long SipEvent_getBaseSession(long jarg1, SipEvent 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 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_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_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_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_setPayload(long jarg1, SipSession jarg1_, String jarg2, long jarg3);
public final static native long new_RegistrationEvent();
public final static native void delete_RegistrationEvent(long 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 new_RegistrationSession(long jarg1, SipStack 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_UnRegister(long jarg1, RegistrationSession jarg1_);
public final static native long new_SubscriptionEvent();
public final static native void delete_SubscriptionEvent(long 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 new_SubscriptionSession(long jarg1, SipStack 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_UnSubscribe(long jarg1, SubscriptionSession jarg1_);
public final static native long new_SipCallback();
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_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_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_change_ownership(SipCallback obj, long cptr, boolean take_or_release);
public final static native long new_SipDebugCallback();
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_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_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_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_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_change_ownership(SipDebugCallback obj, long cptr, boolean take_or_release);
public final static native long new_SafeObject();
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_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 void delete_SipStack(long 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_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_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_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_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_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_addDnsServer(long jarg1, SipStack jarg1_, String jarg2);
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 long SWIGRegistrationEventUpcast(long jarg1);
public final static native long SWIGRegistrationSessionUpcast(long jarg1);
public final static native long SWIGSubscriptionEventUpcast(long jarg1);
public final static native long SWIGSubscriptionSessionUpcast(long jarg1);
public final static native long SWIGSipStackUpcast(long jarg1);
public static int SwigDirector_SipCallback_OnRegistrationChanged(SipCallback self, long e) {
return self.OnRegistrationChanged((e == 0) ? null : new RegistrationEvent(e, false));
}
public static int SwigDirector_SipCallback_OnSubscriptionChanged(SipCallback self, long e) {
return self.OnSubscriptionChanged((e == 0) ? null : new SubscriptionEvent(e, false));
}
public static int SwigDirector_SipDebugCallback_OnDebugInfo(SipDebugCallback self, String message) {
return self.OnDebugInfo(message);
}
public static int SwigDirector_SipDebugCallback_OnDebugWarn(SipDebugCallback self, String message) {
return self.OnDebugWarn(message);
}
public static int SwigDirector_SipDebugCallback_OnDebugError(SipDebugCallback self, String message) {
return self.OnDebugError(message);
}
public static int SwigDirector_SipDebugCallback_OnDebugFatal(SipDebugCallback self, String message) {
return self.OnDebugFatal(message);
}
private final static native void swig_module_init();
static {
swig_module_init();
}
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package org.doubango.tinyWRAP;
class tinyWRAPJNI {
public final static native long new_SipUri(String 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_1(long jarg1, SipUri jarg1_);
public final static native long new_SipEvent();
public final static native void delete_SipEvent(long 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 long SipEvent_getBaseSession(long jarg1, SipEvent 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 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_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_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_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_setPayload(long jarg1, SipSession jarg1_, String jarg2, long jarg3);
public final static native long new_RegistrationEvent();
public final static native void delete_RegistrationEvent(long 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 new_RegistrationSession(long jarg1, SipStack 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_UnRegister(long jarg1, RegistrationSession jarg1_);
public final static native long new_SubscriptionEvent();
public final static native void delete_SubscriptionEvent(long 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 new_SubscriptionSession(long jarg1, SipStack 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_UnSubscribe(long jarg1, SubscriptionSession jarg1_);
public final static native long new_SipCallback();
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_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_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_change_ownership(SipCallback obj, long cptr, boolean take_or_release);
public final static native long new_SipDebugCallback();
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_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_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_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_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_change_ownership(SipDebugCallback obj, long cptr, boolean take_or_release);
public final static native long new_SafeObject();
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_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 void delete_SipStack(long 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_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_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_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_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_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_addDnsServer(long jarg1, SipStack jarg1_, String jarg2);
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 long SWIGRegistrationEventUpcast(long jarg1);
public final static native long SWIGRegistrationSessionUpcast(long jarg1);
public final static native long SWIGSubscriptionEventUpcast(long jarg1);
public final static native long SWIGSubscriptionSessionUpcast(long jarg1);
public final static native long SWIGSipStackUpcast(long jarg1);
public static int SwigDirector_SipCallback_OnRegistrationChanged(SipCallback self, long e) {
return self.OnRegistrationChanged((e == 0) ? null : new RegistrationEvent(e, false));
}
public static int SwigDirector_SipCallback_OnSubscriptionChanged(SipCallback self, long e) {
return self.OnSubscriptionChanged((e == 0) ? null : new SubscriptionEvent(e, false));
}
public static int SwigDirector_SipDebugCallback_OnDebugInfo(SipDebugCallback self, String message) {
return self.OnDebugInfo(message);
}
public static int SwigDirector_SipDebugCallback_OnDebugWarn(SipDebugCallback self, String message) {
return self.OnDebugWarn(message);
}
public static int SwigDirector_SipDebugCallback_OnDebugError(SipDebugCallback self, String message) {
return self.OnDebugError(message);
}
public static int SwigDirector_SipDebugCallback_OnDebugFatal(SipDebugCallback self, String message) {
return self.OnDebugFatal(message);
}
private final static native void swig_module_init();
static {
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).
* Version 1.3.39
*
* This file is not intended to be easily readable and contains a number of
* coding conventions designed to improve portability and efficiency. Do not make
* changes to this file unless you know what you are doing--modify the SWIG
* interface file instead.
* ----------------------------------------------------------------------------- */
#ifndef SWIG_tinyWRAP_WRAP_H_
#define SWIG_tinyWRAP_WRAP_H_
class SwigDirector_SipCallback : public SipCallback, public Swig::Director {
public:
void swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global);
SwigDirector_SipCallback(JNIEnv *jenv);
virtual ~SwigDirector_SipCallback();
virtual int OnRegistrationChanged(RegistrationEvent const *e);
virtual int OnSubscriptionChanged(SubscriptionEvent const *e);
public:
bool swig_overrides(int n) {
return (n < 2 ? swig_override[n] : false);
}
protected:
bool swig_override[2];
};
class SwigDirector_SipDebugCallback : public SipDebugCallback, public Swig::Director {
public:
void swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global);
SwigDirector_SipDebugCallback(JNIEnv *jenv);
virtual ~SwigDirector_SipDebugCallback();
virtual int OnDebugInfo(char const *message);
virtual int OnDebugWarn(char const *message);
virtual int OnDebugError(char const *message);
virtual int OnDebugFatal(char const *message);
public:
bool swig_overrides(int n) {
return (n < 4 ? swig_override[n] : false);
}
protected:
bool swig_override[4];
};
#endif
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39
*
* This file is not intended to be easily readable and contains a number of
* coding conventions designed to improve portability and efficiency. Do not make
* changes to this file unless you know what you are doing--modify the SWIG
* interface file instead.
* ----------------------------------------------------------------------------- */
#ifndef SWIG_tinyWRAP_WRAP_H_
#define SWIG_tinyWRAP_WRAP_H_
class SwigDirector_SipCallback : public SipCallback, public Swig::Director {
public:
void swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global);
SwigDirector_SipCallback(JNIEnv *jenv);
virtual ~SwigDirector_SipCallback();
virtual int OnRegistrationChanged(RegistrationEvent const *e);
virtual int OnSubscriptionChanged(SubscriptionEvent const *e);
public:
bool swig_overrides(int n) {
return (n < 2 ? swig_override[n] : false);
}
protected:
bool swig_override[2];
};
class SwigDirector_SipDebugCallback : public SipDebugCallback, public Swig::Director {
public:
void swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global);
SwigDirector_SipDebugCallback(JNIEnv *jenv);
virtual ~SwigDirector_SipDebugCallback();
virtual int OnDebugInfo(char const *message);
virtual int OnDebugWarn(char const *message);
virtual int OnDebugError(char const *message);
virtual int OnDebugFatal(char const *message);
public:
bool swig_overrides(int n) {
return (n < 4 ? swig_override[n] : false);
}
protected:
bool swig_override[4];
};
#endif

View File

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

View File

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

View File

@ -1,62 +1,62 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package org.doubango.tinyWRAP;
public enum tsip_subscribe_event_type_t {
tsip_i_subscribe,
tsip_ai_subscribe,
tsip_o_subscribe,
tsip_ao_subscribe,
tsip_i_unsubscribe,
tsip_ai_unsubscribe,
tsip_o_unsubscribe,
tsip_ao_unsubscribe,
tsip_i_notify,
tsip_ai_notify,
tsip_o_notify,
tsip_ao_notify;
public final int swigValue() {
return swigValue;
}
public static tsip_subscribe_event_type_t swigToEnum(int swigValue) {
tsip_subscribe_event_type_t[] swigValues = tsip_subscribe_event_type_t.class.getEnumConstants();
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
return swigValues[swigValue];
for (tsip_subscribe_event_type_t swigEnum : swigValues)
if (swigEnum.swigValue == swigValue)
return swigEnum;
throw new IllegalArgumentException("No enum " + tsip_subscribe_event_type_t.class + " with value " + swigValue);
}
@SuppressWarnings("unused")
private tsip_subscribe_event_type_t() {
this.swigValue = SwigNext.next++;
}
@SuppressWarnings("unused")
private tsip_subscribe_event_type_t(int swigValue) {
this.swigValue = swigValue;
SwigNext.next = swigValue+1;
}
@SuppressWarnings("unused")
private tsip_subscribe_event_type_t(tsip_subscribe_event_type_t swigEnum) {
this.swigValue = swigEnum.swigValue;
SwigNext.next = this.swigValue+1;
}
private final int swigValue;
private static class SwigNext {
private static int next = 0;
}
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package org.doubango.tinyWRAP;
public enum tsip_subscribe_event_type_t {
tsip_i_subscribe,
tsip_ai_subscribe,
tsip_o_subscribe,
tsip_ao_subscribe,
tsip_i_unsubscribe,
tsip_ai_unsubscribe,
tsip_o_unsubscribe,
tsip_ao_unsubscribe,
tsip_i_notify,
tsip_ai_notify,
tsip_o_notify,
tsip_ao_notify;
public final int swigValue() {
return swigValue;
}
public static tsip_subscribe_event_type_t swigToEnum(int swigValue) {
tsip_subscribe_event_type_t[] swigValues = tsip_subscribe_event_type_t.class.getEnumConstants();
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
return swigValues[swigValue];
for (tsip_subscribe_event_type_t swigEnum : swigValues)
if (swigEnum.swigValue == swigValue)
return swigEnum;
throw new IllegalArgumentException("No enum " + tsip_subscribe_event_type_t.class + " with value " + swigValue);
}
@SuppressWarnings("unused")
private tsip_subscribe_event_type_t() {
this.swigValue = SwigNext.next++;
}
@SuppressWarnings("unused")
private tsip_subscribe_event_type_t(int swigValue) {
this.swigValue = swigValue;
SwigNext.next = swigValue+1;
}
@SuppressWarnings("unused")
private tsip_subscribe_event_type_t(tsip_subscribe_event_type_t swigEnum) {
this.swigValue = swigEnum.swigValue;
SwigNext.next = this.swigValue+1;
}
private final int swigValue;
private static class SwigNext {
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).
# Version 1.3.39
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.
# This file is compatible with both classic and new-style classes.
from sys import version_info
if version_info >= (2,6,0):
def swig_import_helper():
from os.path import dirname
import imp
try:
fp, pathname, description = imp.find_module('_tinyWRAP', [dirname(__file__)])
_mod = imp.load_module('_tinyWRAP', fp, pathname, description)
finally:
if fp is not None: fp.close()
return _mod
_tinyWRAP = swig_import_helper()
del swig_import_helper
else:
import _tinyWRAP
del version_info
try:
_swig_property = property
except NameError:
pass # Python < 2.2 doesn't have 'property'.
def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
if (name == "thisown"): return self.this.own(value)
if (name == "this"):
if type(value).__name__ == 'SwigPyObject':
self.__dict__[name] = value
return
method = class_type.__swig_setmethods__.get(name,None)
if method: return method(self,value)
if (not static) or hasattr(self,name):
self.__dict__[name] = value
else:
raise AttributeError("You cannot add attributes to %s" % self)
def _swig_setattr(self,class_type,name,value):
return _swig_setattr_nondynamic(self,class_type,name,value,0)
def _swig_getattr(self,class_type,name):
if (name == "thisown"): return self.this.own()
method = class_type.__swig_getmethods__.get(name,None)
if method: return method(self)
raise AttributeError(name)
def _swig_repr(self):
try: strthis = "proxy of " + self.this.__repr__()
except: strthis = ""
return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
try:
_object = object
_newclass = 1
except AttributeError:
class _object : pass
_newclass = 0
try:
import weakref
weakref_proxy = weakref.proxy
except:
weakref_proxy = lambda x: x
class SipUri(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, SipUri, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, SipUri, name)
__repr__ = _swig_repr
def __init__(self, *args):
this = _tinyWRAP.new_SipUri(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _tinyWRAP.delete_SipUri
__del__ = lambda self : None;
def isValid(self, *args): return _tinyWRAP.SipUri_isValid(self, *args)
SipUri_swigregister = _tinyWRAP.SipUri_swigregister
SipUri_swigregister(SipUri)
class SipEvent(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, SipEvent, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, SipEvent, name)
__repr__ = _swig_repr
def __init__(self):
this = _tinyWRAP.new_SipEvent()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _tinyWRAP.delete_SipEvent
__del__ = lambda self : None;
def getCode(self): return _tinyWRAP.SipEvent_getCode(self)
def getPhrase(self): return _tinyWRAP.SipEvent_getPhrase(self)
def getBaseSession(self): return _tinyWRAP.SipEvent_getBaseSession(self)
SipEvent_swigregister = _tinyWRAP.SipEvent_swigregister
SipEvent_swigregister(SipEvent)
class SipSession(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, SipSession, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, SipSession, name)
__repr__ = _swig_repr
def __init__(self, *args):
this = _tinyWRAP.new_SipSession(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _tinyWRAP.delete_SipSession
__del__ = lambda self : None;
def addHeader(self, *args): return _tinyWRAP.SipSession_addHeader(self, *args)
def removeHeader(self, *args): return _tinyWRAP.SipSession_removeHeader(self, *args)
def addCaps(self, *args): return _tinyWRAP.SipSession_addCaps(self, *args)
def removeCaps(self, *args): return _tinyWRAP.SipSession_removeCaps(self, *args)
def setExpires(self, *args): return _tinyWRAP.SipSession_setExpires(self, *args)
def setFromUri(self, *args): return _tinyWRAP.SipSession_setFromUri(self, *args)
def setToUri(self, *args): return _tinyWRAP.SipSession_setToUri(self, *args)
def setPayload(self, *args): return _tinyWRAP.SipSession_setPayload(self, *args)
SipSession_swigregister = _tinyWRAP.SipSession_swigregister
SipSession_swigregister(SipSession)
class RegistrationEvent(SipEvent):
__swig_setmethods__ = {}
for _s in [SipEvent]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, RegistrationEvent, name, value)
__swig_getmethods__ = {}
for _s in [SipEvent]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, RegistrationEvent, name)
__repr__ = _swig_repr
def __init__(self):
this = _tinyWRAP.new_RegistrationEvent()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _tinyWRAP.delete_RegistrationEvent
__del__ = lambda self : None;
def getType(self): return _tinyWRAP.RegistrationEvent_getType(self)
def getSession(self): return _tinyWRAP.RegistrationEvent_getSession(self)
RegistrationEvent_swigregister = _tinyWRAP.RegistrationEvent_swigregister
RegistrationEvent_swigregister(RegistrationEvent)
class RegistrationSession(SipSession):
__swig_setmethods__ = {}
for _s in [SipSession]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, RegistrationSession, name, value)
__swig_getmethods__ = {}
for _s in [SipSession]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, RegistrationSession, name)
__repr__ = _swig_repr
def __init__(self, *args):
this = _tinyWRAP.new_RegistrationSession(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _tinyWRAP.delete_RegistrationSession
__del__ = lambda self : None;
def Register(self): return _tinyWRAP.RegistrationSession_Register(self)
def UnRegister(self): return _tinyWRAP.RegistrationSession_UnRegister(self)
RegistrationSession_swigregister = _tinyWRAP.RegistrationSession_swigregister
RegistrationSession_swigregister(RegistrationSession)
class SubscriptionEvent(SipEvent):
__swig_setmethods__ = {}
for _s in [SipEvent]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, SubscriptionEvent, name, value)
__swig_getmethods__ = {}
for _s in [SipEvent]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, SubscriptionEvent, name)
__repr__ = _swig_repr
def __init__(self):
this = _tinyWRAP.new_SubscriptionEvent()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _tinyWRAP.delete_SubscriptionEvent
__del__ = lambda self : None;
def getType(self): return _tinyWRAP.SubscriptionEvent_getType(self)
def getSession(self): return _tinyWRAP.SubscriptionEvent_getSession(self)
SubscriptionEvent_swigregister = _tinyWRAP.SubscriptionEvent_swigregister
SubscriptionEvent_swigregister(SubscriptionEvent)
class SubscriptionSession(SipSession):
__swig_setmethods__ = {}
for _s in [SipSession]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, SubscriptionSession, name, value)
__swig_getmethods__ = {}
for _s in [SipSession]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, SubscriptionSession, name)
__repr__ = _swig_repr
def __init__(self, *args):
this = _tinyWRAP.new_SubscriptionSession(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _tinyWRAP.delete_SubscriptionSession
__del__ = lambda self : None;
def Subscribe(self): return _tinyWRAP.SubscriptionSession_Subscribe(self)
def UnSubscribe(self): return _tinyWRAP.SubscriptionSession_UnSubscribe(self)
SubscriptionSession_swigregister = _tinyWRAP.SubscriptionSession_swigregister
SubscriptionSession_swigregister(SubscriptionSession)
class SipCallback(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, SipCallback, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, SipCallback, name)
__repr__ = _swig_repr
def __init__(self):
if self.__class__ == SipCallback:
_self = None
else:
_self = self
this = _tinyWRAP.new_SipCallback(_self, )
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _tinyWRAP.delete_SipCallback
__del__ = lambda self : None;
def OnRegistrationChanged(self, *args): return _tinyWRAP.SipCallback_OnRegistrationChanged(self, *args)
def OnSubscriptionChanged(self, *args): return _tinyWRAP.SipCallback_OnSubscriptionChanged(self, *args)
def __disown__(self):
self.this.disown()
_tinyWRAP.disown_SipCallback(self)
return weakref_proxy(self)
SipCallback_swigregister = _tinyWRAP.SipCallback_swigregister
SipCallback_swigregister(SipCallback)
class SipDebugCallback(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, SipDebugCallback, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, SipDebugCallback, name)
__repr__ = _swig_repr
def __init__(self):
if self.__class__ == SipDebugCallback:
_self = None
else:
_self = self
this = _tinyWRAP.new_SipDebugCallback(_self, )
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _tinyWRAP.delete_SipDebugCallback
__del__ = lambda self : None;
def OnDebugInfo(self, *args): return _tinyWRAP.SipDebugCallback_OnDebugInfo(self, *args)
def OnDebugWarn(self, *args): return _tinyWRAP.SipDebugCallback_OnDebugWarn(self, *args)
def OnDebugError(self, *args): return _tinyWRAP.SipDebugCallback_OnDebugError(self, *args)
def OnDebugFatal(self, *args): return _tinyWRAP.SipDebugCallback_OnDebugFatal(self, *args)
def __disown__(self):
self.this.disown()
_tinyWRAP.disown_SipDebugCallback(self)
return weakref_proxy(self)
SipDebugCallback_swigregister = _tinyWRAP.SipDebugCallback_swigregister
SipDebugCallback_swigregister(SipDebugCallback)
class SafeObject(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, SafeObject, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, SafeObject, name)
__repr__ = _swig_repr
def __init__(self):
this = _tinyWRAP.new_SafeObject()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _tinyWRAP.delete_SafeObject
__del__ = lambda self : None;
def Lock(self): return _tinyWRAP.SafeObject_Lock(self)
def UnLock(self): return _tinyWRAP.SafeObject_UnLock(self)
SafeObject_swigregister = _tinyWRAP.SafeObject_swigregister
SafeObject_swigregister(SafeObject)
class SipStack(SafeObject):
__swig_setmethods__ = {}
for _s in [SafeObject]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, SipStack, name, value)
__swig_getmethods__ = {}
for _s in [SafeObject]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, SipStack, name)
__repr__ = _swig_repr
def __init__(self, *args):
this = _tinyWRAP.new_SipStack(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _tinyWRAP.delete_SipStack
__del__ = lambda self : None;
def start(self): return _tinyWRAP.SipStack_start(self)
def setDebugCallback(self, *args): return _tinyWRAP.SipStack_setDebugCallback(self, *args)
def setRealm(self, *args): return _tinyWRAP.SipStack_setRealm(self, *args)
def setIMPI(self, *args): return _tinyWRAP.SipStack_setIMPI(self, *args)
def setIMPU(self, *args): return _tinyWRAP.SipStack_setIMPU(self, *args)
def setPassword(self, *args): return _tinyWRAP.SipStack_setPassword(self, *args)
def setProxyCSCF(self, *args): return _tinyWRAP.SipStack_setProxyCSCF(self, *args)
def setLocalIP(self, *args): return _tinyWRAP.SipStack_setLocalIP(self, *args)
def setLocalPort(self, *args): return _tinyWRAP.SipStack_setLocalPort(self, *args)
def setEarlyIMS(self, *args): return _tinyWRAP.SipStack_setEarlyIMS(self, *args)
def addHeader(self, *args): return _tinyWRAP.SipStack_addHeader(self, *args)
def removeHeader(self, *args): return _tinyWRAP.SipStack_removeHeader(self, *args)
def addDnsServer(self, *args): return _tinyWRAP.SipStack_addDnsServer(self, *args)
def isValid(self): return _tinyWRAP.SipStack_isValid(self)
def stop(self): return _tinyWRAP.SipStack_stop(self)
SipStack_swigregister = _tinyWRAP.SipStack_swigregister
SipStack_swigregister(SipStack)
tsip_event_invite = _tinyWRAP.tsip_event_invite
tsip_event_message = _tinyWRAP.tsip_event_message
tsip_event_options = _tinyWRAP.tsip_event_options
tsip_event_publish = _tinyWRAP.tsip_event_publish
tsip_event_register = _tinyWRAP.tsip_event_register
tsip_event_subscribe = _tinyWRAP.tsip_event_subscribe
tsip_event_dialog = _tinyWRAP.tsip_event_dialog
tsip_i_register = _tinyWRAP.tsip_i_register
tsip_ai_register = _tinyWRAP.tsip_ai_register
tsip_o_register = _tinyWRAP.tsip_o_register
tsip_ao_register = _tinyWRAP.tsip_ao_register
tsip_i_unregister = _tinyWRAP.tsip_i_unregister
tsip_ai_unregister = _tinyWRAP.tsip_ai_unregister
tsip_o_unregister = _tinyWRAP.tsip_o_unregister
tsip_ao_unregister = _tinyWRAP.tsip_ao_unregister
tsip_i_subscribe = _tinyWRAP.tsip_i_subscribe
tsip_ai_subscribe = _tinyWRAP.tsip_ai_subscribe
tsip_o_subscribe = _tinyWRAP.tsip_o_subscribe
tsip_ao_subscribe = _tinyWRAP.tsip_ao_subscribe
tsip_i_unsubscribe = _tinyWRAP.tsip_i_unsubscribe
tsip_ai_unsubscribe = _tinyWRAP.tsip_ai_unsubscribe
tsip_o_unsubscribe = _tinyWRAP.tsip_o_unsubscribe
tsip_ao_unsubscribe = _tinyWRAP.tsip_ao_unsubscribe
tsip_i_notify = _tinyWRAP.tsip_i_notify
tsip_ai_notify = _tinyWRAP.tsip_ai_notify
tsip_o_notify = _tinyWRAP.tsip_o_notify
tsip_ao_notify = _tinyWRAP.tsip_ao_notify
# This file was automatically generated by SWIG (http://www.swig.org).
# Version 1.3.39
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.
# This file is compatible with both classic and new-style classes.
from sys import version_info
if version_info >= (2,6,0):
def swig_import_helper():
from os.path import dirname
import imp
try:
fp, pathname, description = imp.find_module('_tinyWRAP', [dirname(__file__)])
_mod = imp.load_module('_tinyWRAP', fp, pathname, description)
finally:
if fp is not None: fp.close()
return _mod
_tinyWRAP = swig_import_helper()
del swig_import_helper
else:
import _tinyWRAP
del version_info
try:
_swig_property = property
except NameError:
pass # Python < 2.2 doesn't have 'property'.
def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
if (name == "thisown"): return self.this.own(value)
if (name == "this"):
if type(value).__name__ == 'SwigPyObject':
self.__dict__[name] = value
return
method = class_type.__swig_setmethods__.get(name,None)
if method: return method(self,value)
if (not static) or hasattr(self,name):
self.__dict__[name] = value
else:
raise AttributeError("You cannot add attributes to %s" % self)
def _swig_setattr(self,class_type,name,value):
return _swig_setattr_nondynamic(self,class_type,name,value,0)
def _swig_getattr(self,class_type,name):
if (name == "thisown"): return self.this.own()
method = class_type.__swig_getmethods__.get(name,None)
if method: return method(self)
raise AttributeError(name)
def _swig_repr(self):
try: strthis = "proxy of " + self.this.__repr__()
except: strthis = ""
return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
try:
_object = object
_newclass = 1
except AttributeError:
class _object : pass
_newclass = 0
try:
import weakref
weakref_proxy = weakref.proxy
except:
weakref_proxy = lambda x: x
class SipUri(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, SipUri, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, SipUri, name)
__repr__ = _swig_repr
def __init__(self, *args):
this = _tinyWRAP.new_SipUri(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _tinyWRAP.delete_SipUri
__del__ = lambda self : None;
def isValid(self, *args): return _tinyWRAP.SipUri_isValid(self, *args)
SipUri_swigregister = _tinyWRAP.SipUri_swigregister
SipUri_swigregister(SipUri)
class SipEvent(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, SipEvent, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, SipEvent, name)
__repr__ = _swig_repr
def __init__(self):
this = _tinyWRAP.new_SipEvent()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _tinyWRAP.delete_SipEvent
__del__ = lambda self : None;
def getCode(self): return _tinyWRAP.SipEvent_getCode(self)
def getPhrase(self): return _tinyWRAP.SipEvent_getPhrase(self)
def getBaseSession(self): return _tinyWRAP.SipEvent_getBaseSession(self)
SipEvent_swigregister = _tinyWRAP.SipEvent_swigregister
SipEvent_swigregister(SipEvent)
class SipSession(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, SipSession, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, SipSession, name)
__repr__ = _swig_repr
def __init__(self, *args):
this = _tinyWRAP.new_SipSession(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _tinyWRAP.delete_SipSession
__del__ = lambda self : None;
def addHeader(self, *args): return _tinyWRAP.SipSession_addHeader(self, *args)
def removeHeader(self, *args): return _tinyWRAP.SipSession_removeHeader(self, *args)
def addCaps(self, *args): return _tinyWRAP.SipSession_addCaps(self, *args)
def removeCaps(self, *args): return _tinyWRAP.SipSession_removeCaps(self, *args)
def setExpires(self, *args): return _tinyWRAP.SipSession_setExpires(self, *args)
def setFromUri(self, *args): return _tinyWRAP.SipSession_setFromUri(self, *args)
def setToUri(self, *args): return _tinyWRAP.SipSession_setToUri(self, *args)
def setPayload(self, *args): return _tinyWRAP.SipSession_setPayload(self, *args)
SipSession_swigregister = _tinyWRAP.SipSession_swigregister
SipSession_swigregister(SipSession)
class RegistrationEvent(SipEvent):
__swig_setmethods__ = {}
for _s in [SipEvent]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, RegistrationEvent, name, value)
__swig_getmethods__ = {}
for _s in [SipEvent]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, RegistrationEvent, name)
__repr__ = _swig_repr
def __init__(self):
this = _tinyWRAP.new_RegistrationEvent()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _tinyWRAP.delete_RegistrationEvent
__del__ = lambda self : None;
def getType(self): return _tinyWRAP.RegistrationEvent_getType(self)
def getSession(self): return _tinyWRAP.RegistrationEvent_getSession(self)
RegistrationEvent_swigregister = _tinyWRAP.RegistrationEvent_swigregister
RegistrationEvent_swigregister(RegistrationEvent)
class RegistrationSession(SipSession):
__swig_setmethods__ = {}
for _s in [SipSession]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, RegistrationSession, name, value)
__swig_getmethods__ = {}
for _s in [SipSession]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, RegistrationSession, name)
__repr__ = _swig_repr
def __init__(self, *args):
this = _tinyWRAP.new_RegistrationSession(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _tinyWRAP.delete_RegistrationSession
__del__ = lambda self : None;
def Register(self): return _tinyWRAP.RegistrationSession_Register(self)
def UnRegister(self): return _tinyWRAP.RegistrationSession_UnRegister(self)
RegistrationSession_swigregister = _tinyWRAP.RegistrationSession_swigregister
RegistrationSession_swigregister(RegistrationSession)
class SubscriptionEvent(SipEvent):
__swig_setmethods__ = {}
for _s in [SipEvent]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, SubscriptionEvent, name, value)
__swig_getmethods__ = {}
for _s in [SipEvent]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, SubscriptionEvent, name)
__repr__ = _swig_repr
def __init__(self):
this = _tinyWRAP.new_SubscriptionEvent()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _tinyWRAP.delete_SubscriptionEvent
__del__ = lambda self : None;
def getType(self): return _tinyWRAP.SubscriptionEvent_getType(self)
def getSession(self): return _tinyWRAP.SubscriptionEvent_getSession(self)
SubscriptionEvent_swigregister = _tinyWRAP.SubscriptionEvent_swigregister
SubscriptionEvent_swigregister(SubscriptionEvent)
class SubscriptionSession(SipSession):
__swig_setmethods__ = {}
for _s in [SipSession]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, SubscriptionSession, name, value)
__swig_getmethods__ = {}
for _s in [SipSession]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, SubscriptionSession, name)
__repr__ = _swig_repr
def __init__(self, *args):
this = _tinyWRAP.new_SubscriptionSession(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _tinyWRAP.delete_SubscriptionSession
__del__ = lambda self : None;
def Subscribe(self): return _tinyWRAP.SubscriptionSession_Subscribe(self)
def UnSubscribe(self): return _tinyWRAP.SubscriptionSession_UnSubscribe(self)
SubscriptionSession_swigregister = _tinyWRAP.SubscriptionSession_swigregister
SubscriptionSession_swigregister(SubscriptionSession)
class SipCallback(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, SipCallback, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, SipCallback, name)
__repr__ = _swig_repr
def __init__(self):
if self.__class__ == SipCallback:
_self = None
else:
_self = self
this = _tinyWRAP.new_SipCallback(_self, )
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _tinyWRAP.delete_SipCallback
__del__ = lambda self : None;
def OnRegistrationChanged(self, *args): return _tinyWRAP.SipCallback_OnRegistrationChanged(self, *args)
def OnSubscriptionChanged(self, *args): return _tinyWRAP.SipCallback_OnSubscriptionChanged(self, *args)
def __disown__(self):
self.this.disown()
_tinyWRAP.disown_SipCallback(self)
return weakref_proxy(self)
SipCallback_swigregister = _tinyWRAP.SipCallback_swigregister
SipCallback_swigregister(SipCallback)
class SipDebugCallback(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, SipDebugCallback, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, SipDebugCallback, name)
__repr__ = _swig_repr
def __init__(self):
if self.__class__ == SipDebugCallback:
_self = None
else:
_self = self
this = _tinyWRAP.new_SipDebugCallback(_self, )
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _tinyWRAP.delete_SipDebugCallback
__del__ = lambda self : None;
def OnDebugInfo(self, *args): return _tinyWRAP.SipDebugCallback_OnDebugInfo(self, *args)
def OnDebugWarn(self, *args): return _tinyWRAP.SipDebugCallback_OnDebugWarn(self, *args)
def OnDebugError(self, *args): return _tinyWRAP.SipDebugCallback_OnDebugError(self, *args)
def OnDebugFatal(self, *args): return _tinyWRAP.SipDebugCallback_OnDebugFatal(self, *args)
def __disown__(self):
self.this.disown()
_tinyWRAP.disown_SipDebugCallback(self)
return weakref_proxy(self)
SipDebugCallback_swigregister = _tinyWRAP.SipDebugCallback_swigregister
SipDebugCallback_swigregister(SipDebugCallback)
class SafeObject(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, SafeObject, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, SafeObject, name)
__repr__ = _swig_repr
def __init__(self):
this = _tinyWRAP.new_SafeObject()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _tinyWRAP.delete_SafeObject
__del__ = lambda self : None;
def Lock(self): return _tinyWRAP.SafeObject_Lock(self)
def UnLock(self): return _tinyWRAP.SafeObject_UnLock(self)
SafeObject_swigregister = _tinyWRAP.SafeObject_swigregister
SafeObject_swigregister(SafeObject)
class SipStack(SafeObject):
__swig_setmethods__ = {}
for _s in [SafeObject]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, SipStack, name, value)
__swig_getmethods__ = {}
for _s in [SafeObject]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, SipStack, name)
__repr__ = _swig_repr
def __init__(self, *args):
this = _tinyWRAP.new_SipStack(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _tinyWRAP.delete_SipStack
__del__ = lambda self : None;
def start(self): return _tinyWRAP.SipStack_start(self)
def setDebugCallback(self, *args): return _tinyWRAP.SipStack_setDebugCallback(self, *args)
def setRealm(self, *args): return _tinyWRAP.SipStack_setRealm(self, *args)
def setIMPI(self, *args): return _tinyWRAP.SipStack_setIMPI(self, *args)
def setIMPU(self, *args): return _tinyWRAP.SipStack_setIMPU(self, *args)
def setPassword(self, *args): return _tinyWRAP.SipStack_setPassword(self, *args)
def setProxyCSCF(self, *args): return _tinyWRAP.SipStack_setProxyCSCF(self, *args)
def setLocalIP(self, *args): return _tinyWRAP.SipStack_setLocalIP(self, *args)
def setLocalPort(self, *args): return _tinyWRAP.SipStack_setLocalPort(self, *args)
def setEarlyIMS(self, *args): return _tinyWRAP.SipStack_setEarlyIMS(self, *args)
def addHeader(self, *args): return _tinyWRAP.SipStack_addHeader(self, *args)
def removeHeader(self, *args): return _tinyWRAP.SipStack_removeHeader(self, *args)
def addDnsServer(self, *args): return _tinyWRAP.SipStack_addDnsServer(self, *args)
def isValid(self): return _tinyWRAP.SipStack_isValid(self)
def stop(self): return _tinyWRAP.SipStack_stop(self)
SipStack_swigregister = _tinyWRAP.SipStack_swigregister
SipStack_swigregister(SipStack)
tsip_event_invite = _tinyWRAP.tsip_event_invite
tsip_event_message = _tinyWRAP.tsip_event_message
tsip_event_options = _tinyWRAP.tsip_event_options
tsip_event_publish = _tinyWRAP.tsip_event_publish
tsip_event_register = _tinyWRAP.tsip_event_register
tsip_event_subscribe = _tinyWRAP.tsip_event_subscribe
tsip_event_dialog = _tinyWRAP.tsip_event_dialog
tsip_i_register = _tinyWRAP.tsip_i_register
tsip_ai_register = _tinyWRAP.tsip_ai_register
tsip_o_register = _tinyWRAP.tsip_o_register
tsip_ao_register = _tinyWRAP.tsip_ao_register
tsip_i_unregister = _tinyWRAP.tsip_i_unregister
tsip_ai_unregister = _tinyWRAP.tsip_ai_unregister
tsip_o_unregister = _tinyWRAP.tsip_o_unregister
tsip_ao_unregister = _tinyWRAP.tsip_ao_unregister
tsip_i_subscribe = _tinyWRAP.tsip_i_subscribe
tsip_ai_subscribe = _tinyWRAP.tsip_ai_subscribe
tsip_o_subscribe = _tinyWRAP.tsip_o_subscribe
tsip_ao_subscribe = _tinyWRAP.tsip_ao_subscribe
tsip_i_unsubscribe = _tinyWRAP.tsip_i_unsubscribe
tsip_ai_unsubscribe = _tinyWRAP.tsip_ai_unsubscribe
tsip_o_unsubscribe = _tinyWRAP.tsip_o_unsubscribe
tsip_ao_unsubscribe = _tinyWRAP.tsip_ao_unsubscribe
tsip_i_notify = _tinyWRAP.tsip_i_notify
tsip_ai_notify = _tinyWRAP.tsip_ai_notify
tsip_o_notify = _tinyWRAP.tsip_o_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).
* Version 1.3.39
*
* This file is not intended to be easily readable and contains a number of
* coding conventions designed to improve portability and efficiency. Do not make
* changes to this file unless you know what you are doing--modify the SWIG
* interface file instead.
* ----------------------------------------------------------------------------- */
#ifndef SWIG_tinyWRAP_WRAP_H_
#define SWIG_tinyWRAP_WRAP_H_
#include <map>
#include <string>
class SwigDirector_SipCallback : public SipCallback, public Swig::Director {
public:
SwigDirector_SipCallback(PyObject *self);
virtual ~SwigDirector_SipCallback();
virtual int OnRegistrationChanged(RegistrationEvent const *e);
virtual int OnSubscriptionChanged(SubscriptionEvent const *e);
/* Internal Director utilities */
public:
bool swig_get_inner(const char* name) const {
std::map<std::string, bool>::const_iterator iv = inner.find(name);
return (iv != inner.end() ? iv->second : false);
}
void swig_set_inner(const char* name, bool val) const
{ inner[name] = val;}
private:
mutable std::map<std::string, bool> inner;
#if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
/* VTable implementation */
PyObject *swig_get_method(size_t method_index, const char *method_name) const {
PyObject *method = vtable[method_index];
if (!method) {
swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name);
method = PyObject_GetAttr(swig_get_self(), name);
if (method == NULL) {
std::string msg = "Method in class SipCallback doesn't exist, undefined ";
msg += method_name;
Swig::DirectorMethodException::raise(msg.c_str());
}
vtable[method_index] = method;
};
return method;
}
private:
mutable swig::SwigVar_PyObject vtable[2];
#endif
};
class SwigDirector_SipDebugCallback : public SipDebugCallback, public Swig::Director {
public:
SwigDirector_SipDebugCallback(PyObject *self);
virtual ~SwigDirector_SipDebugCallback();
virtual int OnDebugInfo(char const *message);
virtual int OnDebugWarn(char const *message);
virtual int OnDebugError(char const *message);
virtual int OnDebugFatal(char const *message);
/* Internal Director utilities */
public:
bool swig_get_inner(const char* name) const {
std::map<std::string, bool>::const_iterator iv = inner.find(name);
return (iv != inner.end() ? iv->second : false);
}
void swig_set_inner(const char* name, bool val) const
{ inner[name] = val;}
private:
mutable std::map<std::string, bool> inner;
#if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
/* VTable implementation */
PyObject *swig_get_method(size_t method_index, const char *method_name) const {
PyObject *method = vtable[method_index];
if (!method) {
swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name);
method = PyObject_GetAttr(swig_get_self(), name);
if (method == NULL) {
std::string msg = "Method in class SipDebugCallback doesn't exist, undefined ";
msg += method_name;
Swig::DirectorMethodException::raise(msg.c_str());
}
vtable[method_index] = method;
};
return method;
}
private:
mutable swig::SwigVar_PyObject vtable[4];
#endif
};
#endif
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39
*
* This file is not intended to be easily readable and contains a number of
* coding conventions designed to improve portability and efficiency. Do not make
* changes to this file unless you know what you are doing--modify the SWIG
* interface file instead.
* ----------------------------------------------------------------------------- */
#ifndef SWIG_tinyWRAP_WRAP_H_
#define SWIG_tinyWRAP_WRAP_H_
#include <map>
#include <string>
class SwigDirector_SipCallback : public SipCallback, public Swig::Director {
public:
SwigDirector_SipCallback(PyObject *self);
virtual ~SwigDirector_SipCallback();
virtual int OnRegistrationChanged(RegistrationEvent const *e);
virtual int OnSubscriptionChanged(SubscriptionEvent const *e);
/* Internal Director utilities */
public:
bool swig_get_inner(const char* name) const {
std::map<std::string, bool>::const_iterator iv = inner.find(name);
return (iv != inner.end() ? iv->second : false);
}
void swig_set_inner(const char* name, bool val) const
{ inner[name] = val;}
private:
mutable std::map<std::string, bool> inner;
#if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
/* VTable implementation */
PyObject *swig_get_method(size_t method_index, const char *method_name) const {
PyObject *method = vtable[method_index];
if (!method) {
swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name);
method = PyObject_GetAttr(swig_get_self(), name);
if (method == NULL) {
std::string msg = "Method in class SipCallback doesn't exist, undefined ";
msg += method_name;
Swig::DirectorMethodException::raise(msg.c_str());
}
vtable[method_index] = method;
};
return method;
}
private:
mutable swig::SwigVar_PyObject vtable[2];
#endif
};
class SwigDirector_SipDebugCallback : public SipDebugCallback, public Swig::Director {
public:
SwigDirector_SipDebugCallback(PyObject *self);
virtual ~SwigDirector_SipDebugCallback();
virtual int OnDebugInfo(char const *message);
virtual int OnDebugWarn(char const *message);
virtual int OnDebugError(char const *message);
virtual int OnDebugFatal(char const *message);
/* Internal Director utilities */
public:
bool swig_get_inner(const char* name) const {
std::map<std::string, bool>::const_iterator iv = inner.find(name);
return (iv != inner.end() ? iv->second : false);
}
void swig_set_inner(const char* name, bool val) const
{ inner[name] = val;}
private:
mutable std::map<std::string, bool> inner;
#if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
/* VTable implementation */
PyObject *swig_get_method(size_t method_index, const char *method_name) const {
PyObject *method = vtable[method_index];
if (!method) {
swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name);
method = PyObject_GetAttr(swig_get_self(), name);
if (method == NULL) {
std::string msg = "Method in class SipDebugCallback doesn't exist, undefined ";
msg += method_name;
Swig::DirectorMethodException::raise(msg.c_str());
}
vtable[method_index] = method;
};
return method;
}
private:
mutable swig::SwigVar_PyObject vtable[4];
#endif
};
#endif

View File

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

View File

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