(self, channel)
Constructor.

    Args:
      channel: A grpc.Channel.
Constructor.
Constructor .
def __init__(self, channel):
    """Constructor.

    Args:
      channel: A grpc.Channel.
    """
    self.push = channel.stream_unary(
        '/com.webank.ai.fate.api.networking.proxy.DataTransferService/push',
        request_serializer=fate__proxy__pb2.Packet.SerializeToString,
        response_deserializer=fate__proxy__pb2.Metadata.FromString,
        )
    self.pull = channel.unary_stream(
        '/com.webank.ai.fate.api.networking.proxy.DataTransferService/pull',
        request_serializer=fate__proxy__pb2.Metadata.SerializeToString,
        response_deserializer=fate__proxy__pb2.Packet.FromString,
        )
    self.unaryCall = channel.unary_unary(
        '/com.webank.ai.fate.api.networking.proxy.DataTransferService/unaryCall',
        request_serializer=fate__proxy__pb2.Packet.SerializeToString,
        response_deserializer=fate__proxy__pb2.Packet.FromString,
        )
def __init__ ( self , channel ) : self . push = channel . stream_unary ( '/com.webank.ai.fate.api.networking.proxy.DataTransferService/push' , request_serializer = fate__proxy__pb2 . Packet . SerializeToString , response_deserializer = fate__proxy__pb2 . Metadata . FromString , ) self . pull = channel . unary_stream ( '/com.webank.ai.fate.api.networking.proxy.DataTransferService/pull' , request_serializer = fate__proxy__pb2 . Metadata . SerializeToString , response_deserializer = fate__proxy__pb2 . Packet . FromString , ) self . unaryCall = channel . unary_unary ( '/com.webank.ai.fate.api.networking.proxy.DataTransferService/unaryCall' , request_serializer = fate__proxy__pb2 . Packet . SerializeToString , response_deserializer = fate__proxy__pb2 . Packet . FromString , )