예제 #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);
     }
 }
예제 #2
0
파일: State.cs 프로젝트: nickwhaley/ubiety
 /// <summary>
 /// 
 /// </summary>
 /// <param name="data">
 /// A <see cref="System.Object"/>
 /// </param>
 public virtual void Execute(ubiety.common.Tag data)
 {
 }
예제 #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();
 }