예제 #1
0
 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));
 }
예제 #2
0
 /// <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);
 }