ffmap-backend/link.py

16 lines
323 B
Python
Raw Permalink Normal View History

2012-05-11 14:12:41 +02:00
class Link():
def __init__(self):
self.id = None
self.source = None
self.target = None
2012-06-04 20:47:05 +02:00
self.quality = None
self.type = None
2012-05-11 14:12:41 +02:00
class LinkConnector():
def __init__(self):
self.id = None
self.interface = None
def __repr__(self):
return "LinkConnector(%d, %s)" % (self.id, self.interface)