示例#1
0
 public byte[] NextMessage(string response)
 {
     this.state = this.state.NextState(response);
     return(this.state.ToSend());
 }
示例#2
0
 public void Reset()
 {
     this.state = new InitialState(this.username, this.password);
 }
示例#3
0
 public void Reset()
 {
     this.state = new InitialState(this.username, this.password);
 }
示例#4
0
 public byte[] NextMessage(string response)
 {
     this.state = this.state.NextState(response);
     return this.state.ToSend();
 }
示例#5
0
 public Handshake(string username, string password)
 {
     this.username = username;
     this.password = password;
     this.state    = new InitialState(username, password);
 }