mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-29 22:54:18 +00:00
swigall
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14159 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
b75a25ee5f
commit
b76bb2d5a3
22 files changed
+160
-128
No files matched your search
@@ -51,7 +51,7 @@ public class ESLconnection {
|
||||
|
||||
public ESLevent getInfo() {
|
||||
long cPtr = eslJNI.ESLconnection_getInfo(swigCPtr, this);
|
||||
return (cPtr == 0) ? null : new ESLevent(cPtr, false);
|
||||
return (cPtr == 0) ? null : new ESLevent(cPtr, true);
|
||||
}
|
||||
|
||||
public int send(String cmd) {
|
||||
@@ -60,17 +60,17 @@ public class ESLconnection {
|
||||
|
||||
public ESLevent sendRecv(String cmd) {
|
||||
long cPtr = eslJNI.ESLconnection_sendRecv(swigCPtr, this, cmd);
|
||||
return (cPtr == 0) ? null : new ESLevent(cPtr, false);
|
||||
return (cPtr == 0) ? null : new ESLevent(cPtr, true);
|
||||
}
|
||||
|
||||
public ESLevent api(String cmd, String arg) {
|
||||
long cPtr = eslJNI.ESLconnection_api(swigCPtr, this, cmd, arg);
|
||||
return (cPtr == 0) ? null : new ESLevent(cPtr, false);
|
||||
return (cPtr == 0) ? null : new ESLevent(cPtr, true);
|
||||
}
|
||||
|
||||
public ESLevent bgapi(String cmd, String arg) {
|
||||
long cPtr = eslJNI.ESLconnection_bgapi(swigCPtr, this, cmd, arg);
|
||||
return (cPtr == 0) ? null : new ESLevent(cPtr, false);
|
||||
return (cPtr == 0) ? null : new ESLevent(cPtr, true);
|
||||
}
|
||||
|
||||
public int sendEvent(ESLevent send_me) {
|
||||
@@ -79,17 +79,17 @@ public class ESLconnection {
|
||||
|
||||
public ESLevent recvEvent() {
|
||||
long cPtr = eslJNI.ESLconnection_recvEvent(swigCPtr, this);
|
||||
return (cPtr == 0) ? null : new ESLevent(cPtr, false);
|
||||
return (cPtr == 0) ? null : new ESLevent(cPtr, true);
|
||||
}
|
||||
|
||||
public ESLevent recvEventTimed(int ms) {
|
||||
long cPtr = eslJNI.ESLconnection_recvEventTimed(swigCPtr, this, ms);
|
||||
return (cPtr == 0) ? null : new ESLevent(cPtr, false);
|
||||
return (cPtr == 0) ? null : new ESLevent(cPtr, true);
|
||||
}
|
||||
|
||||
public ESLevent filter(String header, String value) {
|
||||
long cPtr = eslJNI.ESLconnection_filter(swigCPtr, this, header, value);
|
||||
return (cPtr == 0) ? null : new ESLevent(cPtr, false);
|
||||
return (cPtr == 0) ? null : new ESLevent(cPtr, true);
|
||||
}
|
||||
|
||||
public int events(String etype, String value) {
|
||||
|
||||
Reference in new issue
Block a user