2016-08-08 09:34:07 -06:00
|
|
|
import synapse.api.auth
|
2018-05-17 04:34:28 -06:00
|
|
|
import synapse.config.homeserver
|
2019-03-13 14:02:56 -06:00
|
|
|
import synapse.federation.sender
|
2017-10-17 12:46:56 -06:00
|
|
|
import synapse.federation.transaction_queue
|
|
|
|
import synapse.federation.transport.client
|
2016-07-19 03:21:42 -06:00
|
|
|
import synapse.handlers
|
|
|
|
import synapse.handlers.auth
|
2017-11-29 04:48:43 -07:00
|
|
|
import synapse.handlers.deactivate_account
|
2016-07-19 03:21:42 -06:00
|
|
|
import synapse.handlers.device
|
2016-08-01 11:02:07 -06:00
|
|
|
import synapse.handlers.e2e_keys
|
2019-02-27 14:03:14 -07:00
|
|
|
import synapse.handlers.message
|
2018-08-22 03:57:54 -06:00
|
|
|
import synapse.handlers.room
|
|
|
|
import synapse.handlers.room_member
|
2017-11-29 07:10:46 -07:00
|
|
|
import synapse.handlers.set_password
|
2017-11-21 04:08:08 -07:00
|
|
|
import synapse.rest.media.v1.media_repository
|
2018-05-17 04:34:28 -06:00
|
|
|
import synapse.server_notices.server_notices_manager
|
2018-05-17 10:35:31 -06:00
|
|
|
import synapse.server_notices.server_notices_sender
|
2016-07-19 03:21:42 -06:00
|
|
|
import synapse.state
|
2017-11-29 04:48:43 -07:00
|
|
|
import synapse.storage
|
|
|
|
|
2016-07-19 03:21:42 -06:00
|
|
|
class HomeServer(object):
|
2018-05-17 04:34:28 -06:00
|
|
|
@property
|
|
|
|
def config(self) -> synapse.config.homeserver.HomeServerConfig:
|
|
|
|
pass
|
|
|
|
|
2016-08-08 09:34:07 -06:00
|
|
|
def get_auth(self) -> synapse.api.auth.Auth:
|
|
|
|
pass
|
|
|
|
|
2016-07-19 03:21:42 -06: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 11:02:07 -06:00
|
|
|
def get_e2e_keys_handler(self) -> synapse.handlers.e2e_keys.E2eKeysHandler:
|
|
|
|
pass
|
|
|
|
|
2016-07-19 03:21:42 -06:00
|
|
|
def get_handlers(self) -> synapse.handlers.Handlers:
|
|
|
|
pass
|
|
|
|
|
|
|
|
def get_state_handler(self) -> synapse.state.StateHandler:
|
|
|
|
pass
|
2017-10-17 12:46:56 -06:00
|
|
|
|
2018-01-27 02:15:45 -07:00
|
|
|
def get_state_resolution_handler(self) -> synapse.state.StateResolutionHandler:
|
|
|
|
pass
|
|
|
|
|
2017-11-29 04:48:43 -07:00
|
|
|
def get_deactivate_account_handler(self) -> synapse.handlers.deactivate_account.DeactivateAccountHandler:
|
|
|
|
pass
|
|
|
|
|
2018-05-17 02:01:09 -06:00
|
|
|
def get_room_creation_handler(self) -> synapse.handlers.room.RoomCreationHandler:
|
|
|
|
pass
|
|
|
|
|
2018-08-22 03:57:54 -06:00
|
|
|
def get_room_member_handler(self) -> synapse.handlers.room_member.RoomMemberHandler:
|
|
|
|
pass
|
|
|
|
|
2018-05-17 04:34:28 -06:00
|
|
|
def get_event_creation_handler(self) -> synapse.handlers.message.EventCreationHandler:
|
|
|
|
pass
|
|
|
|
|
2017-11-29 07:10:46 -07:00
|
|
|
def get_set_password_handler(self) -> synapse.handlers.set_password.SetPasswordHandler:
|
|
|
|
pass
|
|
|
|
|
2019-03-13 14:02:56 -06:00
|
|
|
def get_federation_sender(self) -> synapse.federation.sender.FederationSender:
|
2017-10-17 12:46:56 -06:00
|
|
|
pass
|
|
|
|
|
|
|
|
def get_federation_transport_client(self) -> synapse.federation.transport.client.TransportLayerClient:
|
|
|
|
pass
|
2017-11-21 04:08:08 -07: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
|
2018-05-17 04:34:28 -06:00
|
|
|
|
|
|
|
def get_server_notices_manager(self) -> synapse.server_notices.server_notices_manager.ServerNoticesManager:
|
|
|
|
pass
|
2018-05-17 10:35:31 -06:00
|
|
|
|
|
|
|
def get_server_notices_sender(self) -> synapse.server_notices.server_notices_sender.ServerNoticesSender:
|
|
|
|
pass
|