Пример #1
0
 def __init__(self):
     """
     Initialize sessionManager util.
     """
     self._session_stub = SessionProxyResponderStub(
         get_rpc_channel("sessiond"))
     self._directorydstub = GatewayDirectoryServiceStub(
         get_rpc_channel("directoryd"))
Пример #2
0
 def __init__(self):
     """ Init the gRPC stub.  """
     self._added_sids = set()
     self._subscriber_stub = SubscriberDBStub(
         get_rpc_channel("subscriberdb"))
Пример #3
0
 def __init__(self):
     """
     Initialize spgw util.
     """
     self._stub = SpgwServiceStub(get_rpc_channel("spgw_service"))
Пример #4
0
 def __init__(self):
     """ Init the gRPC stub. """
     self._mobility_stub = MobilityServiceStub(get_rpc_channel("mobilityd"))
Пример #5
0
 def __init__(self):
     self._ha_stub = HaServiceStub(get_rpc_channel("spgw_service"))
Пример #6
0
 def __init__(self, channel_name):
     self._service_stub = Service303Stub(get_rpc_channel(channel_name))
     self._service_name = channel_name
Пример #7
0
 def __init__(self):
     self._magmad_stub = MagmadStub(get_rpc_channel("magmad"))
Пример #8
0
 def __init__(self):
     """ Init the gRPC stub to connect to subscriberDb. """
     super().__init__(SubscriberDBStub(get_rpc_channel("subscriberdb")))