class IPC::SwitchingService

Overview

TODO replacing IPC::Service by the IPC::NetworkD class?

Defined in:

ipc/server.cr

Instance Method Summary

Constructor methods inherited from class IPC::Server

new(name : String) new

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

Instance Method Detail

def remove_fd(fd : Int) #

automatic removal of the fd in the switching list


[View source]
def switch : IPC::Switch #

[View source]
def switch=(switch : IPC::Switch) #

[View source]