Class: QRPC::Protocol::Abstract::Request Abstract
- Defined in:
- lib/qrpc/protocol/abstract/request.rb
Overview
This class is abstract.
Abstract request implementation.
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from Object
Class Method Summary collapse
-
.parse(raw) ⇒ Request
abstract
Parses the data for new object.
Instance Method Summary collapse
-
#client ⇒ Object
Returns the QRPC request client identifier.
-
#id ⇒ Object
abstract
Returns ID of the request.
-
#initialize(init = { }) ⇒ Request
constructor
abstract
Constructor.
-
#method ⇒ Object
abstract
Returns method identifier of the request.
-
#notification? ⇒ Boolean
Indicates, job is notification.
-
#params ⇒ Object
abstract
Returns method params of the request.
-
#priority ⇒ Object
Returns the QRPC request priority.
Methods inherited from Object
Constructor Details
Class Method Details
.parse(raw) ⇒ Request
This method is abstract.
Parses the data for new object.
59 60 61 |
# File 'lib/qrpc/protocol/abstract/request.rb', line 59 def self.parse(raw) not_implemented end |
Instance Method Details
#client ⇒ Object
Returns the QRPC request client identifier.
110 111 112 |
# File 'lib/qrpc/protocol/abstract/request.rb', line 110 def client not_implemented end |
#id ⇒ Object
This method is abstract.
Returns ID of the request.
70 71 72 |
# File 'lib/qrpc/protocol/abstract/request.rb', line 70 def id not_implemented end |
#method ⇒ Object
This method is abstract.
Returns method identifier of the request.
81 82 83 |
# File 'lib/qrpc/protocol/abstract/request.rb', line 81 def method not_implemented end |
#notification? ⇒ Boolean
Indicates, job is notification.
119 120 121 |
# File 'lib/qrpc/protocol/abstract/request.rb', line 119 def notification? not_implemented end |
#params ⇒ Object
This method is abstract.
Returns method params of the request.
92 93 94 |
# File 'lib/qrpc/protocol/abstract/request.rb', line 92 def params not_implemented end |
#priority ⇒ Object
Returns the QRPC request priority.
101 102 103 |
# File 'lib/qrpc/protocol/abstract/request.rb', line 101 def priority not_implemented end |