public TCPConnection()
 {
     _state = new TCPClosed();
 }
 public void ChangeState(TCPState state)
 {
     _state = state;
 }
Exemplo n.º 3
0
 protected void ChangeState(TCPConnection connection, TCPState state)
 {
     connection.ChangeState(state);
 }