public void Execute(TcpReverseConnection connection, string[] commandArguments) { this.connection = connection; //Validate command line arguments before if (ValidateArguments(commandArguments)) { connection.HandoffConenection(commandArguments[1], commandArguments[2]); } else { connection.SendData("Handoff error - incorrect number of arguments supplied\n"); } }