]>
git.proxmox.com Git - ceph.git/blob - ceph/src/jaegertracing/thrift/lib/nodejs/lib/thrift/index.js
2 * Licensed to the Apache Software Foundation (ASF) under one
3 * or more contributor license agreements. See the NOTICE file
4 * distributed with this work for additional information
5 * regarding copyright ownership. The ASF licenses this file
6 * to you under the Apache License, Version 2.0 (the
7 * "License"); you may not use this file except in compliance
8 * with the License. You may obtain a copy of the License at
10 * http://www.apache.org/licenses/LICENSE-2.0
12 * Unless required by applicable law or agreed to in writing,
13 * software distributed under the License is distributed on an
14 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 * KIND, either express or implied. See the License for the
16 * specific language governing permissions and limitations
19 exports
.Thrift
= require('./thrift');
21 var log
= require('./log');
22 exports
.setLogFunc
= log
.setLogFunc
;
23 exports
.setLogLevel
= log
.setLogLevel
;
24 exports
.getLogLevel
= log
.getLogLevel
;
26 var connection
= require('./connection');
27 exports
.Connection
= connection
.Connection
;
28 exports
.createClient
= connection
.createClient
;
29 exports
.createConnection
= connection
.createConnection
;
30 exports
.createUDSConnection
= connection
.createUDSConnection
;
31 exports
.createSSLConnection
= connection
.createSSLConnection
;
32 exports
.createStdIOClient
= connection
.createStdIOClient
;
33 exports
.createStdIOConnection
= connection
.createStdIOConnection
;
35 var httpConnection
= require('./http_connection');
36 exports
.HttpConnection
= httpConnection
.HttpConnection
;
37 exports
.createHttpConnection
= httpConnection
.createHttpConnection
;
38 exports
.createHttpUDSConnection
= httpConnection
.createHttpUDSConnection
;
39 exports
.createHttpClient
= httpConnection
.createHttpClient
;
41 var wsConnection
= require('./ws_connection');
42 exports
.WSConnection
= wsConnection
.WSConnection
;
43 exports
.createWSConnection
= wsConnection
.createWSConnection
;
44 exports
.createWSClient
= wsConnection
.createWSClient
;
46 var xhrConnection
= require('./xhr_connection');
47 exports
.XHRConnection
= xhrConnection
.XHRConnection
;
48 exports
.createXHRConnection
= xhrConnection
.createXHRConnection
;
49 exports
.createXHRClient
= xhrConnection
.createXHRClient
;
51 var server
= require('./server');
52 exports
.createServer
= server
.createServer
;
53 exports
.createMultiplexServer
= server
.createMultiplexServer
;
55 var web_server
= require('./web_server');
56 exports
.createWebServer
= web_server
.createWebServer
;
58 exports
.Int64
= require('node-int64');
59 exports
.Q
= require('q');
61 var mprocessor
= require('./multiplexed_processor');
62 var mprotocol
= require('./multiplexed_protocol');
63 exports
.Multiplexer
= mprotocol
.Multiplexer
;
64 exports
.MultiplexedProcessor
= mprocessor
.MultiplexedProcessor
;
67 * Export transport and protocol so they can be used outside of a
68 * cassandra/server context
70 exports
.TFramedTransport
= require('./framed_transport');
71 exports
.TBufferedTransport
= require('./buffered_transport');
72 exports
.TBinaryProtocol
= require('./binary_protocol');
73 exports
.TJSONProtocol
= require('./json_protocol');
74 exports
.TCompactProtocol
= require('./compact_protocol');
75 exports
.THeaderProtocol
= require('./header_protocol');