2016-08-08 11:34:07 -04:00
|
|
|
import synapse.api.auth
|
2017-10-17 14:46:56 -04:00
|
|
|
import synapse.federation.transaction_queue
|
|
|
|
import synapse.federation.transport.client
|
2016-07-19 05:21:42 -04:00
|
|
|
import synapse.handlers
|
|
|
|
import synapse.handlers.auth
|
2017-11-29 06:48:43 -05:00
|
|
|
import synapse.handlers.deactivate_account
|
2016-07-19 05:21:42 -04:00
|
|
|
import synapse.handlers.device
|
2016-08-01 13:02:07 -04:00
|
|
|
import synapse.handlers.e2e_keys
|
2017-11-29 09:10:46 -05:00
|
|
|
import synapse.handlers.set_password
|
2017-11-21 06:08:08 -05:00
|
|
|
import synapse.rest.media.v1.media_repository
|
2016-07-19 05:21:42 -04:00
|
|
|
import synapse.state
|
2017-11-29 06:48:43 -05:00
|
|
|
import synapse.storage
|
|
|
|
|
2016-07-19 05:21:42 -04:00
|
|
|
|
|
|
|
class HomeServer(object):
|
2016-08-08 11:34:07 -04:00
|
|
|
def get_auth(self) -> synapse.api.auth.Auth:
|
|
|
|
pass
|
|
|
|
|
2016-07-19 05:21:42 -04: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 13:02:07 -04:00
|
|
|
def get_e2e_keys_handler(self) -> synapse.handlers.e2e_keys.E2eKeysHandler:
|
|
|
|
pass
|
|
|
|
|
2016-07-19 05:21:42 -04:00
|
|
|
def get_handlers(self) -> synapse.handlers.Handlers:
|
|
|
|
pass
|
|
|
|
|
|
|
|
def get_state_handler(self) -> synapse.state.StateHandler:
|
|
|
|
pass
|
2017-10-17 14:46:56 -04:00
|
|
|
|
2018-01-27 04:15:45 -05:00
|
|
|
def get_state_resolution_handler(self) -> synapse.state.StateResolutionHandler:
|
|
|
|
pass
|
|
|
|
|
2017-11-29 06:48:43 -05:00
|
|
|
def get_deactivate_account_handler(self) -> synapse.handlers.deactivate_account.DeactivateAccountHandler:
|
|
|
|
pass
|
|
|
|
|
2018-05-17 04:01:09 -04:00
|
|
|
def get_room_creation_handler(self) -> synapse.handlers.room.RoomCreationHandler:
|
|
|
|
pass
|
|
|
|
|
2017-11-29 09:10:46 -05:00
|
|
|
def get_set_password_handler(self) -> synapse.handlers.set_password.SetPasswordHandler:
|
|
|
|
pass
|
|
|
|
|
2017-10-17 14:46:56 -04: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 06:08:08 -05: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
|