class Circed::LinkServer

Included Modules

Defined in:

circed/servers/link_server.cr

Constructors

Instance Method Summary

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) #

[View source]
def self.new(socket : IPSocket | Nil, buffer : Array(String)) #

[View source]

Instance Method Detail

def authenticate_incoming_server #

[View source]
def close(reason : String = "Closing connection") #

[View source]
def closed? : Bool #

[View source]
def handle_away_change(payload) #

[View source]
def handle_error(payload) #

[View source]
def handle_join_message(payload) #

[View source]
def handle_message(message) #

[View source]
def handle_mode_message(payload) #

[View source]
def handle_nick_change(payload) #

[View source]
def handle_part_message(payload) #

[View source]
def handle_privmsg(payload) #

[View source]
def handle_quit_message(payload) #

[View source]
def handle_server_message(payload) #

[View source]
def handle_topic_change(payload) #

[View source]
def handle_user_state_change(payload) #

[View source]
def handshake(password : String) : Nil #

[View source]
def host : String #

[View source]
def listen : Nil #

[View source]
def name : String #

[View source]
def nickname : String #

[View source]
def ping(params : Array(String)) #

[View source]
def pong(params : Array(String)) #

[View source]
def setup(params) #

[View source]
def socket : IPSocket | Nil #
Description copied from module Circed::UnifiedMessaging

Template methods that should be implemented by including classes


[View source]
def target_host : String #

[View source]
def target_port : Int32 #

[View source]