class
Circed::LinkServer
- Circed::LinkServer
- Reference
- Object
Included Modules
Defined in:
circed/servers/link_server.crConstructors
- .new(name : String, target_host : String, target_port : Int32, password : String)
- .new(socket : IPSocket | Nil, buffer : Array(String))
Instance Method Summary
- #authenticate_incoming_server
- #close(reason : String = "Closing connection")
- #closed? : Bool
- #handle_away_change(payload)
- #handle_error(payload)
- #handle_join_message(payload)
- #handle_message(message)
- #handle_mode_message(payload)
- #handle_nick_change(payload)
- #handle_part_message(payload)
- #handle_privmsg(payload)
- #handle_quit_message(payload)
- #handle_server_message(payload)
- #handle_topic_change(payload)
- #handle_user_state_change(payload)
- #handshake(password : String) : Nil
- #host : String
- #listen : Nil
- #name : String
- #nickname : String
- #ping(params : Array(String))
- #pong(params : Array(String))
- #setup(params)
-
#socket : IPSocket | Nil
Template methods that should be implemented by including classes
- #target_host : String
- #target_port : Int32
Instance methods inherited from module Circed::UnifiedMessaging
broadcast_to_servers(message : String, exclude_server : LinkServer | Nil = nil) : Int32
broadcast_to_servers,
format_hostmask(nickname : String, username : String, hostname : String) : String
format_hostmask,
safe_send(message : String) : Bool
safe_send,
send_client_error(client : Client, code : String, item : String, message : String)send_client_error(client : Client, code : String, message : String) send_client_error, send_error(error_message : String) send_error, send_irc_message(command : String, params : Array(String) = [] of String, prefix : String | Nil = nil) send_irc_message, send_message(message : String) send_message, send_to_user_channels(user : Client, message : String) : Int32 send_to_user_channels, send_to_users(user_nicknames : Array(String), message : String) : Int32 send_to_users
Constructor Detail
def self.new(name : String, target_host : String, target_port : Int32, password : String)
#
Instance Method Detail
def socket : IPSocket | Nil
#
Description copied from module Circed::UnifiedMessaging
Template methods that should be implemented by including classes