aboutsummaryrefslogtreecommitdiffstats
path: root/libmproxy/proxy.py
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2014-01-30 05:21:53 +0100
committerMaximilian Hils <git@maximilianhils.com>2014-01-30 05:21:53 +0100
commite00bbccfd6b0e2e4710db96bd133748eb594b10e (patch)
tree79109137cbfbf5d5cb5677c3a57af34f6dd5b684 /libmproxy/proxy.py
parent40bf42f14a7ec386024a8925502fa3c6e6f0657e (diff)
downloadmitmproxy-e00bbccfd6b0e2e4710db96bd133748eb594b10e.tar.gz
mitmproxy-e00bbccfd6b0e2e4710db96bd133748eb594b10e.tar.bz2
mitmproxy-e00bbccfd6b0e2e4710db96bd133748eb594b10e.zip
remove old classes
Diffstat (limited to 'libmproxy/proxy.py')
-rw-r--r--libmproxy/proxy.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/libmproxy/proxy.py b/libmproxy/proxy.py
index e43c811b..468a5708 100644
--- a/libmproxy/proxy.py
+++ b/libmproxy/proxy.py
@@ -49,6 +49,10 @@ class ClientConnection(tcp.BaseHandler, flow.SimpleStateObject):
# FIXME: Add missing attributes
)
+ @classmethod
+ def _from_state(cls, state):
+ raise NotImplementedError # FIXME
+
def convert_to_ssl(self, *args, **kwargs):
tcp.BaseHandler.convert_to_ssl(self, *args, **kwargs)
self.timestamp_ssl_setup = utils.timestamp()
@@ -77,6 +81,10 @@ class ServerConnection(tcp.TCPClient, flow.SimpleStateObject):
# FIXME: Add missing attributes
)
+ @classmethod
+ def _from_state(cls, state):
+ raise NotImplementedError # FIXME
+
def connect(self):
self.timestamp_start = utils.timestamp()
tcp.TCPClient.connect(self)