提交 3058709a authored 作者: Anthony Minessale's avatar Anthony Minessale

swigall

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