symphony.bdk.core.service_factory.ServiceFactory#

class symphony.bdk.core.service_factory.ServiceFactory(api_client_factory: symphony.bdk.core.client.api_client_factory.ApiClientFactory, auth_session: symphony.bdk.core.auth.auth_session.AuthSession, config: symphony.bdk.core.config.model.bdk_config.BdkConfig)#

Bases: object

Factory responsible for creating BDK service instances for Symphony Bdk entry point:

  • User Service

  • Message Service

  • Connection Service

  • Stream Service

  • Datafeed Loop

__init__(api_client_factory: symphony.bdk.core.client.api_client_factory.ApiClientFactory, auth_session: symphony.bdk.core.auth.auth_session.AuthSession, config: symphony.bdk.core.config.model.bdk_config.BdkConfig)#

Methods

__init__(api_client_factory, auth_session, ...)

get_application_service()

Returns a fully initialized ApplicationService

get_connection_service()

Returns a fully initialized ConnectionService

get_datafeed_loop()

Returns a fully initialized DatafeedLoop

get_datahose_loop()

Returns a fully initialized DatahoseLoop

get_health_service()

Returns a fully initialized HealthService

get_message_service()

Returns a fully initialized MessageService

get_presence_service()

Returns a fully initialized PresenceService

get_session_service()

Returns a fully initialized SessionService

get_signal_service()

Returns a fully initialized SignalService

get_stream_service()

Returns a fully initialized StreamService

get_user_service()

Returns a fully initialized UserService

get_application_service() symphony.bdk.core.service.application.application_service.ApplicationService#

Returns a fully initialized ApplicationService

Returns

a new ApplicationService instance

get_connection_service() symphony.bdk.core.service.connection.connection_service.ConnectionService#

Returns a fully initialized ConnectionService

Returns

a new ConnectionService instance.

get_datafeed_loop() symphony.bdk.core.service.datafeed.abstract_datafeed_loop.AbstractDatafeedLoop#

Returns a fully initialized DatafeedLoop

Returns

a new DatafeedLoop instance.

get_datahose_loop() symphony.bdk.core.service.datafeed.abstract_datahose_loop.AbstractDatahoseLoop#

Returns a fully initialized DatahoseLoop

Returns

a new DatahoseLoop instance.

get_health_service() symphony.bdk.core.service.health.health_service.HealthService#

Returns a fully initialized HealthService

Returns

a new HealthService instance

get_message_service() symphony.bdk.core.service.message.message_service.MessageService#

Returns a fully initialized MessageService

Returns

a new MessageService instance.

get_presence_service() symphony.bdk.core.service.presence.presence_service.PresenceService#

Returns a fully initialized PresenceService

Returns

a new PresenceService instance

get_session_service() symphony.bdk.core.service.session.session_service.SessionService#

Returns a fully initialized SessionService

Returns

a new SessionService instance

get_signal_service() symphony.bdk.core.service.signal.signal_service.SignalService#

Returns a fully initialized SignalService

Returns

a new SignalService instance

get_stream_service() symphony.bdk.core.service.stream.stream_service.StreamService#

Returns a fully initialized StreamService

Returns

a new StreamService instance

get_user_service() symphony.bdk.core.service.user.user_service.UserService#

Returns a fully initialized UserService

Returns

a new UserService instance.