2016-08-08 17:34:07 +02:00
|
|
|
import synapse.api.auth
|
2018-05-17 12:34:28 +02:00
|
|
|
import synapse.config.homeserver
|
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
|
2019-02-26 12:25:00 +01:00
|
|
|
import synapse.handlers.message
|
2018-08-22 11:57:54 +02:00
|
|
|
import synapse.handlers.room
|
|
|
|
import synapse.handlers.room_member
|
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
|
2018-05-17 12:34:28 +02:00
|
|
|
import synapse.server_notices.server_notices_manager
|
2018-05-17 18:35:31 +02:00
|
|
|
import synapse.server_notices.server_notices_sender
|
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):
|
2018-05-17 12:34:28 +02:00
|
|
|
@property
|
|
|
|
def config(self) -> synapse.config.homeserver.HomeServerConfig:
|
|
|
|
pass
|
|
|
|
|
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
|
|
|
|
2018-01-27 10:15:45 +01:00
|
|
|
def get_state_resolution_handler(self) -> synapse.state.StateResolutionHandler:
|
|
|
|
pass
|
|
|
|
|
2017-11-29 12:48:43 +01:00
|
|
|
def get_deactivate_account_handler(self) -> synapse.handlers.deactivate_account.DeactivateAccountHandler:
|
|
|
|
pass
|
|
|
|
|
2018-05-17 10:01:09 +02:00
|
|
|
def get_room_creation_handler(self) -> synapse.handlers.room.RoomCreationHandler:
|
|
|
|
pass
|
|
|
|
|
2018-08-22 11:57:54 +02:00
|
|
|
def get_room_member_handler(self) -> synapse.handlers.room_member.RoomMemberHandler:
|
|
|
|
pass
|
|
|
|
|
2018-05-17 12:34:28 +02:00
|
|
|
def get_event_creation_handler(self) -> synapse.handlers.message.EventCreationHandler:
|
|
|
|
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
|
2018-05-17 12:34:28 +02:00
|
|
|
|
|
|
|
def get_server_notices_manager(self) -> synapse.server_notices.server_notices_manager.ServerNoticesManager:
|
|
|
|
pass
|
2018-05-17 18:35:31 +02:00
|
|
|
|
|
|
|
def get_server_notices_sender(self) -> synapse.server_notices.server_notices_sender.ServerNoticesSender:
|
|
|
|
pass
|