mirror of
https://github.com/hakril/PythonForWindows
synced 2026-06-08 14:31:45 +00:00
Updated docstring of RPCClient to link to AlpcClient & documented AlpcClient.port_name
This commit is contained in:
+1
-1
@@ -354,7 +354,7 @@ class AlpcClient(AlpcTransportBase):
|
||||
def __init__(self, port_name=None):
|
||||
"""Init the :class:`AlpcClient` automatically connect to ``port_name`` using default values if given"""
|
||||
self.handle = None
|
||||
self.port_name = None
|
||||
self.port_name = None #: The name of the ALPC port the client is connect to.
|
||||
if port_name is not None:
|
||||
x = self.connect_to_port(port_name, "")
|
||||
|
||||
|
||||
@@ -64,7 +64,7 @@ class RPCClient(object):
|
||||
"""A client for RPC-over-ALPC able to bind to interface and perform calls using NDR32 marshalling"""
|
||||
REQUEST_IDENTIFIER = 0x11223344
|
||||
def __init__(self, port):
|
||||
self.alpc_client = alpc.AlpcClient(port)
|
||||
self.alpc_client = alpc.AlpcClient(port) #: The :class:`windows.alpc.AlpcClient` used to communicate with the server
|
||||
self.number_of_bind_if = 0 # if -> interface
|
||||
self.if_bind_number = {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user