OSDN Git Service

move collector, collectagents to collect package.
[ti2/ti2.git] / linkpair / port.py
1 #!/usr/bin/env python
2 # -*- coding: utf-8 -*-
3 #
4
5 __version__ = '1.1'
6
7 from linkobject import LinkObject
8
9
10 class Port(LinkObject):
11     DEFAULT_TYPE = 1
12
13     def __init__(self, label, type=1):
14         self.label = label
15         self.type = type