code: def add_eom(self, type_class, query_termination, response_termination):
          
          interface_type, resource_class = type_class.split(' ')
          interface_type = getattr(constants.InterfaceType,
                                   interface_type.lower())
          self._eoms[(interface_type,
                      resource_class)] = (to_bytes(query_termination),
                                          to_bytes(response_termination))
docs: Add default end of message for a given interface type and resource class.
  
          :param type_class: interface type and resource class as strings joined by space
          :param query_termination: end of message used in queries.
          :param response_termination: end of message used in responses.