2016-08-08 17:34:07 +02:00
|
|
|
import synapse.api.auth
|
2017-10-17 20:46:56 +02:00
|
|
|
import synapse.federation.transaction_queue
|
|
|
|
import synapse.federation.transport.client
|
2016-07-19 11:21:42 +02:00
|
|
|
import synapse.handlers
|
|
|
|
import synapse.handlers.auth
|
2017-11-29 12:48:43 +01:00
|
|
|
import synapse.handlers.deactivate_account
|
2016-07-19 11:21:42 +02:00
|
|
|
import synapse.handlers.device
|
2016-08-01 19:02:07 +02:00
|
|
|
import synapse.handlers.e2e_keys
|
2017-11-29 15:10:46 +01:00
|
|
|
import synapse.handlers.set_password
|
2017-11-21 12:08:08 +01:00
|
|
|
import synapse.rest.media.v1.media_repository
|
2016-07-19 11:21:42 +02:00
|
|
|
import synapse.state
|
2017-11-29 12:48:43 +01:00
|
|
|
import synapse.storage
|
|
|
|
|
2016-07-19 11:21:42 +02:00
|
|
|
|
|
|
|
class HomeServer(object):
|
2016-08-08 17:34:07 +02:00
|
|
|
def get_auth(self) -> synapse.api.auth.Auth:
|
|
|
|
pass
|
|
|
|
|
2016-07-19 11:21:42 +02:00
|
|
|
def get_auth_handler(self) -> synapse.handlers.auth.AuthHandler:
|
|
|
|
pass
|
|
|
|
|
|
|
|
def get_datastore(self) -> synapse.storage.DataStore:
|
|
|
|
pass
|
|
|
|
|
|
|
|
def get_device_handler(self) -> synapse.handlers.device.DeviceHandler:
|
|
|
|
pass
|
|
|
|
|
2016-08-01 19:02:07 +02:00
|
|
|
def get_e2e_keys_handler(self) -> synapse.handlers.e2e_keys.E2eKeysHandler:
|
|
|
|
pass
|
|
|
|
|
2016-07-19 11:21:42 +02:00
|
|
|
def get_handlers(self) -> synapse.handlers.Handlers:
|
|
|
|
pass
|
|
|
|
|
|
|
|
def get_state_handler(self) -> synapse.state.StateHandler:
|
|
|
|
pass
|
2017-10-17 20:46:56 +02:00
|
|
|
|
2017-11-29 12:48:43 +01:00
|
|
|
def get_deactivate_account_handler(self) -> synapse.handlers.deactivate_account.DeactivateAccountHandler:
|
|
|
|
pass
|
|
|
|
|
2017-11-29 15:10:46 +01:00
|
|
|
def get_set_password_handler(self) -> synapse.handlers.set_password.SetPasswordHandler:
|
|
|
|
pass
|
|
|
|
|
2017-10-17 20:46:56 +02:00
|
|
|
def get_federation_sender(self) -> synapse.federation.transaction_queue.TransactionQueue:
|
|
|
|
pass
|
|
|
|
|
|
|
|
def get_federation_transport_client(self) -> synapse.federation.transport.client.TransportLayerClient:
|
|
|
|
pass
|
2017-11-21 12:08:08 +01:00
|
|
|
|
|
|
|
def get_media_repository_resource(self) -> synapse.rest.media.v1.media_repository.MediaRepositoryResource:
|
|
|
|
pass
|
|
|
|
|
|
|
|
def get_media_repository(self) -> synapse.rest.media.v1.media_repository.MediaRepository:
|
|
|
|
pass
|