Improve C# support. Rename properties like C#-style
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16520 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
83bae735d8
commit
677246547b
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 1.3.35
|
||||
* Version 1.3.40
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 1.3.35
|
||||
* Version 1.3.40
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
@ -184,23 +184,23 @@ class ESLPINVOKE {
|
|||
static protected SWIGStringHelper swigStringHelper = new SWIGStringHelper();
|
||||
|
||||
|
||||
[DllImport("ESL", EntryPoint="CSharp_ESLevent_event_set")]
|
||||
public static extern void ESLevent_event_set(HandleRef jarg1, HandleRef jarg2);
|
||||
[DllImport("ESL", EntryPoint="CSharp_ESLevent_Event_set")]
|
||||
public static extern void ESLevent_Event_set(HandleRef jarg1, HandleRef jarg2);
|
||||
|
||||
[DllImport("ESL", EntryPoint="CSharp_ESLevent_event_get")]
|
||||
public static extern IntPtr ESLevent_event_get(HandleRef jarg1);
|
||||
[DllImport("ESL", EntryPoint="CSharp_ESLevent_Event_get")]
|
||||
public static extern IntPtr ESLevent_Event_get(HandleRef jarg1);
|
||||
|
||||
[DllImport("ESL", EntryPoint="CSharp_ESLevent_serialized_string_set")]
|
||||
public static extern void ESLevent_serialized_string_set(HandleRef jarg1, string jarg2);
|
||||
[DllImport("ESL", EntryPoint="CSharp_ESLevent_SerializedString_set")]
|
||||
public static extern void ESLevent_SerializedString_set(HandleRef jarg1, string jarg2);
|
||||
|
||||
[DllImport("ESL", EntryPoint="CSharp_ESLevent_serialized_string_get")]
|
||||
public static extern string ESLevent_serialized_string_get(HandleRef jarg1);
|
||||
[DllImport("ESL", EntryPoint="CSharp_ESLevent_SerializedString_get")]
|
||||
public static extern string ESLevent_SerializedString_get(HandleRef jarg1);
|
||||
|
||||
[DllImport("ESL", EntryPoint="CSharp_ESLevent_mine_set")]
|
||||
public static extern void ESLevent_mine_set(HandleRef jarg1, int jarg2);
|
||||
[DllImport("ESL", EntryPoint="CSharp_ESLevent_Mine_set")]
|
||||
public static extern void ESLevent_Mine_set(HandleRef jarg1, int jarg2);
|
||||
|
||||
[DllImport("ESL", EntryPoint="CSharp_ESLevent_mine_get")]
|
||||
public static extern int ESLevent_mine_get(HandleRef jarg1);
|
||||
[DllImport("ESL", EntryPoint="CSharp_ESLevent_Mine_get")]
|
||||
public static extern int ESLevent_Mine_get(HandleRef jarg1);
|
||||
|
||||
[DllImport("ESL", EntryPoint="CSharp_new_ESLevent__SWIG_0")]
|
||||
public static extern IntPtr new_ESLevent__SWIG_0(string jarg1, string jarg2);
|
||||
|
@ -214,35 +214,35 @@ class ESLPINVOKE {
|
|||
[DllImport("ESL", EntryPoint="CSharp_delete_ESLevent")]
|
||||
public static extern void delete_ESLevent(HandleRef jarg1);
|
||||
|
||||
[DllImport("ESL", EntryPoint="CSharp_ESLevent_serialize")]
|
||||
public static extern string ESLevent_serialize(HandleRef jarg1, string jarg2);
|
||||
[DllImport("ESL", EntryPoint="CSharp_ESLevent_Serialize")]
|
||||
public static extern string ESLevent_Serialize(HandleRef jarg1, string jarg2);
|
||||
|
||||
[DllImport("ESL", EntryPoint="CSharp_ESLevent_setPriority")]
|
||||
public static extern bool ESLevent_setPriority(HandleRef jarg1, HandleRef jarg2);
|
||||
[DllImport("ESL", EntryPoint="CSharp_ESLevent_SetPriority")]
|
||||
public static extern bool ESLevent_SetPriority(HandleRef jarg1, HandleRef jarg2);
|
||||
|
||||
[DllImport("ESL", EntryPoint="CSharp_ESLevent_getHeader")]
|
||||
public static extern string ESLevent_getHeader(HandleRef jarg1, string jarg2);
|
||||
[DllImport("ESL", EntryPoint="CSharp_ESLevent_GetHeader")]
|
||||
public static extern string ESLevent_GetHeader(HandleRef jarg1, string jarg2);
|
||||
|
||||
[DllImport("ESL", EntryPoint="CSharp_ESLevent_getBody")]
|
||||
public static extern string ESLevent_getBody(HandleRef jarg1);
|
||||
[DllImport("ESL", EntryPoint="CSharp_ESLevent_GetBody")]
|
||||
public static extern string ESLevent_GetBody(HandleRef jarg1);
|
||||
|
||||
[DllImport("ESL", EntryPoint="CSharp_ESLevent_getType")]
|
||||
public static extern string ESLevent_getType(HandleRef jarg1);
|
||||
|
||||
[DllImport("ESL", EntryPoint="CSharp_ESLevent_addBody")]
|
||||
public static extern bool ESLevent_addBody(HandleRef jarg1, string jarg2);
|
||||
[DllImport("ESL", EntryPoint="CSharp_ESLevent_AddBody")]
|
||||
public static extern bool ESLevent_AddBody(HandleRef jarg1, string jarg2);
|
||||
|
||||
[DllImport("ESL", EntryPoint="CSharp_ESLevent_addHeader")]
|
||||
public static extern bool ESLevent_addHeader(HandleRef jarg1, string jarg2, string jarg3);
|
||||
[DllImport("ESL", EntryPoint="CSharp_ESLevent_AddHeader")]
|
||||
public static extern bool ESLevent_AddHeader(HandleRef jarg1, string jarg2, string jarg3);
|
||||
|
||||
[DllImport("ESL", EntryPoint="CSharp_ESLevent_delHeader")]
|
||||
public static extern bool ESLevent_delHeader(HandleRef jarg1, string jarg2);
|
||||
[DllImport("ESL", EntryPoint="CSharp_ESLevent_DelHeader")]
|
||||
public static extern bool ESLevent_DelHeader(HandleRef jarg1, string jarg2);
|
||||
|
||||
[DllImport("ESL", EntryPoint="CSharp_ESLevent_firstHeader")]
|
||||
public static extern string ESLevent_firstHeader(HandleRef jarg1);
|
||||
[DllImport("ESL", EntryPoint="CSharp_ESLevent_FirstHeader")]
|
||||
public static extern string ESLevent_FirstHeader(HandleRef jarg1);
|
||||
|
||||
[DllImport("ESL", EntryPoint="CSharp_ESLevent_nextHeader")]
|
||||
public static extern string ESLevent_nextHeader(HandleRef jarg1);
|
||||
[DllImport("ESL", EntryPoint="CSharp_ESLevent_NextHeader")]
|
||||
public static extern string ESLevent_NextHeader(HandleRef jarg1);
|
||||
|
||||
[DllImport("ESL", EntryPoint="CSharp_new_ESLconnection__SWIG_0")]
|
||||
public static extern IntPtr new_ESLconnection__SWIG_0(string jarg1, string jarg2, string jarg3, string jarg4);
|
||||
|
@ -256,56 +256,56 @@ class ESLPINVOKE {
|
|||
[DllImport("ESL", EntryPoint="CSharp_delete_ESLconnection")]
|
||||
public static extern void delete_ESLconnection(HandleRef jarg1);
|
||||
|
||||
[DllImport("ESL", EntryPoint="CSharp_ESLconnection_socketDescriptor")]
|
||||
public static extern int ESLconnection_socketDescriptor(HandleRef jarg1);
|
||||
[DllImport("ESL", EntryPoint="CSharp_ESLconnection_SocketDescriptor")]
|
||||
public static extern int ESLconnection_SocketDescriptor(HandleRef jarg1);
|
||||
|
||||
[DllImport("ESL", EntryPoint="CSharp_ESLconnection_connected")]
|
||||
public static extern int ESLconnection_connected(HandleRef jarg1);
|
||||
[DllImport("ESL", EntryPoint="CSharp_ESLconnection_Connected")]
|
||||
public static extern int ESLconnection_Connected(HandleRef jarg1);
|
||||
|
||||
[DllImport("ESL", EntryPoint="CSharp_ESLconnection_getInfo")]
|
||||
public static extern IntPtr ESLconnection_getInfo(HandleRef jarg1);
|
||||
[DllImport("ESL", EntryPoint="CSharp_ESLconnection_GetInfo")]
|
||||
public static extern IntPtr ESLconnection_GetInfo(HandleRef jarg1);
|
||||
|
||||
[DllImport("ESL", EntryPoint="CSharp_ESLconnection_send")]
|
||||
public static extern int ESLconnection_send(HandleRef jarg1, string jarg2);
|
||||
[DllImport("ESL", EntryPoint="CSharp_ESLconnection_Send")]
|
||||
public static extern int ESLconnection_Send(HandleRef jarg1, string jarg2);
|
||||
|
||||
[DllImport("ESL", EntryPoint="CSharp_ESLconnection_sendRecv")]
|
||||
public static extern IntPtr ESLconnection_sendRecv(HandleRef jarg1, string jarg2);
|
||||
[DllImport("ESL", EntryPoint="CSharp_ESLconnection_SendRecv")]
|
||||
public static extern IntPtr ESLconnection_SendRecv(HandleRef jarg1, string jarg2);
|
||||
|
||||
[DllImport("ESL", EntryPoint="CSharp_ESLconnection_api")]
|
||||
public static extern IntPtr ESLconnection_api(HandleRef jarg1, string jarg2, string jarg3);
|
||||
[DllImport("ESL", EntryPoint="CSharp_ESLconnection_Api")]
|
||||
public static extern IntPtr ESLconnection_Api(HandleRef jarg1, string jarg2, string jarg3);
|
||||
|
||||
[DllImport("ESL", EntryPoint="CSharp_ESLconnection_bgapi")]
|
||||
public static extern IntPtr ESLconnection_bgapi(HandleRef jarg1, string jarg2, string jarg3);
|
||||
[DllImport("ESL", EntryPoint="CSharp_ESLconnection_Bgapi")]
|
||||
public static extern IntPtr ESLconnection_Bgapi(HandleRef jarg1, string jarg2, string jarg3);
|
||||
|
||||
[DllImport("ESL", EntryPoint="CSharp_ESLconnection_sendEvent")]
|
||||
public static extern int ESLconnection_sendEvent(HandleRef jarg1, HandleRef jarg2);
|
||||
[DllImport("ESL", EntryPoint="CSharp_ESLconnection_SendEvent")]
|
||||
public static extern int ESLconnection_SendEvent(HandleRef jarg1, HandleRef jarg2);
|
||||
|
||||
[DllImport("ESL", EntryPoint="CSharp_ESLconnection_recvEvent")]
|
||||
public static extern IntPtr ESLconnection_recvEvent(HandleRef jarg1);
|
||||
[DllImport("ESL", EntryPoint="CSharp_ESLconnection_RecvEvent")]
|
||||
public static extern IntPtr ESLconnection_RecvEvent(HandleRef jarg1);
|
||||
|
||||
[DllImport("ESL", EntryPoint="CSharp_ESLconnection_recvEventTimed")]
|
||||
public static extern IntPtr ESLconnection_recvEventTimed(HandleRef jarg1, int jarg2);
|
||||
[DllImport("ESL", EntryPoint="CSharp_ESLconnection_RecvEventTimed")]
|
||||
public static extern IntPtr ESLconnection_RecvEventTimed(HandleRef jarg1, int jarg2);
|
||||
|
||||
[DllImport("ESL", EntryPoint="CSharp_ESLconnection_filter")]
|
||||
public static extern IntPtr ESLconnection_filter(HandleRef jarg1, string jarg2, string jarg3);
|
||||
[DllImport("ESL", EntryPoint="CSharp_ESLconnection_Filter")]
|
||||
public static extern IntPtr ESLconnection_Filter(HandleRef jarg1, string jarg2, string jarg3);
|
||||
|
||||
[DllImport("ESL", EntryPoint="CSharp_ESLconnection_events")]
|
||||
public static extern int ESLconnection_events(HandleRef jarg1, string jarg2, string jarg3);
|
||||
[DllImport("ESL", EntryPoint="CSharp_ESLconnection_Events")]
|
||||
public static extern int ESLconnection_Events(HandleRef jarg1, string jarg2, string jarg3);
|
||||
|
||||
[DllImport("ESL", EntryPoint="CSharp_ESLconnection_execute")]
|
||||
public static extern IntPtr ESLconnection_execute(HandleRef jarg1, string jarg2, string jarg3, string jarg4);
|
||||
[DllImport("ESL", EntryPoint="CSharp_ESLconnection_Execute")]
|
||||
public static extern IntPtr ESLconnection_Execute(HandleRef jarg1, string jarg2, string jarg3, string jarg4);
|
||||
|
||||
[DllImport("ESL", EntryPoint="CSharp_ESLconnection_executeAsync")]
|
||||
public static extern IntPtr ESLconnection_executeAsync(HandleRef jarg1, string jarg2, string jarg3, string jarg4);
|
||||
[DllImport("ESL", EntryPoint="CSharp_ESLconnection_ExecuteAsync")]
|
||||
public static extern IntPtr ESLconnection_ExecuteAsync(HandleRef jarg1, string jarg2, string jarg3, string jarg4);
|
||||
|
||||
[DllImport("ESL", EntryPoint="CSharp_ESLconnection_setAsyncExecute")]
|
||||
public static extern int ESLconnection_setAsyncExecute(HandleRef jarg1, string jarg2);
|
||||
[DllImport("ESL", EntryPoint="CSharp_ESLconnection_SetAsyncExecute")]
|
||||
public static extern int ESLconnection_SetAsyncExecute(HandleRef jarg1, string jarg2);
|
||||
|
||||
[DllImport("ESL", EntryPoint="CSharp_ESLconnection_setEventLock")]
|
||||
public static extern int ESLconnection_setEventLock(HandleRef jarg1, string jarg2);
|
||||
[DllImport("ESL", EntryPoint="CSharp_ESLconnection_SetEventLock")]
|
||||
public static extern int ESLconnection_SetEventLock(HandleRef jarg1, string jarg2);
|
||||
|
||||
[DllImport("ESL", EntryPoint="CSharp_ESLconnection_disconnect")]
|
||||
public static extern int ESLconnection_disconnect(HandleRef jarg1);
|
||||
[DllImport("ESL", EntryPoint="CSharp_ESLconnection_Disconnect")]
|
||||
public static extern int ESLconnection_Disconnect(HandleRef jarg1);
|
||||
|
||||
[DllImport("ESL", EntryPoint="CSharp_eslSetLogLevel")]
|
||||
public static extern void eslSetLogLevel(int jarg1);
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 1.3.35
|
||||
* Version 1.3.40
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
@ -29,11 +29,13 @@ public class ESLconnection : IDisposable {
|
|||
|
||||
public virtual void Dispose() {
|
||||
lock(this) {
|
||||
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
ESLPINVOKE.delete_ESLconnection(swigCPtr);
|
||||
if (swigCPtr.Handle != IntPtr.Zero) {
|
||||
if (swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
ESLPINVOKE.delete_ESLconnection(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
GC.SuppressFinalize(this);
|
||||
}
|
||||
}
|
||||
|
@ -47,97 +49,97 @@ public class ESLconnection : IDisposable {
|
|||
public ESLconnection(int socket) : this(ESLPINVOKE.new_ESLconnection__SWIG_2(socket), true) {
|
||||
}
|
||||
|
||||
public int socketDescriptor() {
|
||||
int ret = ESLPINVOKE.ESLconnection_socketDescriptor(swigCPtr);
|
||||
public int SocketDescriptor() {
|
||||
int ret = ESLPINVOKE.ESLconnection_SocketDescriptor(swigCPtr);
|
||||
return ret;
|
||||
}
|
||||
|
||||
public int connected() {
|
||||
int ret = ESLPINVOKE.ESLconnection_connected(swigCPtr);
|
||||
public int Connected() {
|
||||
int ret = ESLPINVOKE.ESLconnection_Connected(swigCPtr);
|
||||
return ret;
|
||||
}
|
||||
|
||||
public ESLevent getInfo() {
|
||||
IntPtr cPtr = ESLPINVOKE.ESLconnection_getInfo(swigCPtr);
|
||||
public ESLevent GetInfo() {
|
||||
IntPtr cPtr = ESLPINVOKE.ESLconnection_GetInfo(swigCPtr);
|
||||
ESLevent ret = (cPtr == IntPtr.Zero) ? null : new ESLevent(cPtr, true);
|
||||
return ret;
|
||||
}
|
||||
|
||||
public int send(string cmd) {
|
||||
int ret = ESLPINVOKE.ESLconnection_send(swigCPtr, cmd);
|
||||
public int Send(string cmd) {
|
||||
int ret = ESLPINVOKE.ESLconnection_Send(swigCPtr, cmd);
|
||||
return ret;
|
||||
}
|
||||
|
||||
public ESLevent sendRecv(string cmd) {
|
||||
IntPtr cPtr = ESLPINVOKE.ESLconnection_sendRecv(swigCPtr, cmd);
|
||||
public ESLevent SendRecv(string cmd) {
|
||||
IntPtr cPtr = ESLPINVOKE.ESLconnection_SendRecv(swigCPtr, cmd);
|
||||
ESLevent ret = (cPtr == IntPtr.Zero) ? null : new ESLevent(cPtr, true);
|
||||
return ret;
|
||||
}
|
||||
|
||||
public ESLevent api(string cmd, string arg) {
|
||||
IntPtr cPtr = ESLPINVOKE.ESLconnection_api(swigCPtr, cmd, arg);
|
||||
public ESLevent Api(string cmd, string arg) {
|
||||
IntPtr cPtr = ESLPINVOKE.ESLconnection_Api(swigCPtr, cmd, arg);
|
||||
ESLevent ret = (cPtr == IntPtr.Zero) ? null : new ESLevent(cPtr, true);
|
||||
return ret;
|
||||
}
|
||||
|
||||
public ESLevent bgapi(string cmd, string arg) {
|
||||
IntPtr cPtr = ESLPINVOKE.ESLconnection_bgapi(swigCPtr, cmd, arg);
|
||||
public ESLevent Bgapi(string cmd, string arg) {
|
||||
IntPtr cPtr = ESLPINVOKE.ESLconnection_Bgapi(swigCPtr, cmd, arg);
|
||||
ESLevent ret = (cPtr == IntPtr.Zero) ? null : new ESLevent(cPtr, true);
|
||||
return ret;
|
||||
}
|
||||
|
||||
public int sendEvent(ESLevent send_me) {
|
||||
int ret = ESLPINVOKE.ESLconnection_sendEvent(swigCPtr, ESLevent.getCPtr(send_me));
|
||||
public int SendEvent(ESLevent send_me) {
|
||||
int ret = ESLPINVOKE.ESLconnection_SendEvent(swigCPtr, ESLevent.getCPtr(send_me));
|
||||
return ret;
|
||||
}
|
||||
|
||||
public ESLevent recvEvent() {
|
||||
IntPtr cPtr = ESLPINVOKE.ESLconnection_recvEvent(swigCPtr);
|
||||
public ESLevent RecvEvent() {
|
||||
IntPtr cPtr = ESLPINVOKE.ESLconnection_RecvEvent(swigCPtr);
|
||||
ESLevent ret = (cPtr == IntPtr.Zero) ? null : new ESLevent(cPtr, true);
|
||||
return ret;
|
||||
}
|
||||
|
||||
public ESLevent recvEventTimed(int ms) {
|
||||
IntPtr cPtr = ESLPINVOKE.ESLconnection_recvEventTimed(swigCPtr, ms);
|
||||
public ESLevent RecvEventTimed(int ms) {
|
||||
IntPtr cPtr = ESLPINVOKE.ESLconnection_RecvEventTimed(swigCPtr, ms);
|
||||
ESLevent ret = (cPtr == IntPtr.Zero) ? null : new ESLevent(cPtr, true);
|
||||
return ret;
|
||||
}
|
||||
|
||||
public ESLevent filter(string header, string value) {
|
||||
IntPtr cPtr = ESLPINVOKE.ESLconnection_filter(swigCPtr, header, value);
|
||||
public ESLevent Filter(string header, string value) {
|
||||
IntPtr cPtr = ESLPINVOKE.ESLconnection_Filter(swigCPtr, header, value);
|
||||
ESLevent ret = (cPtr == IntPtr.Zero) ? null : new ESLevent(cPtr, true);
|
||||
return ret;
|
||||
}
|
||||
|
||||
public int events(string etype, string value) {
|
||||
int ret = ESLPINVOKE.ESLconnection_events(swigCPtr, etype, value);
|
||||
public int Events(string etype, string value) {
|
||||
int ret = ESLPINVOKE.ESLconnection_Events(swigCPtr, etype, value);
|
||||
return ret;
|
||||
}
|
||||
|
||||
public ESLevent execute(string app, string arg, string uuid) {
|
||||
IntPtr cPtr = ESLPINVOKE.ESLconnection_execute(swigCPtr, app, arg, uuid);
|
||||
public ESLevent Execute(string app, string arg, string uuid) {
|
||||
IntPtr cPtr = ESLPINVOKE.ESLconnection_Execute(swigCPtr, app, arg, uuid);
|
||||
ESLevent ret = (cPtr == IntPtr.Zero) ? null : new ESLevent(cPtr, true);
|
||||
return ret;
|
||||
}
|
||||
|
||||
public ESLevent executeAsync(string app, string arg, string uuid) {
|
||||
IntPtr cPtr = ESLPINVOKE.ESLconnection_executeAsync(swigCPtr, app, arg, uuid);
|
||||
public ESLevent ExecuteAsync(string app, string arg, string uuid) {
|
||||
IntPtr cPtr = ESLPINVOKE.ESLconnection_ExecuteAsync(swigCPtr, app, arg, uuid);
|
||||
ESLevent ret = (cPtr == IntPtr.Zero) ? null : new ESLevent(cPtr, true);
|
||||
return ret;
|
||||
}
|
||||
|
||||
public int setAsyncExecute(string val) {
|
||||
int ret = ESLPINVOKE.ESLconnection_setAsyncExecute(swigCPtr, val);
|
||||
public int SetAsyncExecute(string val) {
|
||||
int ret = ESLPINVOKE.ESLconnection_SetAsyncExecute(swigCPtr, val);
|
||||
return ret;
|
||||
}
|
||||
|
||||
public int setEventLock(string val) {
|
||||
int ret = ESLPINVOKE.ESLconnection_setEventLock(swigCPtr, val);
|
||||
public int SetEventLock(string val) {
|
||||
int ret = ESLPINVOKE.ESLconnection_SetEventLock(swigCPtr, val);
|
||||
return ret;
|
||||
}
|
||||
|
||||
public int disconnect() {
|
||||
int ret = ESLPINVOKE.ESLconnection_disconnect(swigCPtr);
|
||||
public int Disconnect() {
|
||||
int ret = ESLPINVOKE.ESLconnection_Disconnect(swigCPtr);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 1.3.35
|
||||
* Version 1.3.40
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
@ -29,42 +29,44 @@ public class ESLevent : IDisposable {
|
|||
|
||||
public virtual void Dispose() {
|
||||
lock(this) {
|
||||
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
ESLPINVOKE.delete_ESLevent(swigCPtr);
|
||||
if (swigCPtr.Handle != IntPtr.Zero) {
|
||||
if (swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
ESLPINVOKE.delete_ESLevent(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
GC.SuppressFinalize(this);
|
||||
}
|
||||
}
|
||||
|
||||
public SWIGTYPE_p_esl_event_t event {
|
||||
public SWIGTYPE_p_esl_event_t Event {
|
||||
set {
|
||||
ESLPINVOKE.ESLevent_event_set(swigCPtr, SWIGTYPE_p_esl_event_t.getCPtr(value));
|
||||
ESLPINVOKE.ESLevent_Event_set(swigCPtr, SWIGTYPE_p_esl_event_t.getCPtr(value));
|
||||
}
|
||||
get {
|
||||
IntPtr cPtr = ESLPINVOKE.ESLevent_event_get(swigCPtr);
|
||||
IntPtr cPtr = ESLPINVOKE.ESLevent_Event_get(swigCPtr);
|
||||
SWIGTYPE_p_esl_event_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_esl_event_t(cPtr, false);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
public string serialized_string {
|
||||
public string SerializedString {
|
||||
set {
|
||||
ESLPINVOKE.ESLevent_serialized_string_set(swigCPtr, value);
|
||||
ESLPINVOKE.ESLevent_SerializedString_set(swigCPtr, value);
|
||||
}
|
||||
get {
|
||||
string ret = ESLPINVOKE.ESLevent_serialized_string_get(swigCPtr);
|
||||
string ret = ESLPINVOKE.ESLevent_SerializedString_get(swigCPtr);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
public int mine {
|
||||
public int Mine {
|
||||
set {
|
||||
ESLPINVOKE.ESLevent_mine_set(swigCPtr, value);
|
||||
ESLPINVOKE.ESLevent_Mine_set(swigCPtr, value);
|
||||
}
|
||||
get {
|
||||
int ret = ESLPINVOKE.ESLevent_mine_get(swigCPtr);
|
||||
int ret = ESLPINVOKE.ESLevent_Mine_get(swigCPtr);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
@ -78,24 +80,24 @@ public class ESLevent : IDisposable {
|
|||
public ESLevent(ESLevent me) : this(ESLPINVOKE.new_ESLevent__SWIG_2(ESLevent.getCPtr(me)), true) {
|
||||
}
|
||||
|
||||
public string serialize(string format) {
|
||||
string ret = ESLPINVOKE.ESLevent_serialize(swigCPtr, format);
|
||||
public string Serialize(string format) {
|
||||
string ret = ESLPINVOKE.ESLevent_Serialize(swigCPtr, format);
|
||||
return ret;
|
||||
}
|
||||
|
||||
public bool setPriority(SWIGTYPE_p_esl_priority_t priority) {
|
||||
bool ret = ESLPINVOKE.ESLevent_setPriority(swigCPtr, SWIGTYPE_p_esl_priority_t.getCPtr(priority));
|
||||
public bool SetPriority(SWIGTYPE_p_esl_priority_t priority) {
|
||||
bool ret = ESLPINVOKE.ESLevent_SetPriority(swigCPtr, SWIGTYPE_p_esl_priority_t.getCPtr(priority));
|
||||
if (ESLPINVOKE.SWIGPendingException.Pending) throw ESLPINVOKE.SWIGPendingException.Retrieve();
|
||||
return ret;
|
||||
}
|
||||
|
||||
public string getHeader(string header_name) {
|
||||
string ret = ESLPINVOKE.ESLevent_getHeader(swigCPtr, header_name);
|
||||
public string GetHeader(string header_name) {
|
||||
string ret = ESLPINVOKE.ESLevent_GetHeader(swigCPtr, header_name);
|
||||
return ret;
|
||||
}
|
||||
|
||||
public string getBody() {
|
||||
string ret = ESLPINVOKE.ESLevent_getBody(swigCPtr);
|
||||
public string GetBody() {
|
||||
string ret = ESLPINVOKE.ESLevent_GetBody(swigCPtr);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
@ -104,28 +106,28 @@ public class ESLevent : IDisposable {
|
|||
return ret;
|
||||
}
|
||||
|
||||
public bool addBody(string value) {
|
||||
bool ret = ESLPINVOKE.ESLevent_addBody(swigCPtr, value);
|
||||
public bool AddBody(string value) {
|
||||
bool ret = ESLPINVOKE.ESLevent_AddBody(swigCPtr, value);
|
||||
return ret;
|
||||
}
|
||||
|
||||
public bool addHeader(string header_name, string value) {
|
||||
bool ret = ESLPINVOKE.ESLevent_addHeader(swigCPtr, header_name, value);
|
||||
public bool AddHeader(string header_name, string value) {
|
||||
bool ret = ESLPINVOKE.ESLevent_AddHeader(swigCPtr, header_name, value);
|
||||
return ret;
|
||||
}
|
||||
|
||||
public bool delHeader(string header_name) {
|
||||
bool ret = ESLPINVOKE.ESLevent_delHeader(swigCPtr, header_name);
|
||||
public bool DelHeader(string header_name) {
|
||||
bool ret = ESLPINVOKE.ESLevent_DelHeader(swigCPtr, header_name);
|
||||
return ret;
|
||||
}
|
||||
|
||||
public string firstHeader() {
|
||||
string ret = ESLPINVOKE.ESLevent_firstHeader(swigCPtr);
|
||||
public string FirstHeader() {
|
||||
string ret = ESLPINVOKE.ESLevent_FirstHeader(swigCPtr);
|
||||
return ret;
|
||||
}
|
||||
|
||||
public string nextHeader() {
|
||||
string ret = ESLPINVOKE.ESLevent_nextHeader(swigCPtr);
|
||||
public string NextHeader() {
|
||||
string ret = ESLPINVOKE.ESLevent_NextHeader(swigCPtr);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
|
@ -9,14 +9,14 @@ namespace ManagedEslTest
|
|||
// Connect to FreeSWITCH
|
||||
ESLconnection eslConnection = new ESLconnection("localhost", "8021", "ClueCon");
|
||||
// We want all Events (probably will want to change this depending on your needs)
|
||||
eslConnection.sendRecv("event plain ALL");
|
||||
eslConnection.SendRecv("event plain ALL");
|
||||
|
||||
|
||||
// Grab Events until process is killed
|
||||
while (eslConnection.connected() == 1)
|
||||
while (eslConnection.Connected() == 1)
|
||||
{
|
||||
ESLevent eslEvent = eslConnection.recvEvent();
|
||||
Console.WriteLine(eslEvent.serialize(String.Empty));
|
||||
ESLevent eslEvent = eslConnection.RecvEvent();
|
||||
Console.WriteLine(eslEvent.Serialize(String.Empty));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 1.3.35
|
||||
* Version 1.3.40
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 1.3.35
|
||||
* Version 1.3.40
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 1.3.35
|
||||
* Version 1.3.40
|
||||
*
|
||||
* 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
|
||||
|
@ -8,20 +8,25 @@
|
|||
* interface file instead.
|
||||
* ----------------------------------------------------------------------------- */
|
||||
|
||||
#define SWIGCSHARP
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
/* SwigValueWrapper is described in swig.swg */
|
||||
template<typename T> class SwigValueWrapper {
|
||||
T *tt;
|
||||
struct SwigMovePointer {
|
||||
T *ptr;
|
||||
SwigMovePointer(T *p) : ptr(p) { }
|
||||
~SwigMovePointer() { delete ptr; }
|
||||
SwigMovePointer& operator=(SwigMovePointer& rhs) { T* oldptr = ptr; ptr = 0; delete oldptr; ptr = rhs.ptr; rhs.ptr = 0; return *this; }
|
||||
} pointer;
|
||||
SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
|
||||
SwigValueWrapper(const SwigValueWrapper<T>& rhs);
|
||||
public:
|
||||
SwigValueWrapper() : tt(0) { }
|
||||
SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
|
||||
SwigValueWrapper(const T& t) : tt(new T(t)) { }
|
||||
~SwigValueWrapper() { delete tt; }
|
||||
SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
|
||||
operator T&() const { return *tt; }
|
||||
T *operator&() { return tt; }
|
||||
private:
|
||||
SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
|
||||
SwigValueWrapper() : pointer(0) { }
|
||||
SwigValueWrapper& operator=(const T& t) { SwigMovePointer tmp(new T(t)); pointer = tmp; return *this; }
|
||||
operator T&() const { return *pointer.ptr; }
|
||||
T *operator&() { return pointer.ptr; }
|
||||
};
|
||||
|
||||
template <typename T> T SwigValueInit() {
|
||||
|
@ -71,6 +76,12 @@ template <typename T> T SwigValueInit() {
|
|||
# endif
|
||||
#endif
|
||||
|
||||
#ifndef SWIG_MSC_UNSUPPRESS_4505
|
||||
# if defined(_MSC_VER)
|
||||
# pragma warning(disable : 4505) /* unreferenced local function has been removed */
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#ifndef SWIGUNUSEDPARM
|
||||
# ifdef __cplusplus
|
||||
# define SWIGUNUSEDPARM(p)
|
||||
|
@ -190,12 +201,12 @@ static SWIG_CSharpException_t SWIG_csharp_exceptions[] = {
|
|||
static SWIG_CSharpExceptionArgument_t SWIG_csharp_exceptions_argument[] = {
|
||||
{ SWIG_CSharpArgumentException, NULL },
|
||||
{ SWIG_CSharpArgumentNullException, NULL },
|
||||
{ SWIG_CSharpArgumentOutOfRangeException, NULL },
|
||||
{ SWIG_CSharpArgumentOutOfRangeException, NULL }
|
||||
};
|
||||
|
||||
static void SWIGUNUSED SWIG_CSharpSetPendingException(SWIG_CSharpExceptionCodes code, const char *msg) {
|
||||
SWIG_CSharpExceptionCallback_t callback = SWIG_csharp_exceptions[SWIG_CSharpApplicationException].callback;
|
||||
if (code >=0 && (size_t)code < sizeof(SWIG_csharp_exceptions)/sizeof(SWIG_CSharpException_t)) {
|
||||
if ((size_t)code < sizeof(SWIG_csharp_exceptions)/sizeof(SWIG_CSharpException_t)) {
|
||||
callback = SWIG_csharp_exceptions[code].callback;
|
||||
}
|
||||
callback(msg);
|
||||
|
@ -203,7 +214,7 @@ static void SWIGUNUSED SWIG_CSharpSetPendingException(SWIG_CSharpExceptionCodes
|
|||
|
||||
static void SWIGUNUSED SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpExceptionArgumentCodes code, const char *msg, const char *param_name) {
|
||||
SWIG_CSharpExceptionArgumentCallback_t callback = SWIG_csharp_exceptions_argument[SWIG_CSharpArgumentException].callback;
|
||||
if (code >=0 && (size_t)code < sizeof(SWIG_csharp_exceptions_argument)/sizeof(SWIG_CSharpExceptionArgument_t)) {
|
||||
if ((size_t)code < sizeof(SWIG_csharp_exceptions_argument)/sizeof(SWIG_CSharpExceptionArgument_t)) {
|
||||
callback = SWIG_csharp_exceptions_argument[code].callback;
|
||||
}
|
||||
callback(msg, param_name);
|
||||
|
@ -277,18 +288,17 @@ SWIGEXPORT void SWIGSTDCALL SWIGRegisterStringCallback_ESL(SWIG_CSharpStringHelp
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_ESLevent_event_set(void * jarg1, void * jarg2) {
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_ESLevent_Event_set(void * jarg1, void * jarg2) {
|
||||
ESLevent *arg1 = (ESLevent *) 0 ;
|
||||
esl_event_t *arg2 = (esl_event_t *) 0 ;
|
||||
|
||||
arg1 = (ESLevent *)jarg1;
|
||||
arg2 = (esl_event_t *)jarg2;
|
||||
if (arg1) (arg1)->event = arg2;
|
||||
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void * SWIGSTDCALL CSharp_ESLevent_event_get(void * jarg1) {
|
||||
SWIGEXPORT void * SWIGSTDCALL CSharp_ESLevent_Event_get(void * jarg1) {
|
||||
void * jresult ;
|
||||
ESLevent *arg1 = (ESLevent *) 0 ;
|
||||
esl_event_t *result = 0 ;
|
||||
|
@ -300,7 +310,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_ESLevent_event_get(void * jarg1) {
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_ESLevent_serialized_string_set(void * jarg1, char * jarg2) {
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_ESLevent_SerializedString_set(void * jarg1, char * jarg2) {
|
||||
ESLevent *arg1 = (ESLevent *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
|
||||
|
@ -318,7 +328,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_ESLevent_serialized_string_set(void * jarg1,
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT char * SWIGSTDCALL CSharp_ESLevent_serialized_string_get(void * jarg1) {
|
||||
SWIGEXPORT char * SWIGSTDCALL CSharp_ESLevent_SerializedString_get(void * jarg1) {
|
||||
char * jresult ;
|
||||
ESLevent *arg1 = (ESLevent *) 0 ;
|
||||
char *result = 0 ;
|
||||
|
@ -330,18 +340,17 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_ESLevent_serialized_string_get(void * jarg1
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_ESLevent_mine_set(void * jarg1, int jarg2) {
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_ESLevent_Mine_set(void * jarg1, int jarg2) {
|
||||
ESLevent *arg1 = (ESLevent *) 0 ;
|
||||
int arg2 ;
|
||||
|
||||
arg1 = (ESLevent *)jarg1;
|
||||
arg2 = (int)jarg2;
|
||||
if (arg1) (arg1)->mine = arg2;
|
||||
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_ESLevent_mine_get(void * jarg1) {
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_ESLevent_Mine_get(void * jarg1) {
|
||||
int jresult ;
|
||||
ESLevent *arg1 = (ESLevent *) 0 ;
|
||||
int result;
|
||||
|
@ -398,11 +407,10 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_ESLevent(void * jarg1) {
|
|||
|
||||
arg1 = (ESLevent *)jarg1;
|
||||
delete arg1;
|
||||
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT char * SWIGSTDCALL CSharp_ESLevent_serialize(void * jarg1, char * jarg2) {
|
||||
SWIGEXPORT char * SWIGSTDCALL CSharp_ESLevent_Serialize(void * jarg1, char * jarg2) {
|
||||
char * jresult ;
|
||||
ESLevent *arg1 = (ESLevent *) 0 ;
|
||||
char *arg2 = (char *) NULL ;
|
||||
|
@ -416,12 +424,12 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_ESLevent_serialize(void * jarg1, char * jar
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT unsigned int SWIGSTDCALL CSharp_ESLevent_setPriority(void * jarg1, void * jarg2) {
|
||||
SWIGEXPORT unsigned int SWIGSTDCALL CSharp_ESLevent_SetPriority(void * jarg1, void * jarg2) {
|
||||
unsigned int jresult ;
|
||||
ESLevent *arg1 = (ESLevent *) 0 ;
|
||||
esl_priority_t arg2 = (esl_priority_t) ESL_PRIORITY_NORMAL ;
|
||||
bool result;
|
||||
esl_priority_t *argp2 ;
|
||||
bool result;
|
||||
|
||||
arg1 = (ESLevent *)jarg1;
|
||||
argp2 = (esl_priority_t *)jarg2;
|
||||
|
@ -436,7 +444,7 @@ SWIGEXPORT unsigned int SWIGSTDCALL CSharp_ESLevent_setPriority(void * jarg1, vo
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT char * SWIGSTDCALL CSharp_ESLevent_getHeader(void * jarg1, char * jarg2) {
|
||||
SWIGEXPORT char * SWIGSTDCALL CSharp_ESLevent_GetHeader(void * jarg1, char * jarg2) {
|
||||
char * jresult ;
|
||||
ESLevent *arg1 = (ESLevent *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
|
@ -450,7 +458,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_ESLevent_getHeader(void * jarg1, char * jar
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT char * SWIGSTDCALL CSharp_ESLevent_getBody(void * jarg1) {
|
||||
SWIGEXPORT char * SWIGSTDCALL CSharp_ESLevent_GetBody(void * jarg1) {
|
||||
char * jresult ;
|
||||
ESLevent *arg1 = (ESLevent *) 0 ;
|
||||
char *result = 0 ;
|
||||
|
@ -474,7 +482,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_ESLevent_getType(void * jarg1) {
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT unsigned int SWIGSTDCALL CSharp_ESLevent_addBody(void * jarg1, char * jarg2) {
|
||||
SWIGEXPORT unsigned int SWIGSTDCALL CSharp_ESLevent_AddBody(void * jarg1, char * jarg2) {
|
||||
unsigned int jresult ;
|
||||
ESLevent *arg1 = (ESLevent *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
|
@ -488,7 +496,7 @@ SWIGEXPORT unsigned int SWIGSTDCALL CSharp_ESLevent_addBody(void * jarg1, char *
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT unsigned int SWIGSTDCALL CSharp_ESLevent_addHeader(void * jarg1, char * jarg2, char * jarg3) {
|
||||
SWIGEXPORT unsigned int SWIGSTDCALL CSharp_ESLevent_AddHeader(void * jarg1, char * jarg2, char * jarg3) {
|
||||
unsigned int jresult ;
|
||||
ESLevent *arg1 = (ESLevent *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
|
@ -504,7 +512,7 @@ SWIGEXPORT unsigned int SWIGSTDCALL CSharp_ESLevent_addHeader(void * jarg1, char
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT unsigned int SWIGSTDCALL CSharp_ESLevent_delHeader(void * jarg1, char * jarg2) {
|
||||
SWIGEXPORT unsigned int SWIGSTDCALL CSharp_ESLevent_DelHeader(void * jarg1, char * jarg2) {
|
||||
unsigned int jresult ;
|
||||
ESLevent *arg1 = (ESLevent *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
|
@ -518,7 +526,7 @@ SWIGEXPORT unsigned int SWIGSTDCALL CSharp_ESLevent_delHeader(void * jarg1, char
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT char * SWIGSTDCALL CSharp_ESLevent_firstHeader(void * jarg1) {
|
||||
SWIGEXPORT char * SWIGSTDCALL CSharp_ESLevent_FirstHeader(void * jarg1) {
|
||||
char * jresult ;
|
||||
ESLevent *arg1 = (ESLevent *) 0 ;
|
||||
char *result = 0 ;
|
||||
|
@ -530,7 +538,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_ESLevent_firstHeader(void * jarg1) {
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT char * SWIGSTDCALL CSharp_ESLevent_nextHeader(void * jarg1) {
|
||||
SWIGEXPORT char * SWIGSTDCALL CSharp_ESLevent_NextHeader(void * jarg1) {
|
||||
char * jresult ;
|
||||
ESLevent *arg1 = (ESLevent *) 0 ;
|
||||
char *result = 0 ;
|
||||
|
@ -593,11 +601,10 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_ESLconnection(void * jarg1) {
|
|||
|
||||
arg1 = (ESLconnection *)jarg1;
|
||||
delete arg1;
|
||||
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_ESLconnection_socketDescriptor(void * jarg1) {
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_ESLconnection_SocketDescriptor(void * jarg1) {
|
||||
int jresult ;
|
||||
ESLconnection *arg1 = (ESLconnection *) 0 ;
|
||||
int result;
|
||||
|
@ -609,7 +616,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_ESLconnection_socketDescriptor(void * jarg1) {
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_ESLconnection_connected(void * jarg1) {
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_ESLconnection_Connected(void * jarg1) {
|
||||
int jresult ;
|
||||
ESLconnection *arg1 = (ESLconnection *) 0 ;
|
||||
int result;
|
||||
|
@ -621,7 +628,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_ESLconnection_connected(void * jarg1) {
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT void * SWIGSTDCALL CSharp_ESLconnection_getInfo(void * jarg1) {
|
||||
SWIGEXPORT void * SWIGSTDCALL CSharp_ESLconnection_GetInfo(void * jarg1) {
|
||||
void * jresult ;
|
||||
ESLconnection *arg1 = (ESLconnection *) 0 ;
|
||||
ESLevent *result = 0 ;
|
||||
|
@ -633,7 +640,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_ESLconnection_getInfo(void * jarg1) {
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_ESLconnection_send(void * jarg1, char * jarg2) {
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_ESLconnection_Send(void * jarg1, char * jarg2) {
|
||||
int jresult ;
|
||||
ESLconnection *arg1 = (ESLconnection *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
|
@ -647,7 +654,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_ESLconnection_send(void * jarg1, char * jarg2)
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT void * SWIGSTDCALL CSharp_ESLconnection_sendRecv(void * jarg1, char * jarg2) {
|
||||
SWIGEXPORT void * SWIGSTDCALL CSharp_ESLconnection_SendRecv(void * jarg1, char * jarg2) {
|
||||
void * jresult ;
|
||||
ESLconnection *arg1 = (ESLconnection *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
|
@ -661,7 +668,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_ESLconnection_sendRecv(void * jarg1, char *
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT void * SWIGSTDCALL CSharp_ESLconnection_api(void * jarg1, char * jarg2, char * jarg3) {
|
||||
SWIGEXPORT void * SWIGSTDCALL CSharp_ESLconnection_Api(void * jarg1, char * jarg2, char * jarg3) {
|
||||
void * jresult ;
|
||||
ESLconnection *arg1 = (ESLconnection *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
|
@ -677,7 +684,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_ESLconnection_api(void * jarg1, char * jarg
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT void * SWIGSTDCALL CSharp_ESLconnection_bgapi(void * jarg1, char * jarg2, char * jarg3) {
|
||||
SWIGEXPORT void * SWIGSTDCALL CSharp_ESLconnection_Bgapi(void * jarg1, char * jarg2, char * jarg3) {
|
||||
void * jresult ;
|
||||
ESLconnection *arg1 = (ESLconnection *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
|
@ -693,7 +700,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_ESLconnection_bgapi(void * jarg1, char * ja
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_ESLconnection_sendEvent(void * jarg1, void * jarg2) {
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_ESLconnection_SendEvent(void * jarg1, void * jarg2) {
|
||||
int jresult ;
|
||||
ESLconnection *arg1 = (ESLconnection *) 0 ;
|
||||
ESLevent *arg2 = (ESLevent *) 0 ;
|
||||
|
@ -707,7 +714,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_ESLconnection_sendEvent(void * jarg1, void * j
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT void * SWIGSTDCALL CSharp_ESLconnection_recvEvent(void * jarg1) {
|
||||
SWIGEXPORT void * SWIGSTDCALL CSharp_ESLconnection_RecvEvent(void * jarg1) {
|
||||
void * jresult ;
|
||||
ESLconnection *arg1 = (ESLconnection *) 0 ;
|
||||
ESLevent *result = 0 ;
|
||||
|
@ -719,7 +726,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_ESLconnection_recvEvent(void * jarg1) {
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT void * SWIGSTDCALL CSharp_ESLconnection_recvEventTimed(void * jarg1, int jarg2) {
|
||||
SWIGEXPORT void * SWIGSTDCALL CSharp_ESLconnection_RecvEventTimed(void * jarg1, int jarg2) {
|
||||
void * jresult ;
|
||||
ESLconnection *arg1 = (ESLconnection *) 0 ;
|
||||
int arg2 ;
|
||||
|
@ -733,7 +740,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_ESLconnection_recvEventTimed(void * jarg1,
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT void * SWIGSTDCALL CSharp_ESLconnection_filter(void * jarg1, char * jarg2, char * jarg3) {
|
||||
SWIGEXPORT void * SWIGSTDCALL CSharp_ESLconnection_Filter(void * jarg1, char * jarg2, char * jarg3) {
|
||||
void * jresult ;
|
||||
ESLconnection *arg1 = (ESLconnection *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
|
@ -749,7 +756,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_ESLconnection_filter(void * jarg1, char * j
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_ESLconnection_events(void * jarg1, char * jarg2, char * jarg3) {
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_ESLconnection_Events(void * jarg1, char * jarg2, char * jarg3) {
|
||||
int jresult ;
|
||||
ESLconnection *arg1 = (ESLconnection *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
|
@ -765,7 +772,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_ESLconnection_events(void * jarg1, char * jarg
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT void * SWIGSTDCALL CSharp_ESLconnection_execute(void * jarg1, char * jarg2, char * jarg3, char * jarg4) {
|
||||
SWIGEXPORT void * SWIGSTDCALL CSharp_ESLconnection_Execute(void * jarg1, char * jarg2, char * jarg3, char * jarg4) {
|
||||
void * jresult ;
|
||||
ESLconnection *arg1 = (ESLconnection *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
|
@ -783,7 +790,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_ESLconnection_execute(void * jarg1, char *
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT void * SWIGSTDCALL CSharp_ESLconnection_executeAsync(void * jarg1, char * jarg2, char * jarg3, char * jarg4) {
|
||||
SWIGEXPORT void * SWIGSTDCALL CSharp_ESLconnection_ExecuteAsync(void * jarg1, char * jarg2, char * jarg3, char * jarg4) {
|
||||
void * jresult ;
|
||||
ESLconnection *arg1 = (ESLconnection *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
|
@ -801,7 +808,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_ESLconnection_executeAsync(void * jarg1, ch
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_ESLconnection_setAsyncExecute(void * jarg1, char * jarg2) {
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_ESLconnection_SetAsyncExecute(void * jarg1, char * jarg2) {
|
||||
int jresult ;
|
||||
ESLconnection *arg1 = (ESLconnection *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
|
@ -815,7 +822,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_ESLconnection_setAsyncExecute(void * jarg1, ch
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_ESLconnection_setEventLock(void * jarg1, char * jarg2) {
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_ESLconnection_SetEventLock(void * jarg1, char * jarg2) {
|
||||
int jresult ;
|
||||
ESLconnection *arg1 = (ESLconnection *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
|
@ -829,7 +836,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_ESLconnection_setEventLock(void * jarg1, char
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_ESLconnection_disconnect(void * jarg1) {
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_ESLconnection_Disconnect(void * jarg1) {
|
||||
int jresult ;
|
||||
ESLconnection *arg1 = (ESLconnection *) 0 ;
|
||||
int result;
|
||||
|
|
Loading…
Reference in New Issue