def METHOD_NAME(source, target):
    global debugID
    localComponent = source["component"]
    remoteComponent = target["component"]
    remoteID = remoteComponent.getID()
    connectID = source["id"]
    targetID = target["id"]
    debugID.setValue(remoteID, 2)