methods file for client/server method definition