synapse-product/synapse/server.pyi

79 lines
2.7 KiB
Python
Raw Normal View History

import synapse.api.auth
import synapse.config.homeserver
2019-03-13 16:02:56 -04:00
import synapse.federation.sender
import synapse.federation.transaction_queue
import synapse.federation.transport.client
import synapse.handlers
import synapse.handlers.auth
import synapse.handlers.deactivate_account
import synapse.handlers.device
2016-08-01 13:02:07 -04:00
import synapse.handlers.e2e_keys
import synapse.handlers.message
import synapse.handlers.room
import synapse.handlers.room_member
import synapse.handlers.set_password
import synapse.rest.media.v1.media_repository
import synapse.server_notices.server_notices_manager
import synapse.server_notices.server_notices_sender
import synapse.state
import synapse.storage
class HomeServer(object):
@property
def config(self) -> synapse.config.homeserver.HomeServerConfig:
pass
def get_auth(self) -> synapse.api.auth.Auth:
pass
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
def get_handlers(self) -> synapse.handlers.Handlers:
pass
def get_state_handler(self) -> synapse.state.StateHandler:
pass
def get_state_resolution_handler(self) -> synapse.state.StateResolutionHandler:
pass
2019-06-20 05:32:02 -04:00
def get_deactivate_account_handler(
self,
2019-06-20 05:32:02 -04:00
) -> synapse.handlers.deactivate_account.DeactivateAccountHandler:
pass
def get_room_creation_handler(self) -> synapse.handlers.room.RoomCreationHandler:
pass
def get_room_member_handler(self) -> synapse.handlers.room_member.RoomMemberHandler:
pass
2019-06-20 05:32:02 -04:00
def get_event_creation_handler(
self,
2019-06-20 05:32:02 -04:00
) -> synapse.handlers.message.EventCreationHandler:
pass
2019-06-20 05:32:02 -04:00
def get_set_password_handler(
self,
2019-06-20 05:32:02 -04:00
) -> synapse.handlers.set_password.SetPasswordHandler:
pass
2019-03-13 16:02:56 -04:00
def get_federation_sender(self) -> synapse.federation.sender.FederationSender:
pass
2019-06-20 05:32:02 -04:00
def get_federation_transport_client(
self,
2019-06-20 05:32:02 -04:00
) -> synapse.federation.transport.client.TransportLayerClient:
pass
2019-06-20 05:32:02 -04:00
def get_media_repository_resource(
self,
2019-06-20 05:32:02 -04:00
) -> synapse.rest.media.v1.media_repository.MediaRepositoryResource:
pass
2019-06-20 05:32:02 -04:00
def get_media_repository(
self,
2019-06-20 05:32:02 -04:00
) -> synapse.rest.media.v1.media_repository.MediaRepository:
pass
2019-06-20 05:32:02 -04:00
def get_server_notices_manager(
self,
2019-06-20 05:32:02 -04:00
) -> synapse.server_notices.server_notices_manager.ServerNoticesManager:
pass
2019-06-20 05:32:02 -04:00
def get_server_notices_sender(
self,
2019-06-20 05:32:02 -04:00
) -> synapse.server_notices.server_notices_sender.ServerNoticesSender:
pass