module QRPC
General QRPC
module.
General QRPC
module.
General QRPC
module.
General QRPC
module.
General QRPC
module.
General QRPC
module.
General QRPC
module.
General QRPC
module.
General QRPC
module.
General QRPC
module.
General QRPC
module.
General QRPC
module.
General QRPC
module.
General QRPC
module.
General QRPC
module.
General QRPC
module.
General QRPC
module.
General QRPC
module.
General QRPC
module.
General QRPC
module.
General QRPC
module.
General QRPC
module.
General QRPC
module.
General QRPC
module.
General QRPC
module.
General QRPC
module.
General QRPC
module.
General QRPC
module.
Constants
- DEFAULT_GENERATOR
Holds default generator module link. @since 0.9.0
- DEFAULT_PRIORITY
Indicates default job priority. @since 0.2.0
- QUEUE_POSTFIX_INPUT
Input queue postfix. @since 0.1.1
- QUEUE_POSTFIX_OUTPUT
Output queue postfix. @since 0.1.1
- QUEUE_PREFIX
Prefix for handled queues. @since 0.1.1
Public Class Methods
Returns default generator instance.
@return [QRPC::Generator::UUID] generator instance @since 0.9.0
# File lib/qrpc/general.rb, line 89 def self.default_generator if @@default_generator.nil? @@default_generator = QRPC::DEFAULT_GENERATOR::new else @@default_generator end end
Returns default protocol instance.
@return [QRPC::Protocol::Abstract] protocol instance @since 0.9.0
# File lib/qrpc/general.rb, line 68 def self.default_protocol if @@default_protocol.nil? begin @@default_protocol = QRPC::Protocol::JsonRpc::new(:serializer => JsonRpcObjects::Serializer::JSON::new) rescue NameError require "json-rpc-objects/serializer/json" # >= 0.4.1 require "qrpc/protocol/json-rpc" retry end else @@default_protocol end end