Ejemplo n.º 1
0
 /// <summary>
 /// This method swaps to the open state and calls the corresponding method.
 /// </summary>
 /// <param name="context">The current context.</param>
 /// <returns>Returns true if the server accepted the connection request.</returns>
 public override bool ConnectionRequest(TransportContext context)
 {
     context.ChangeState("Open");
     return context.ConnectionRequest();
 }