public PublicationSession takeSessionOwnership() { IntPtr cPtr = tinyWRAPPINVOKE.PublicationEvent_takeSessionOwnership(swigCPtr); PublicationSession ret = (cPtr == IntPtr.Zero) ? null : new PublicationSession(cPtr, false); return(ret); }
public PublicationSession getSession() { IntPtr cPtr = tinyWRAPPINVOKE.PublicationEvent_getSession(swigCPtr); PublicationSession ret = (cPtr == IntPtr.Zero) ? null : new PublicationSession(cPtr, false); return(ret); }
public MyPublicationSession(MySipStack sipStack, String toUri) : base(sipStack) { this.session = new PublicationSession(sipStack.WrappedStack); // commons base.init(); // SigComp base.SigCompId = sipStack.SigCompId; // headers this.session.addHeader("Event", "presence"); this.session.addHeader("Content-Type", ContentType.PIDF); this.ToUri = toUri; this.FromUri = toUri; }
internal static HandleRef getCPtr(PublicationSession obj) { return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr); }
internal static HandleRef getCPtr(PublicationSession obj) { return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; }