aboutsummaryrefslogtreecommitdiffstats
path: root/libmproxy/proxy.py
diff options
context:
space:
mode:
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)