internal override void securityStatusChanged(Session session) { //check if session has gone secure if (session.isSecure != true) { //this should never happen session._tearDown(); } session.changeState(Routing.Instance(session)); }
/// <summary> /// Default function for a state-transition. /// </summary> /// <param name="session">Corresponding Surface protocol run.</param> /// <param name="state">Next state.</param> internal virtual void changeState(Session session, State state) { session.changeState(state); }