connect type object connect type todo auto gener method stub implement except 