void setBans( BanList bans) throws ServerBootedException, InvalidSecretException BanList getBans() throws ServerBootedException, InvalidSecretExceptionįetch all current IP bans on the server. Recursive tree of all channels and connected users. This is primarily used for viewing the state of the server on a webpage. This retrieves an easy-to-use representation of the serverĪs a tree. Tree getTree() throws ServerBootedException, InvalidSecretExceptionįetch all channels and connected users as a tree. This returns the complete certificate chain of a user. See Also getChannelState CertificateList getCertificateList(int session) throws ServerBootedException, InvalidSessionException, InvalidSecretExceptionįetch certificate of user. This returns all defined channels on the server. See Also getState ChannelMap getChannels() throws ServerBootedException, InvalidSecretExceptionįetch all channels. This returns all currently connected users on the server. Number of entries in log UserMap getUsers() throws ServerBootedException, InvalidSecretExceptionįetch all users. int getLogLen() throws InvalidSecretException LogList getLog(int first, int last) throws InvalidSecretException This is just a convenience for using updateRegistration on user id 0. void setSuperuserPassword(string pw) throws InvalidSecretException void setConf(string key, string value) throws InvalidSecretExceptionĬonfiguration value. If a value isn't set here, the value from Meta::getDefaultConf is used. If this is empty, see Meta::getDefaultConf ConfigMap getAllConf() throws InvalidSecretException string getConf(string key) throws InvalidSecretException, WriteOnlyException If set, all authentications from clients are forwarded to thisĪuthenticator object to perform subsequent authentications. See Also addCallback void setAuthenticator( ServerAuthenticator* auth) throws ServerBootedException, InvalidCallbackException, InvalidSecretException See Also removeCallback void removeCallback( ServerCallback* cb) throws ServerBootedException, InvalidCallbackException, InvalidSecretExceptionĬallback interface to be removed. Parameters cbĬallback interface which will receive notifications. The callback will receive notifications about changes to users and channels. void addCallback( ServerCallback* cb) throws ServerBootedException, InvalidCallbackException, InvalidSecretExceptionĪdd a callback. With setConf("boot", false) void delete() throws ServerBootedException, InvalidSecretExceptionĭelete server and all it's configuration. Note: Server will be restarted on Murmur restart unless explicitly disabled void stop() throws ServerBootedException, InvalidSecretException void start() throws ServerBootedException, ServerFailureException, InvalidSecretException ![]() Shows if the server currently running (accepting users). Operations bool isRunning() throws InvalidSecretException Update the server's certificate information. getRegisteredUsersįetch a group of registered users. getRegistrationįetch registration for a single user. Map a list of user names to a matching id. Map a list of User::userid to a matching name. Remove a user from a temporary group membership on a channel. Temporarily add a user to a group on a channel. Send text message to channel or a tree of channels. Remove a channel and all its subchannels. addContextCallbackĪdd a context callback. Return users effective session Connection ID of user. hasPermissionĬheck if user is permitted to perform action. getBansįetch all current IP bans on the server. setSuperuserPasswordįetch length of Number of entries in logįetch all channels and connected users as a tree. startĭelete server and all it's configuration. ![]() You can retrieve a pointer to this interfaceįrom one of the methods in Meta. This includes all methods for configuring and altering
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |