class IPC::Server

Overview

the server is a client with a different init function ipc_connection => ipc_server_init

Direct Known Subclasses

Defined in:

ipc/server.cr

Constructors

Instance methods inherited from class IPC::Context

<<(fd : Int) <<, base_timer : Int32 base_timer, base_timer=(base_timer : Int32) base_timer=, close close, context : LibIPC::Ctx context, event : LibIPC::Event event, event=(event : LibIPC::Event) event=, loop(&block : Proc(IPC::Event::Events | Exception, Nil)) loop, pointer pointer, pp pp, read(index : UInt32) read, remove_fd(fd : Int32) remove_fd, remove_index(index : UInt32) remove_index, send(fd : Int32, utype : UInt8, payload : Bytes)
send(fd : Int32, utype : UInt8, payload : String)
send(fd : Int32, message : IPC::CBOR)
send(fd : Int32, message : IPC::JSON)
send(message : LibIPC::Message)
send(message : IPC::Message)
send
, send_now(fd : Int32, utype : UInt8, payload : Bytes)
send_now(fd : Int32, utype : UInt8, payload : String)
send_now(fd : Int32, message : IPC::CBOR)
send_now(fd : Int32, message : IPC::JSON)
send_now(message : LibIPC::Message)
send_now(message : IPC::Message)
send_now
, timer : Int32 timer, timer=(timer : Int32) timer=, wait_event : IPC::Event::Events | Exception wait_event

Constructor methods inherited from class IPC::Context

new(context : LibIPC::Ctx)
new
new(name : String, &block : Proc(IPC::Event::Events | Exception, Nil))
new

Constructor Detail

def self.new(name : String) #

[View source]