diff options
Diffstat (limited to 'branches/1.0/bindings/java/InviteSession.java')
-rw-r--r-- | branches/1.0/bindings/java/InviteSession.java | 69 |
1 files changed, 0 insertions, 69 deletions
diff --git a/branches/1.0/bindings/java/InviteSession.java b/branches/1.0/bindings/java/InviteSession.java deleted file mode 100644 index 71d6f6c..0000000 --- a/branches/1.0/bindings/java/InviteSession.java +++ /dev/null @@ -1,69 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 1.3.39 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.doubango.tinyWRAP; - -public class InviteSession extends SipSession { - private long swigCPtr; - - protected InviteSession(long cPtr, boolean cMemoryOwn) { - super(tinyWRAPJNI.SWIGInviteSessionUpcast(cPtr), cMemoryOwn); - swigCPtr = cPtr; - } - - protected static long getCPtr(InviteSession obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if(swigCPtr != 0 && swigCMemOwn) { - swigCMemOwn = false; - tinyWRAPJNI.delete_InviteSession(swigCPtr); - } - swigCPtr = 0; - super.delete(); - } - - public InviteSession(SipStack Stack) { - this(tinyWRAPJNI.new_InviteSession(SipStack.getCPtr(Stack), Stack), true); - } - - public boolean accept(ActionConfig config) { - return tinyWRAPJNI.InviteSession_accept__SWIG_0(swigCPtr, this, ActionConfig.getCPtr(config), config); - } - - public boolean accept() { - return tinyWRAPJNI.InviteSession_accept__SWIG_1(swigCPtr, this); - } - - public boolean hangup(ActionConfig config) { - return tinyWRAPJNI.InviteSession_hangup__SWIG_0(swigCPtr, this, ActionConfig.getCPtr(config), config); - } - - public boolean hangup() { - return tinyWRAPJNI.InviteSession_hangup__SWIG_1(swigCPtr, this); - } - - public boolean reject(ActionConfig config) { - return tinyWRAPJNI.InviteSession_reject__SWIG_0(swigCPtr, this, ActionConfig.getCPtr(config), config); - } - - public boolean reject() { - return tinyWRAPJNI.InviteSession_reject__SWIG_1(swigCPtr, this); - } - - public MediaSessionMgr getMediaMgr() { - long cPtr = tinyWRAPJNI.InviteSession_getMediaMgr(swigCPtr, this); - return (cPtr == 0) ? null : new MediaSessionMgr(cPtr, false); - } - -} |