2016-08-08 11:34:07 -04:00
|
|
|
import synapse.api.auth
|
2018-05-17 06:34:28 -04:00
|
|
|
import synapse.config.homeserver
|
2019-03-13 16:02:56 -04:00
|
|
|
import synapse.federation.sender
|
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
|
2019-02-27 16:03:14 -05:00
|
|
|
import synapse.handlers.message
|
2018-08-22 05:57:54 -04:00
|
|
|
import synapse.handlers.room
|
|
|
|
import synapse.handlers.room_member
|
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
|
2018-05-17 06:34:28 -04:00
|
|
|
import synapse.server_notices.server_notices_manager
|
2018-05-17 12:35:31 -04:00
|
|
|
import synapse.server_notices.server_notices_sender
|
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):
|
2018-05-17 06:34:28 -04:00
|
|
|
@property
|
|
|
|
def config(self) -> synapse.config.homeserver.HomeServerConfig:
|
|
|
|
pass
|
|
|
|
|
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
|
|
|
|
|
2018-08-22 05:57:54 -04:00
|
|
|
def get_room_member_handler(self) -> synapse.handlers.room_member.RoomMemberHandler:
|
|
|
|
pass
|
|
|
|
|
2018-05-17 06:34:28 -04:00
|
|
|
def get_event_creation_handler(self) -> synapse.handlers.message.EventCreationHandler:
|
|
|
|
pass
|
|
|
|
|
2017-11-29 09:10:46 -05:00
|
|
|
def get_set_password_handler(self) -> synapse.handlers.set_password.SetPasswordHandler:
|
|
|
|
pass
|
|
|
|
|
2019-03-13 16:02:56 -04:00
|
|
|
def get_federation_sender(self) -> synapse.federation.sender.FederationSender:
|
2017-10-17 14:46:56 -04:00
|
|
|
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
|
2018-05-17 06:34:28 -04:00
|
|
|
|
|
|
|
def get_server_notices_manager(self) -> synapse.server_notices.server_notices_manager.ServerNoticesManager:
|
|
|
|
pass
|
2018-05-17 12:35:31 -04:00
|
|
|
|
|
|
|
def get_server_notices_sender(self) -> synapse.server_notices.server_notices_sender.ServerNoticesSender:
|
|
|
|
pass
|