Skip to content
Snippets Groups Projects
Commit 8478a8f3 authored by Antoine Millet's avatar Antoine Millet
Browse files

Removed old stuff.

parent 22da0af4
No related branches found
No related tags found
No related merge requests found
......@@ -9,7 +9,6 @@ from __future__ import absolute_import
import ssl
import struct
import socket
import select
import logging
from sjrpc.core.protocols.rpc import RpcProtocol
......@@ -55,9 +54,6 @@ class RpcConnection(object):
MESSAGE_HEADER = '!HL'
MESSAGE_HEADER_FALLBACK = '!L'
SHORTCUTS_MAINRPC = ('call', 'async_call')
IOW_EVENTS = {'read': select.POLLIN | select.POLLPRI,
'write': select.POLLOUT, 'hup': select.POLLHUP,
'error': select.POLLERR | select.POLLNVAL}
def __init__(self, sock, loop=None, enable_tcp_keepalive=False,
*args, **kwargs):
......@@ -164,12 +160,6 @@ class RpcConnection(object):
def __nonzero__(self):
return self._connected
def _enable_fallback(self):
pass
def _disable_fallback(self):
pass
def _send_capabilities(self):
'''
Send capabilities to the peer, only work in fallback mode for
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment