Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
sjrpc
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirror
sjrpc
Commits
8478a8f3
Commit
8478a8f3
authored
13 years ago
by
Antoine Millet
Browse files
Options
Downloads
Patches
Plain Diff
Removed old stuff.
parent
22da0af4
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
sjrpc/core/rpcconnection.py
+0
-10
0 additions, 10 deletions
sjrpc/core/rpcconnection.py
with
0 additions
and
10 deletions
sjrpc/core/rpcconnection.py
+
0
−
10
View file @
8478a8f3
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment