def unregister_endpoint(self, handle):
return self.event_handler.unregister_handler(handle)<EOL>
Removes a handler registered by :meth:`register_transport_endpoint`, :meth:`register_endpoint`,
:meth:`register_raw_outbound_handler` or :meth:`register_raw_inbound_handler`.

:param handle: A handle returned by the register call to be undone.