Module: Bones::RPC::Protocol::AdapterHelper
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
-
.included(base) ⇒ Object
Extends the including class with
ClassMethods
.
Instance Method Summary collapse
-
#receive_replies(connection) ⇒ nil
Default implementation for a message is to do nothing when receiving replies.
-
#serialize(buffer, adapter) ⇒ String
Serializes the message and all of its fields to a new buffer or to the provided buffer.
Class Method Details
.included(base) ⇒ Object
Extends the including class with ClassMethods
.
41 42 43 44 |
# File 'lib/bones/rpc/protocol/adapter_helper.rb', line 41 def included(base) super base.extend(ClassMethods) end |
Instance Method Details
#receive_replies(connection) ⇒ nil
Default implementation for a message is to do nothing when receiving replies.
19 |
# File 'lib/bones/rpc/protocol/adapter_helper.rb', line 19 def receive_replies(connection); end |