__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

aptanhua@216.73.216.200: ~ $
3

���h+�@sLdZdZGdd�de�ZGdd�de�ZGdd�de�ZGdd	�d	e�Zd
S)a*Contains metaclasses used to create protocol service and service stub
classes from ServiceDescriptor objects at runtime.

The GeneratedServiceType and GeneratedServiceStubType metaclasses are used to
inject all useful functionality into the classes output by the protocol
compiler at compile-time.
zpetar@google.com (Petar Petrov)c@seZdZdZdZdd�ZdS)�GeneratedServiceTypea�Metaclass for service classes created at runtime from ServiceDescriptors.

  Implementations for all methods described in the Service class are added here
  by this class. We also create properties to allow getting/setting all fields
  in the protocol message.

  The protocol compiler currently uses this metaclass to create protocol service
  classes at runtime. Clients can also manually create their own classes at
  runtime, as in this example:

  mydescriptor = ServiceDescriptor(.....)
  class MyProtoService(service.Service):
    __metaclass__ = GeneratedServiceType
    DESCRIPTOR = mydescriptor
  myservice_instance = MyProtoService()
  ...
  �
DESCRIPTORcCs.tj|krdS|tj}t|�}|j|�dS)a�Creates a message service class.

    Args:
      name: Name of the class (ignored, but required by the metaclass
        protocol).
      bases: Base classes of the class being constructed.
      dictionary: The class dictionary of the class being constructed.
        dictionary[_DESCRIPTOR_KEY] must contain a ServiceDescriptor object
        describing this protocol service type.
    N)r�_DESCRIPTOR_KEY�_ServiceBuilder�BuildService)�cls�name�bases�
dictionary�
descriptorZservice_builder�r�(/usr/lib/python3.6/service_reflection.py�__init__@s


zGeneratedServiceType.__init__N)�__name__�
__module__�__qualname__�__doc__rr
rrrrr*srcs$eZdZdZdZ�fdd�Z�ZS)�GeneratedServiceStubTypez�Metaclass for service stubs created at runtime from ServiceDescriptors.

  This class has similar responsibilities as GeneratedServiceType, except that
  it creates the service stub classes.
  rcsBtt|�j|||�tj|kr"dS|tj}t|�}|j|�dS)a`Creates a message service stub class.

    Args:
      name: Name of the class (ignored, here).
      bases: Base classes of the class being constructed.
      dictionary: The class dictionary of the class being constructed.
        dictionary[_DESCRIPTOR_KEY] must contain a ServiceDescriptor object
        describing this protocol service type.
    N)�superrr
r�_ServiceStubBuilder�BuildServiceStub)rrrr	r
Zservice_stub_builder)�	__class__rrr
^s


z!GeneratedServiceStubType.__init__)rrrrrr
�
__classcell__rr)rrrTsrc@sHeZdZdZdd�Zdd�Zdd�Zdd	�Zd
d�Zdd
�Z	dd�Z
dS)raDThis class constructs a protocol service class using a service descriptor.

  Given a service descriptor, this class constructs a class that represents
  the specified service descriptor. One service builder instance constructs
  exactly one service class. That means all instances of that class share the
  same builder.
  cCs
||_dS)z�Initializes an instance of the service class builder.

    Args:
      service_descriptor: ServiceDescriptor to use when constructing the
        service class.
    N)r
)�self�service_descriptorrrrr
|sz_ServiceBuilder.__init__csl�fdd�}|�_||_t�fdd��|_d|j_�j|_�j|_x$�j	j
D]}t||j�j
|��qLWdS)z\Constructs the service class.

    Args:
      cls: The class that will be constructed.
    cs�j|||||�S)N)�_CallMethod)�srvc�method_descriptor�rpc_controller�request�callback)rrr�_WrapCallMethod�sz5_ServiceBuilder.BuildService.<locals>._WrapCallMethodcs�jS)N)r
r)rrr�<lambda>�sz._ServiceBuilder.BuildService.<locals>.<lambda>zReturns the service descriptor.N)r�
CallMethod�staticmethodZ
GetDescriptorr�_GetRequestClassZGetRequestClass�_GetResponseClassZGetResponseClassr
�methods�setattrr�_GenerateNonImplementedMethod)rrr �methodr)rrr�s
z_ServiceBuilder.BuildServicecCs,|j|jkrtd��t||j�}||||�S)a�Calls the method described by a given method descriptor.

    Args:
      srvc: Instance of the service for which this method is called.
      method_descriptor: Descriptor that represent the method to call.
      rpc_controller: RPC controller to use for this method's execution.
      request: Request protocol message.
      callback: A callback to invoke after the method has completed.
    z<CallMethod() given method descriptor for wrong service type.)�containing_servicer
�RuntimeError�getattrr)rrrrrrr)rrrr�s
z_ServiceBuilder._CallMethodcCs|j|jkrtd��|jjS)aReturns the class of the request protocol message.

    Args:
      method_descriptor: Descriptor of the method for which to return the
        request protocol message class.

    Returns:
      A class that represents the input protocol message of the specified
      method.
    zAGetRequestClass() given method descriptor for wrong service type.)r*r
r+Z
input_type�_concrete_class)rrrrrr$�sz _ServiceBuilder._GetRequestClasscCs|j|jkrtd��|jjS)aReturns the class of the response protocol message.

    Args:
      method_descriptor: Descriptor of the method for which to return the
        response protocol message class.

    Returns:
      A class that represents the output protocol message of the specified
      method.
    zBGetResponseClass() given method descriptor for wrong service type.)r*r
r+�output_typer-)rrrrrr%�sz!_ServiceBuilder._GetResponseClasscs��fdd�S)z�Generates and returns a method that can be set for a service methods.

    Args:
      method: Descriptor of the service method for which a method is to be
        generated.

    Returns:
      A method that can be added to the service class.
    cs�j�j||�S)N)�_NonImplementedMethodr)�instrrr)r)rrrr!�sz?_ServiceBuilder._GenerateNonImplementedMethod.<locals>.<lambda>r)rr)r)r)rrr(�s
z-_ServiceBuilder._GenerateNonImplementedMethodcCs|jd|�|d�dS)a
The body of all methods in the generated service class.

    Args:
      method_name: Name of the method being executed.
      rpc_controller: RPC controller used to execute this method.
      callback: A callback which will be invoked when the method finishes.
    zMethod %s not implemented.N)Z	SetFailed)rZmethod_namerrrrrr/�sz%_ServiceBuilder._NonImplementedMethodN)rrrrr
rrr$r%r(r/rrrrrrs	
rc@s0eZdZdZdd�Zdd�Zdd�Zdd	�Zd
S)ra�Constructs a protocol service stub class using a service descriptor.

  Given a service descriptor, this class constructs a suitable stub class.
  A stub is just a type-safe wrapper around an RpcChannel which emulates a
  local implementation of the service.

  One service stub builder instance constructs exactly one class. It means all
  instances of that class share the same service stub builder.
  cCs
||_dS)z�Initializes an instance of the service stub class builder.

    Args:
      service_descriptor: ServiceDescriptor to use when constructing the
        stub class.
    N)r
)rrrrrr
�sz_ServiceStubBuilder.__init__cCs>dd�}||_||_x$|jjD]}t||j|j|��qWdS)zYConstructs the stub class.

    Args:
      cls: The class that will be constructed.
    cSs
||_dS)N)�rpc_channel)�stubr1rrr�_ServiceStubInitsz>_ServiceStubBuilder.BuildServiceStub.<locals>._ServiceStubInitN)rr
r
r&r'r�_GenerateStubMethod)rrr3r)rrrr�s
z$_ServiceStubBuilder.BuildServiceStubcsd��fdd�	S)Ncs�j|�|||�S)N)�_StubMethod)r0rrr)r)rrrr!
sz9_ServiceStubBuilder._GenerateStubMethod.<locals>.<lambda>)Nr)rr)r)r)rrr4	sz'_ServiceStubBuilder._GenerateStubMethodcCs|jj||||jj|�S)a�The body of all service methods in the generated stub class.

    Args:
      stub: Stub instance.
      method_descriptor: Descriptor of the invoked method.
      rpc_controller: Rpc controller to execute the method.
      request: Request protocol message.
      callback: A callback to execute when the method finishes.
    Returns:
      Response message (in case of blocking call).
    )r1r"r.r-)rr2rrrrrrrr5
s
z_ServiceStubBuilder._StubMethodN)rrrrr
rr4r5rrrrr�s

	rN)r�
__author__�typerr�objectrrrrrr�<module>%s
*t

Filemanager

Name Type Size Permission Actions
__init__.cpython-36.opt-1.pyc File 319 B 0644
__init__.cpython-36.pyc File 319 B 0644
any_pb2.cpython-36.opt-1.pyc File 2.09 KB 0644
any_pb2.cpython-36.pyc File 2.09 KB 0644
any_test_pb2.cpython-36.opt-1.pyc File 2.18 KB 0644
any_test_pb2.cpython-36.pyc File 2.18 KB 0644
api_pb2.cpython-36.opt-1.pyc File 4.73 KB 0644
api_pb2.cpython-36.pyc File 4.73 KB 0644
descriptor.cpython-36.opt-1.pyc File 31.27 KB 0644
descriptor.cpython-36.pyc File 31.27 KB 0644
descriptor_database.cpython-36.opt-1.pyc File 4.11 KB 0644
descriptor_database.cpython-36.pyc File 4.11 KB 0644
descriptor_pb2.cpython-36.opt-1.pyc File 30.36 KB 0644
descriptor_pb2.cpython-36.pyc File 30.36 KB 0644
descriptor_pool.cpython-36.opt-1.pyc File 26.77 KB 0644
descriptor_pool.cpython-36.pyc File 26.8 KB 0644
duration_pb2.cpython-36.opt-1.pyc File 2.13 KB 0644
duration_pb2.cpython-36.pyc File 2.13 KB 0644
empty_pb2.cpython-36.opt-1.pyc File 1.69 KB 0644
empty_pb2.cpython-36.pyc File 1.69 KB 0644
field_mask_pb2.cpython-36.opt-1.pyc File 2.05 KB 0644
field_mask_pb2.cpython-36.pyc File 2.05 KB 0644
json_format.cpython-36.opt-1.pyc File 20.32 KB 0644
json_format.cpython-36.pyc File 20.32 KB 0644
map_proto2_unittest_pb2.cpython-36.opt-1.pyc File 18.31 KB 0644
map_proto2_unittest_pb2.cpython-36.pyc File 18.31 KB 0644
map_unittest_pb2.cpython-36.opt-1.pyc File 39.56 KB 0644
map_unittest_pb2.cpython-36.pyc File 39.56 KB 0644
message.cpython-36.opt-1.pyc File 10.48 KB 0644
message.cpython-36.pyc File 10.48 KB 0644
message_factory.cpython-36.opt-1.pyc File 3.93 KB 0644
message_factory.cpython-36.pyc File 3.93 KB 0644
proto_builder.cpython-36.opt-1.pyc File 2.68 KB 0644
proto_builder.cpython-36.pyc File 2.68 KB 0644
reflection.cpython-36.opt-1.pyc File 2.65 KB 0644
reflection.cpython-36.pyc File 2.65 KB 0644
service.cpython-36.opt-1.pyc File 8.56 KB 0644
service.cpython-36.pyc File 8.56 KB 0644
service_reflection.cpython-36.opt-1.pyc File 9.76 KB 0644
service_reflection.cpython-36.pyc File 9.76 KB 0644
source_context_pb2.cpython-36.opt-1.pyc File 2.15 KB 0644
source_context_pb2.cpython-36.pyc File 2.15 KB 0644
struct_pb2.cpython-36.opt-1.pyc File 5.02 KB 0644
struct_pb2.cpython-36.pyc File 5.02 KB 0644
symbol_database.cpython-36.opt-1.pyc File 5.32 KB 0644
symbol_database.cpython-36.pyc File 5.32 KB 0644
test_messages_proto2_pb2.cpython-36.opt-1.pyc File 38.69 KB 0644
test_messages_proto2_pb2.cpython-36.pyc File 38.69 KB 0644
test_messages_proto3_pb2.cpython-36.opt-1.pyc File 43.27 KB 0644
test_messages_proto3_pb2.cpython-36.pyc File 43.27 KB 0644
text_encoding.cpython-36.opt-1.pyc File 3.06 KB 0644
text_encoding.cpython-36.pyc File 3.06 KB 0644
text_format.cpython-36.opt-1.pyc File 38.55 KB 0644
text_format.cpython-36.pyc File 38.58 KB 0644
timestamp_pb2.cpython-36.opt-1.pyc File 2.14 KB 0644
timestamp_pb2.cpython-36.pyc File 2.14 KB 0644
type_pb2.cpython-36.opt-1.pyc File 8.49 KB 0644
type_pb2.cpython-36.pyc File 8.49 KB 0644
unittest_arena_pb2.cpython-36.opt-1.pyc File 2.76 KB 0644
unittest_arena_pb2.cpython-36.pyc File 2.76 KB 0644
unittest_custom_options_pb2.cpython-36.opt-1.pyc File 32.24 KB 0644
unittest_custom_options_pb2.cpython-36.pyc File 32.24 KB 0644
unittest_import_pb2.cpython-36.opt-1.pyc File 3.11 KB 0644
unittest_import_pb2.cpython-36.pyc File 3.11 KB 0644
unittest_import_public_pb2.cpython-36.opt-1.pyc File 1.93 KB 0644
unittest_import_public_pb2.cpython-36.pyc File 1.93 KB 0644
unittest_mset_pb2.cpython-36.opt-1.pyc File 4.46 KB 0644
unittest_mset_pb2.cpython-36.pyc File 4.46 KB 0644
unittest_mset_wire_format_pb2.cpython-36.opt-1.pyc File 2.51 KB 0644
unittest_mset_wire_format_pb2.cpython-36.pyc File 2.51 KB 0644
unittest_no_arena_import_pb2.cpython-36.opt-1.pyc File 1.83 KB 0644
unittest_no_arena_import_pb2.cpython-36.pyc File 1.83 KB 0644
unittest_no_arena_pb2.cpython-36.opt-1.pyc File 20.24 KB 0644
unittest_no_arena_pb2.cpython-36.pyc File 20.24 KB 0644
unittest_no_generic_services_pb2.cpython-36.opt-1.pyc File 3.23 KB 0644
unittest_no_generic_services_pb2.cpython-36.pyc File 3.23 KB 0644
unittest_pb2.cpython-36.opt-1.pyc File 124.95 KB 0644
unittest_pb2.cpython-36.pyc File 124.95 KB 0644
unittest_proto3_arena_pb2.cpython-36.opt-1.pyc File 21.42 KB 0644
unittest_proto3_arena_pb2.cpython-36.pyc File 21.42 KB 0644
wrappers_pb2.cpython-36.opt-1.pyc File 4.58 KB 0644
wrappers_pb2.cpython-36.pyc File 4.58 KB 0644