Exemple #1
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="data">
 /// A <see cref="System.Object"/>
 /// </param>
 public override void Execute(ubiety.common.Tag data)
 {
     if (data.LocalName == "proceed")
     {
         _current.Socket.StartSecure();
         _current.State = new ConnectedState();
         _current.Execute(null);
     }
 }
Exemple #2
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="data">
 /// A <see cref="System.Object"/>
 /// </param>
 public virtual void Execute(ubiety.common.Tag data)
 {
 }
Exemple #3
0
 /// <summary>
 /// Executes the state.  In this case we are telling the socket to connect to the server.
 /// </summary>
 /// <param name="data">
 /// The <see cref="ubiety.common.Tag"/> is not needed here as we are just starting the connection.
 /// </param>
 public override void Execute(ubiety.common.Tag data)
 {
     _current.Socket.Connect();
 }