implemented method translating for network com in server and client class