From ef120e8d3c46372d65d9d4e560fcb33ecb9bcd0a Mon Sep 17 00:00:00 2001 From: Swann Date: Fri, 25 Jan 2019 10:11:40 +0100 Subject: [PATCH] added net_components --- net_components.py | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 net_components.py diff --git a/net_components.py b/net_components.py new file mode 100644 index 0000000..64eacf5 --- /dev/null +++ b/net_components.py @@ -0,0 +1,24 @@ + +class User: + def __init__(self, name="default", ip="localhost"): + self.name = name + self.ip = ip + +class Session: + def __init__(self, name="default", host="localhost"): + self.name = name + self.host = host + +class Position: + def __init__(self, x=0, y=0,z=0): + self.x = x + self.y = y + self.z = z + +class Property: + def __init__(self, property=None): + self.property = property + +class Function: + def __init__(self, function=None): + self.function = function \ No newline at end of file