implemented to process a data to communicate between server and client.