提交 452a4c1b authored 作者: Anthony Minessale's avatar Anthony Minessale

swigall

上级 3058709a
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.29
* Version 1.3.35
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
......@@ -25,7 +25,7 @@ public class API {
delete();
}
public void delete() {
public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) {
swigCMemOwn = false;
freeswitchJNI.delete_API(swigCPtr);
......@@ -34,19 +34,19 @@ public class API {
}
public API(CoreSession s) {
this(freeswitchJNI.new_API(CoreSession.getCPtr(s)), true);
this(freeswitchJNI.new_API(CoreSession.getCPtr(s), s), true);
}
public String execute(String command, String data) {
return freeswitchJNI.API_execute(swigCPtr, command, data);
return freeswitchJNI.API_execute(swigCPtr, this, command, data);
}
public String executeString(String command) {
return freeswitchJNI.API_executeString(swigCPtr, command);
return freeswitchJNI.API_executeString(swigCPtr, this, command);
}
public String getTime() {
return freeswitchJNI.API_getTime(swigCPtr);
return freeswitchJNI.API_getTime(swigCPtr, this);
}
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.29
* Version 1.3.35
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
......@@ -25,7 +25,7 @@ public class DTMF {
delete();
}
public void delete() {
public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) {
swigCMemOwn = false;
freeswitchJNI.delete_DTMF(swigCPtr);
......@@ -34,19 +34,19 @@ public class DTMF {
}
public void setDigit(char value) {
freeswitchJNI.DTMF_digit_set(swigCPtr, value);
freeswitchJNI.DTMF_digit_set(swigCPtr, this, value);
}
public char getDigit() {
return freeswitchJNI.DTMF_digit_get(swigCPtr);
return freeswitchJNI.DTMF_digit_get(swigCPtr, this);
}
public void setDuration(SWIGTYPE_p_uint32_t value) {
freeswitchJNI.DTMF_duration_set(swigCPtr, SWIGTYPE_p_uint32_t.getCPtr(value));
freeswitchJNI.DTMF_duration_set(swigCPtr, this, SWIGTYPE_p_uint32_t.getCPtr(value));
}
public SWIGTYPE_p_uint32_t getDuration() {
return new SWIGTYPE_p_uint32_t(freeswitchJNI.DTMF_duration_get(swigCPtr), true);
return new SWIGTYPE_p_uint32_t(freeswitchJNI.DTMF_duration_get(swigCPtr, this), true);
}
public DTMF(char idigit, SWIGTYPE_p_uint32_t iduration) {
......
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.29
* Version 1.3.35
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
......@@ -25,7 +25,7 @@ public class Event {
delete();
}
public void delete() {
public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) {
swigCMemOwn = false;
freeswitchJNI.delete_Event(swigCPtr);
......@@ -34,28 +34,28 @@ public class Event {
}
public void setEvent(SWIGTYPE_p_switch_event_t value) {
freeswitchJNI.Event_event_set(swigCPtr, SWIGTYPE_p_switch_event_t.getCPtr(value));
freeswitchJNI.Event_event_set(swigCPtr, this, SWIGTYPE_p_switch_event_t.getCPtr(value));
}
public SWIGTYPE_p_switch_event_t getEvent() {
long cPtr = freeswitchJNI.Event_event_get(swigCPtr);
long cPtr = freeswitchJNI.Event_event_get(swigCPtr, this);
return (cPtr == 0) ? null : new SWIGTYPE_p_switch_event_t(cPtr, false);
}
public void setSerialized_string(String value) {
freeswitchJNI.Event_serialized_string_set(swigCPtr, value);
freeswitchJNI.Event_serialized_string_set(swigCPtr, this, value);
}
public String getSerialized_string() {
return freeswitchJNI.Event_serialized_string_get(swigCPtr);
return freeswitchJNI.Event_serialized_string_get(swigCPtr, this);
}
public void setMine(int value) {
freeswitchJNI.Event_mine_set(swigCPtr, value);
freeswitchJNI.Event_mine_set(swigCPtr, this, value);
}
public int getMine() {
return freeswitchJNI.Event_mine_get(swigCPtr);
return freeswitchJNI.Event_mine_get(swigCPtr, this);
}
public Event(String type, String subclass_name) {
......@@ -67,47 +67,47 @@ public class Event {
}
public int chat_execute(String app, String data) {
return freeswitchJNI.Event_chat_execute(swigCPtr, app, data);
return freeswitchJNI.Event_chat_execute(swigCPtr, this, app, data);
}
public int chat_send(String dest_proto) {
return freeswitchJNI.Event_chat_send(swigCPtr, dest_proto);
return freeswitchJNI.Event_chat_send(swigCPtr, this, dest_proto);
}
public String serialize(String format) {
return freeswitchJNI.Event_serialize(swigCPtr, format);
return freeswitchJNI.Event_serialize(swigCPtr, this, format);
}
public boolean setPriority(SWIGTYPE_p_switch_priority_t priority) {
return freeswitchJNI.Event_setPriority(swigCPtr, SWIGTYPE_p_switch_priority_t.getCPtr(priority));
return freeswitchJNI.Event_setPriority(swigCPtr, this, SWIGTYPE_p_switch_priority_t.getCPtr(priority));
}
public String getHeader(String header_name) {
return freeswitchJNI.Event_getHeader(swigCPtr, header_name);
return freeswitchJNI.Event_getHeader(swigCPtr, this, header_name);
}
public String getBody() {
return freeswitchJNI.Event_getBody(swigCPtr);
return freeswitchJNI.Event_getBody(swigCPtr, this);
}
public String getType() {
return freeswitchJNI.Event_getType(swigCPtr);
return freeswitchJNI.Event_getType(swigCPtr, this);
}
public boolean addBody(String value) {
return freeswitchJNI.Event_addBody(swigCPtr, value);
return freeswitchJNI.Event_addBody(swigCPtr, this, value);
}
public boolean addHeader(String header_name, String value) {
return freeswitchJNI.Event_addHeader(swigCPtr, header_name, value);
return freeswitchJNI.Event_addHeader(swigCPtr, this, header_name, value);
}
public boolean delHeader(String header_name) {
return freeswitchJNI.Event_delHeader(swigCPtr, header_name);
return freeswitchJNI.Event_delHeader(swigCPtr, this, header_name);
}
public boolean fire() {
return freeswitchJNI.Event_fire(swigCPtr);
return freeswitchJNI.Event_fire(swigCPtr, this);
}
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.29
* Version 1.3.35
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
......@@ -25,7 +25,7 @@ public class EventConsumer {
delete();
}
public void delete() {
public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) {
swigCMemOwn = false;
freeswitchJNI.delete_EventConsumer(swigCPtr);
......@@ -34,61 +34,61 @@ public class EventConsumer {
}
public void setEvents(SWIGTYPE_p_switch_queue_t value) {
freeswitchJNI.EventConsumer_events_set(swigCPtr, SWIGTYPE_p_switch_queue_t.getCPtr(value));
freeswitchJNI.EventConsumer_events_set(swigCPtr, this, SWIGTYPE_p_switch_queue_t.getCPtr(value));
}
public SWIGTYPE_p_switch_queue_t getEvents() {
long cPtr = freeswitchJNI.EventConsumer_events_get(swigCPtr);
long cPtr = freeswitchJNI.EventConsumer_events_get(swigCPtr, this);
return (cPtr == 0) ? null : new SWIGTYPE_p_switch_queue_t(cPtr, false);
}
public void setE_event_id(SWIGTYPE_p_switch_event_types_t value) {
freeswitchJNI.EventConsumer_e_event_id_set(swigCPtr, SWIGTYPE_p_switch_event_types_t.getCPtr(value));
freeswitchJNI.EventConsumer_e_event_id_set(swigCPtr, this, SWIGTYPE_p_switch_event_types_t.getCPtr(value));
}
public SWIGTYPE_p_switch_event_types_t getE_event_id() {
return new SWIGTYPE_p_switch_event_types_t(freeswitchJNI.EventConsumer_e_event_id_get(swigCPtr), true);
return new SWIGTYPE_p_switch_event_types_t(freeswitchJNI.EventConsumer_e_event_id_get(swigCPtr, this), true);
}
public void setE_callback(String value) {
freeswitchJNI.EventConsumer_e_callback_set(swigCPtr, value);
freeswitchJNI.EventConsumer_e_callback_set(swigCPtr, this, value);
}
public String getE_callback() {
return freeswitchJNI.EventConsumer_e_callback_get(swigCPtr);
return freeswitchJNI.EventConsumer_e_callback_get(swigCPtr, this);
}
public void setE_subclass_name(String value) {
freeswitchJNI.EventConsumer_e_subclass_name_set(swigCPtr, value);
freeswitchJNI.EventConsumer_e_subclass_name_set(swigCPtr, this, value);
}
public String getE_subclass_name() {
return freeswitchJNI.EventConsumer_e_subclass_name_get(swigCPtr);
return freeswitchJNI.EventConsumer_e_subclass_name_get(swigCPtr, this);
}
public void setE_cb_arg(String value) {
freeswitchJNI.EventConsumer_e_cb_arg_set(swigCPtr, value);
freeswitchJNI.EventConsumer_e_cb_arg_set(swigCPtr, this, value);
}
public String getE_cb_arg() {
return freeswitchJNI.EventConsumer_e_cb_arg_get(swigCPtr);
return freeswitchJNI.EventConsumer_e_cb_arg_get(swigCPtr, this);
}
public void setEnodes(SWIGTYPE_p_p_switch_event_node_t value) {
freeswitchJNI.EventConsumer_enodes_set(swigCPtr, SWIGTYPE_p_p_switch_event_node_t.getCPtr(value));
freeswitchJNI.EventConsumer_enodes_set(swigCPtr, this, SWIGTYPE_p_p_switch_event_node_t.getCPtr(value));
}
public SWIGTYPE_p_p_switch_event_node_t getEnodes() {
long cPtr = freeswitchJNI.EventConsumer_enodes_get(swigCPtr);
long cPtr = freeswitchJNI.EventConsumer_enodes_get(swigCPtr, this);
return (cPtr == 0) ? null : new SWIGTYPE_p_p_switch_event_node_t(cPtr, false);
}
public void setNode_index(SWIGTYPE_p_uint32_t value) {
freeswitchJNI.EventConsumer_node_index_set(swigCPtr, SWIGTYPE_p_uint32_t.getCPtr(value));
freeswitchJNI.EventConsumer_node_index_set(swigCPtr, this, SWIGTYPE_p_uint32_t.getCPtr(value));
}
public SWIGTYPE_p_uint32_t getNode_index() {
return new SWIGTYPE_p_uint32_t(freeswitchJNI.EventConsumer_node_index_get(swigCPtr), true);
return new SWIGTYPE_p_uint32_t(freeswitchJNI.EventConsumer_node_index_get(swigCPtr, this), true);
}
public EventConsumer(String event_name, String subclass_name, int len) {
......@@ -96,16 +96,16 @@ public class EventConsumer {
}
public int bind(String event_name, String subclass_name) {
return freeswitchJNI.EventConsumer_bind(swigCPtr, event_name, subclass_name);
return freeswitchJNI.EventConsumer_bind(swigCPtr, this, event_name, subclass_name);
}
public Event pop(int block, int timeout) {
long cPtr = freeswitchJNI.EventConsumer_pop(swigCPtr, block, timeout);
long cPtr = freeswitchJNI.EventConsumer_pop(swigCPtr, this, block, timeout);
return (cPtr == 0) ? null : new Event(cPtr, true);
}
public void cleanup() {
freeswitchJNI.EventConsumer_cleanup(swigCPtr);
freeswitchJNI.EventConsumer_cleanup(swigCPtr, this);
}
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.29
* Version 1.3.35
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
......@@ -25,7 +25,7 @@ public class IVRMenu {
delete();
}
public void delete() {
public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) {
swigCMemOwn = false;
freeswitchJNI.delete_IVRMenu(swigCPtr);
......@@ -34,15 +34,15 @@ public class IVRMenu {
}
public IVRMenu(IVRMenu main, String name, String greeting_sound, String short_greeting_sound, String invalid_sound, String exit_sound, String transfer_sound, String confirm_macro, String confirm_key, String tts_engine, String tts_voice, int confirm_attempts, int inter_timeout, int digit_len, int timeout, int max_failures, int max_timeouts) {
this(freeswitchJNI.new_IVRMenu(IVRMenu.getCPtr(main), name, greeting_sound, short_greeting_sound, invalid_sound, exit_sound, transfer_sound, confirm_macro, confirm_key, tts_engine, tts_voice, confirm_attempts, inter_timeout, digit_len, timeout, max_failures, max_timeouts), true);
this(freeswitchJNI.new_IVRMenu(IVRMenu.getCPtr(main), main, name, greeting_sound, short_greeting_sound, invalid_sound, exit_sound, transfer_sound, confirm_macro, confirm_key, tts_engine, tts_voice, confirm_attempts, inter_timeout, digit_len, timeout, max_failures, max_timeouts), true);
}
public void bindAction(String action, String arg, String bind) {
freeswitchJNI.IVRMenu_bindAction(swigCPtr, action, arg, bind);
freeswitchJNI.IVRMenu_bindAction(swigCPtr, this, action, arg, bind);
}
public void execute(CoreSession session, String name) {
freeswitchJNI.IVRMenu_execute(swigCPtr, CoreSession.getCPtr(session), name);
freeswitchJNI.IVRMenu_execute(swigCPtr, this, CoreSession.getCPtr(session), session, name);
}
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.29
* Version 1.3.35
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
......@@ -24,7 +24,7 @@ public class JavaSession extends CoreSession {
delete();
}
public void delete() {
public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) {
swigCMemOwn = false;
freeswitchJNI.delete_JavaSession(swigCPtr);
......@@ -46,31 +46,31 @@ public class JavaSession extends CoreSession {
}
public boolean begin_allow_threads() {
return freeswitchJNI.JavaSession_begin_allow_threads(swigCPtr);
return freeswitchJNI.JavaSession_begin_allow_threads(swigCPtr, this);
}
public boolean end_allow_threads() {
return freeswitchJNI.JavaSession_end_allow_threads(swigCPtr);
return freeswitchJNI.JavaSession_end_allow_threads(swigCPtr, this);
}
public void setDTMFCallback(org.freeswitch.DTMFCallback dtmfCallback, String funcargs) {
freeswitchJNI.JavaSession_setDTMFCallback(swigCPtr, dtmfCallback, funcargs);
freeswitchJNI.JavaSession_setDTMFCallback(swigCPtr, this, dtmfCallback, funcargs);
}
public void setHangupHook(org.freeswitch.HangupHook hangupHook) {
freeswitchJNI.JavaSession_setHangupHook(swigCPtr, hangupHook);
freeswitchJNI.JavaSession_setHangupHook(swigCPtr, this, hangupHook);
}
public void check_hangup_hook() {
freeswitchJNI.JavaSession_check_hangup_hook(swigCPtr);
freeswitchJNI.JavaSession_check_hangup_hook(swigCPtr, this);
}
public SWIGTYPE_p_switch_status_t run_dtmf_callback(SWIGTYPE_p_void input, SWIGTYPE_p_switch_input_type_t itype) {
return new SWIGTYPE_p_switch_status_t(freeswitchJNI.JavaSession_run_dtmf_callback(swigCPtr, SWIGTYPE_p_void.getCPtr(input), SWIGTYPE_p_switch_input_type_t.getCPtr(itype)), true);
return new SWIGTYPE_p_switch_status_t(freeswitchJNI.JavaSession_run_dtmf_callback(swigCPtr, this, SWIGTYPE_p_void.getCPtr(input), SWIGTYPE_p_switch_input_type_t.getCPtr(itype)), true);
}
public int originate(JavaSession aleg, String destination, int timeout) {
return freeswitchJNI.JavaSession_originate(swigCPtr, JavaSession.getCPtr(aleg), destination, timeout);
return freeswitchJNI.JavaSession_originate(swigCPtr, this, JavaSession.getCPtr(aleg), aleg, destination, timeout);
}
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.29
* Version 1.3.35
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
......
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.29
* Version 1.3.35
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
......
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.29
* Version 1.3.35
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
......
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.29
* Version 1.3.35
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
......
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.29
* Version 1.3.35
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
......
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.29
* Version 1.3.35
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
......
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.29
* Version 1.3.35
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
......
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.29
* Version 1.3.35
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
......
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.29
* Version 1.3.35
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
......
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.29
* Version 1.3.35
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
......
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.29
* Version 1.3.35
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
......
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.29
* Version 1.3.35
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
......
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.29
* Version 1.3.35
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
......
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.29
* Version 1.3.35
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
......
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.29
* Version 1.3.35
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
......
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.29
* Version 1.3.35
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
......
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.29
* Version 1.3.35
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
......
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.29
* Version 1.3.35
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
......
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.29
* Version 1.3.35
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
......@@ -25,7 +25,7 @@ public class Stream {
delete();
}
public void delete() {
public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) {
swigCMemOwn = false;
freeswitchJNI.delete_Stream(swigCPtr);
......@@ -42,19 +42,19 @@ public class Stream {
}
public String read(SWIGTYPE_p_int len) {
return freeswitchJNI.Stream_read(swigCPtr, SWIGTYPE_p_int.getCPtr(len));
return freeswitchJNI.Stream_read(swigCPtr, this, SWIGTYPE_p_int.getCPtr(len));
}
public void write(String data) {
freeswitchJNI.Stream_write(swigCPtr, data);
freeswitchJNI.Stream_write(swigCPtr, this, data);
}
public void raw_write(String data, int len) {
freeswitchJNI.Stream_raw_write(swigCPtr, data, len);
freeswitchJNI.Stream_raw_write(swigCPtr, this, data, len);
}
public String get_data() {
return freeswitchJNI.Stream_get_data(swigCPtr);
return freeswitchJNI.Stream_get_data(swigCPtr, this);
}
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.29
* Version 1.3.35
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
......@@ -54,7 +54,7 @@ public class freeswitch {
}
public static void bridge(CoreSession session_a, CoreSession session_b) {
freeswitchJNI.bridge(CoreSession.getCPtr(session_a), CoreSession.getCPtr(session_b));
freeswitchJNI.bridge(CoreSession.getCPtr(session_a), session_a, CoreSession.getCPtr(session_b), session_b);
}
public static SWIGTYPE_p_switch_status_t hanguphook(SWIGTYPE_p_switch_core_session_t session) {
......
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.29
* Version 1.3.35
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
......@@ -25,7 +25,7 @@ public class input_callback_state_t {
delete();
}
public void delete() {
public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) {
swigCMemOwn = false;
freeswitchJNI.delete_input_callback_state_t(swigCPtr);
......@@ -34,38 +34,38 @@ public class input_callback_state_t {
}
public void setFunction(SWIGTYPE_p_void value) {
freeswitchJNI.input_callback_state_t_function_set(swigCPtr, SWIGTYPE_p_void.getCPtr(value));
freeswitchJNI.input_callback_state_t_function_set(swigCPtr, this, SWIGTYPE_p_void.getCPtr(value));
}
public SWIGTYPE_p_void getFunction() {
long cPtr = freeswitchJNI.input_callback_state_t_function_get(swigCPtr);
long cPtr = freeswitchJNI.input_callback_state_t_function_get(swigCPtr, this);
return (cPtr == 0) ? null : new SWIGTYPE_p_void(cPtr, false);
}
public void setThreadState(SWIGTYPE_p_void value) {
freeswitchJNI.input_callback_state_t_threadState_set(swigCPtr, SWIGTYPE_p_void.getCPtr(value));
freeswitchJNI.input_callback_state_t_threadState_set(swigCPtr, this, SWIGTYPE_p_void.getCPtr(value));
}
public SWIGTYPE_p_void getThreadState() {
long cPtr = freeswitchJNI.input_callback_state_t_threadState_get(swigCPtr);
long cPtr = freeswitchJNI.input_callback_state_t_threadState_get(swigCPtr, this);
return (cPtr == 0) ? null : new SWIGTYPE_p_void(cPtr, false);
}
public void setExtra(SWIGTYPE_p_void value) {
freeswitchJNI.input_callback_state_t_extra_set(swigCPtr, SWIGTYPE_p_void.getCPtr(value));
freeswitchJNI.input_callback_state_t_extra_set(swigCPtr, this, SWIGTYPE_p_void.getCPtr(value));
}
public SWIGTYPE_p_void getExtra() {
long cPtr = freeswitchJNI.input_callback_state_t_extra_get(swigCPtr);
long cPtr = freeswitchJNI.input_callback_state_t_extra_get(swigCPtr, this);
return (cPtr == 0) ? null : new SWIGTYPE_p_void(cPtr, false);
}
public void setFuncargs(String value) {
freeswitchJNI.input_callback_state_t_funcargs_set(swigCPtr, value);
freeswitchJNI.input_callback_state_t_funcargs_set(swigCPtr, this, value);
}
public String getFuncargs() {
return freeswitchJNI.input_callback_state_t_funcargs_get(swigCPtr);
return freeswitchJNI.input_callback_state_t_funcargs_get(swigCPtr, this);
}
public input_callback_state_t() {
......
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.29
* Version 1.3.35
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
......@@ -27,15 +27,18 @@ public enum session_flag_t {
throw new IllegalArgumentException("No enum " + session_flag_t.class + " with value " + swigValue);
}
@SuppressWarnings("unused")
private session_flag_t() {
this.swigValue = SwigNext.next++;
}
@SuppressWarnings("unused")
private session_flag_t(int swigValue) {
this.swigValue = swigValue;
SwigNext.next = swigValue+1;
}
@SuppressWarnings("unused")
private session_flag_t(session_flag_t swigEnum) {
this.swigValue = swigEnum.swigValue;
SwigNext.next = this.swigValue+1;
......
This source diff could not be displayed because it is too large. You can view the blob instead.
差异被折叠。
# This file was created automatically by SWIG 1.3.29.
# This file was automatically generated by SWIG (http://www.swig.org).
# Version 1.3.35
#
# Don't modify this file, modify the SWIG interface instead.
package freeswitch;
require Exporter;
@ISA = qw(Exporter);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论