Module: Qpid::Proton

Defined in:
lib/core/selectable.rb,
lib/core/exceptions.rb,
lib/core/ssl_domain.rb,
lib/core/disposition.rb,
lib/core/ssl_details.rb,
lib/core/base_handler.rb,
lib/core/connection.rb,
lib/core/transport.rb,
lib/core/terminus.rb,
lib/core/receiver.rb,
lib/core/endpoint.rb,
lib/core/delivery.rb,
lib/core/session.rb,
lib/core/message.rb,
lib/qpid_proton.rb,
lib/event/event.rb,
lib/core/sender.rb,
lib/core/sasl.rb,
lib/core/link.rb,
lib/core/url.rb,
lib/core/ssl.rb

Overview

– Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. ++

Defined Under Namespace

Modules: Codec, Error, Event, Handler, Messenger, Reactor, Types, Util Classes: ArgumentError, AttributeError, BaseHandler, Connection, Delivery, Disposition, EOSError, Endpoint, InProgressError, InterruptedError, Link, LinkError, Message, OverflowError, ProtonError, Receiver, Reject, Release, SASL, SASLError, SSL, SSLDomain, SSLError, SSLSessionDetails, SSLUnavailableError, Selectable, Sender, Session, SessionError, StateError, Terminus, TimeoutError, Transport, TransportError, URL, UnderflowError

Class Method Summary collapse

Class Method Details

.add_to_registry(key, value) ⇒ Object



119
120
121
# File 'lib/qpid_proton.rb', line 119

def self.add_to_registry(key, value)
  self.registry[key] = value
end

.delete_from_registry(key) ⇒ Object



129
130
131
# File 'lib/qpid_proton.rb', line 129

def self.delete_from_registry(key)
  self.registry.delete(key)
end

.get_from_registry(key) ⇒ Object



124
125
126
# File 'lib/qpid_proton.rb', line 124

def self.get_from_registry(key)
  self.registry[key]
end

.registryObject



114
115
116
# File 'lib/qpid_proton.rb', line 114

def self.registry
  @registry ||= {}
end