handling dmclient listener response