Debian Codegraph @

ruby/lib/qpid_proton.rb

raw
1 # Licensed to the Apache Software Foundation (ASF) under one
2 # or more contributor license agreements. See the NOTICE file
3 # distributed with this work for additional information
4 # regarding copyright ownership. The ASF licenses this file
5 # to you under the Apache License, Version 2.0 (the
6 # "License"); you may not use this file except in compliance
7 # with the License. You may obtain a copy of the License at
8 #
9 # http://www.apache.org/licenses/LICENSE-2.0
10 #
11 # Unless required by applicable law or agreed to in writing,
12 # software distributed under the License is distributed on an
13 # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 # KIND, either express or implied. See the License for the
15 # specific language governing permissions and limitations
16 # under the License.
17
18
19 require "cproton"
20 require "date"
21 require "weakref"
22
23 begin
24 require "securerandom"
25 rescue LoadError
26 require "kconv" # Ruby < 1.9
27 end
28
29 # @api qpid
30 # Qpid is the top level module for the Qpid project http://qpid.apache.org
31 # Definitions for this library are in module {Qpid::Proton}
32 module Qpid
33 # Proton is a ruby API for sending and receiving AMQP messages in clients or servers.
34 # See the {overview}[../file.README.html] for more.
35 module Proton
36 # Only opened here for module doc comment
37 end
38 end
39
40 # Exception classes
41 require "core/exceptions"
42
43 # Utility classes
44 require "util/deprecation"
45 require "util/version"
46 require "util/error_handler"
47 require "util/schedule"
48 require "util/wrapper"
49
50 # Types
51 require "types/type"
52 require "types/strings"
53 require "types/hash"
54 require "types/array"
55 require "types/described"
56
57 # Codec classes
58 require "codec/mapping"
59 require "codec/data"
60
61 # Main Proton classes
62 require "core/condition"
63 require "core/event"
64 require "core/uri"
65 require "core/message"
66 require "core/endpoint"
67 require "core/session"
68 require "core/terminus"
69 require "core/disposition"
70 require "core/transfer"
71 require "core/delivery"
72 require "core/tracker"
73 require "core/link"
74 require "core/sender"
75 require "core/receiver"
76 require "core/connection"
77 require "core/sasl"
78 require "core/ssl_domain"
79 require "core/ssl_details"
80 require "core/ssl"
81 require "core/transport"
82 require "core/url"
83 require "core/connection_driver"
84
85 # Handlers and adapters
86 require "handler/adapter"
87 require "handler/messaging_adapter"
88 require "core/messaging_handler"
89
90 # Main container class
91 require "core/container"
92
93 # DEPRECATED Backwards compatibility shims for Reactor API
94 require "handler/reactor_messaging_adapter"
95 require "handler/messaging_handler" # Keep original name for compatibility
96 require "reactor/container"