Communication between server and client,using the google protobuf as a data carrier.