Пример #1
0
 public override void Destroy()
 {
     log.Info("[{0}] Session #{1} is being destroyed.", this.sessionPool.connection.id, this.id);
     this.sessionPool = null;
     base.Destroy();
 }
Пример #2
0
 internal NmsPooledSession(IConnection connection, ISession session, NmsSessionPool pool)
     : base(connection, session)
 {
     this.sessionPool = pool;
 }