class
Circed::Server
- Circed::Server
- Reference
- Object
Defined in:
circed/server.crConstant Summary
-
CLIENT_COMMANDS =
{"NICK", "USER", "CAP", "JOIN", "PART", "MODE", "KICK", "TOPIC", "INVITE", "LIST", "WHOIS", "WHO", "NAMES", "AWAY", "STARTTLS", "QUIT", "NOTICE", "PRIVMSG", "OPER", "KILL", "REHASH", "RESTART", "DIE", "CONNECT", "SQUIT", Domain::LineBan::KLINE, Domain::LineBan::GLINE, Domain::LineBan::ZLINE} -
INITIAL_LINK_RETRY_DELAY =
1.second -
MAX_LINK_RETRY_DELAY =
30.seconds -
SUPPORTED_CHANNEL_MODES =
"biklmnopsthv" -
SUPPORTED_USER_MODES =
"iwoO"
Class Method Summary
- .address
- .bootup_servers
- .clean_name
- .config
- .config=(config : Config)
- .connect_linked_server(host : String, port : Int32 | Nil = nil) : Bool
- .created
- .detect_connection_type(buffer) : Symbol | Nil
- .extract_commands(buffer) : Set(String)
- .handle_client(connection : TCPSocket, is_ssl : Bool = false)
- .handle_server_connection(connection : Network::SSLSocket::IRCSocket, buffer, remote_addr : Socket::IPAddress)
- .handle_user_connection(client : Network::SSLSocket::IRCSocket, buffer, remote_addr : Socket::IPAddress | Nil = nil)
- .handle_wrapped_client(connection : Network::SSLSocket::IRCSocket, remote_addr : Socket::IPAddress)
- .lusers(client : Client)
- .motd(client : Client)
- .name
- .rehash_config! : Nil
- .restart_by_operator(reason : String) : Nil
- .shutdown_by_operator(reason : String) : Nil
- .start
- .start_message
- .start_time
- .watch_config_file
- .welcome_message(client : Client)
Class Method Detail
def self.handle_server_connection(connection : Network::SSLSocket::IRCSocket, buffer, remote_addr : Socket::IPAddress)
#
def self.handle_user_connection(client : Network::SSLSocket::IRCSocket, buffer, remote_addr : Socket::IPAddress | Nil = nil)
#
def self.handle_wrapped_client(connection : Network::SSLSocket::IRCSocket, remote_addr : Socket::IPAddress)
#