Module: EMRPC::EmConnection

Defined in:
lib/emrpc/em_connection.rb

Instance Method Summary collapse

Instance Method Details

#connection_completedObject

Connection being safely established (post_init was already called).



8
9
# File 'lib/emrpc/em_connection.rb', line 8

def connection_completed
end

#post_initObject

Connection initialization hook,



4
5
# File 'lib/emrpc/em_connection.rb', line 4

def post_init
end

#receive_data(data) ⇒ Object

Raw receive data callback.



16
17
# File 'lib/emrpc/em_connection.rb', line 16

def receive_data(data)
end

#unbindObject

Connection was closed.



12
13
# File 'lib/emrpc/em_connection.rb', line 12

def unbind
end