From e00bbccfd6b0e2e4710db96bd133748eb594b10e Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Thu, 30 Jan 2014 05:21:53 +0100 Subject: remove old classes --- libmproxy/proxy.py | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'libmproxy/proxy.py') 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) -- cgit v1.2.3