def __init__(self, interface, protocol):
        assert protocol._endpoint == interface._endpoint

        self._interface = interface
        interface.registerConnection(self)

        self._protocol = protocol
        protocol.registerConnection(self)

        self._users = set()
Returns a single serialized resource.
dataset/ETHPy150Open rapyuta/rce/rce-core/rce/core/network.py/InterfaceConnection.__init__--crossover with--dataset/ETHPy150Open toastdriven/piecrust/piecrust/resources.py/Resource.get_detail