65666768697071727374
} public SipApplicationSession getApplicationSession() { if (_appSession instanceof AppSession) return new ScopedAppSession((AppSession) _appSession); if (_session != null) return _session.getApplicationSession(); return _appSession; }
6061626364656667
} public SipApplicationSession getApplicationSession() { if (_appSession instanceof AppSession) return new ScopedAppSession((AppSession) _appSession); return _appSession; }
912913914915916917918919920921922
SessionScope scope = server.getSessionManager().openScope(ID.newCallId()); try { AppSession session = scope.getCallSession().createAppSession(SipAppContext.this, ID.newAppSessionId()); return new ScopedAppSession(session); } finally { scope.close(); }
957958959960961962963
AppSession appSession = callSession.getAppSession(applicationSessionId.substring(i+1)); if (appSession == null) return null; else return new ScopedAppSession(appSession); }
978979980981982983984985986987988
if (create) appSession = tx.getCallSession().createAppSession(SipAppContext.this, id); else return null; } return new ScopedAppSession(appSession); } finally { tx.close(); }
165166167168169170171
/** * @see SipSession#getApplicationSession() */ public SipApplicationSession getApplicationSession() { return new ScopedAppSession(_appSession); }