Module: Rpush::Daemon::Rpc

Defined in:
lib/rpush/daemon/rpc.rb,
lib/rpush/daemon/rpc/server.rb,
lib/rpush/daemon/rpc/client.rb

Defined Under Namespace

Classes: Client, Server

Class Method Summary collapse

Class Method Details

.socket_path(pid = Process.pid) ⇒ Object


4
5
6
# File 'lib/rpush/daemon/rpc.rb', line 4

def self.socket_path(pid = Process.pid)
  "/tmp/rpush.#{pid}.sock"
end