Lines Matching refs:EchoRequest
34 """Class to keep header info of the EchoRequest and EchoResponse messages.
80 The string representation of EchoRequest or EchoResponse objects.
121 class EchoRequest(EchoHeader):
131 """Initializes EchoRequest object."""
136 """Parses and Initializes the EchoRequest object from the echo_request_data.
143 The string representation of EchoRequest object.
148 if len(echo_request_data) <= EchoRequest.PAYLOAD_START:
150 self.payload = echo_request_data[EchoRequest.PAYLOAD_START:]
153 """Initializes the EchoRequest object with payload.
155 It calculates checksum for the payload and initializes self (EchoRequest)
166 """String representation of the self (EchoRequest).
169 A string representation of self (EchoRequest).
230 echo_request: (EchoRequest)
231 The EchoRequest object which has "echo request" message.
289 It builds an EchoRequest object from the payload and then returns a string
290 representation of the EchoRequest object.
299 A string representation of the EchoRequest object.
304 echo_request = EchoRequest()
314 It builds the EchoRequest object from the echo_request_data and then verifies
315 the checksum of the EchoRequest is same as the calculated checksum of the
336 echo_request = EchoRequest()
354 It builds EchoRequest and EchoResponse objects from the echo_request_data and
356 checksum match EchoRequest's.
373 echo_request = EchoRequest()