summaryrefslogtreecommitdiff
path: root/channel.lua
diff options
context:
space:
mode:
Diffstat (limited to 'channel.lua')
-rw-r--r--channel.lua14
1 files changed, 0 insertions, 14 deletions
diff --git a/channel.lua b/channel.lua
deleted file mode 100644
index f921e36..0000000
--- a/channel.lua
+++ /dev/null
@@ -1,14 +0,0 @@
-local class = require'r.class'
--- channel descriptor
-
-local Channel = class()
-function Channel.make(cls, pylon, descriptor)
- return setmetatable({pylon=pylon, descriptor=descriptor}, cls)
-end
-function Channel.__eq(self, other)
- return self.pylon == other.pylon and self.descriptor == other.descriptor
-end
-function Channel.__tostring(self)
- return self.pylon.name .. ':' .. self.descriptor
-end
-return Channel