public override void PopContext(Net.Vpc.Upa.Session session)
 {
     Net.Vpc.Upa.SessionContext          currentContext = session.GetCurrentContext();
     Net.Vpc.Upa.Persistence.UConnection sconnection    = currentContext.GetParam <T>(pu, typeof(Net.Vpc.Upa.Persistence.UConnection), Net.Vpc.Upa.Impl.SessionParams.CONNECTION, null);
     if (sconnection != null && sconnection == finalConnection)
     {
         sconnection.Close();
         currentContext.SetParam(pu, Net.Vpc.Upa.Impl.SessionParams.CONNECTION, null);
         session.RemoveSessionListener(this);
     }
 }
Example #2
0
 public virtual void RemoveSessionListener(Net.Vpc.Upa.Callbacks.SessionListener sessionListener)
 {
     session.RemoveSessionListener(sessionListener);
 }