add interface functions of ClientAPI and ServerAPI