add interface functions of ServerAPI and ClientAPI