blob: db9a48fa57933a69355dd55e7f597913969b89c1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
from . import Layer, Connect
from ..protocol.tcp import TCPHandler
class TcpLayer(Layer):
def __call__(self):
yield Connect()
tcp_handler = TCPHandler(self)
tcp_handler.handle_messages()
def establish_server_connection(self):
pass
# FIXME: Remove method, currently just here to mock TCPHandler's call to it.
|