MCPcopy Create free account
hub / github.com/apache/thrift / _socket_args

Method _socket_args

test/crossrunner/test.py:61–68  ·  view source on GitHub ↗
(self, socket, port)

Source from the content-addressed store, hash-verified

59 return cmd
60
61 def _socket_args(self, socket, port):
62 support_socket_activation = self.kind == 'server' and sys.platform != "win32"
63 return {
64 'ip-ssl': ['--ssl'],
65 'domain': ['--domain-socket=%s' % domain_socket_path(port)],
66 'domain-socketactivated': (['--emulate-socketactivation'] if support_socket_activation else []) + ['--domain-socket=%s' % domain_socket_path(port)],
67 'abstract': ['--abstract-namespace', '--domain-socket=%s' % domain_socket_path(port)],
68 }.get(socket, None)
69
70 def _transport_args(self, transport):
71 return {

Callers 1

build_commandMethod · 0.95

Calls 2

domain_socket_pathFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected