]> git.proxmox.com Git - ceph.git/blame - ceph/src/jaegertracing/thrift/lib/nodejs/lib/thrift/index.js
buildsys: switch source download to quincy
[ceph.git] / ceph / src / jaegertracing / thrift / lib / nodejs / lib / thrift / index.js
CommitLineData
f67539c2
TL
1/*
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
9 *
10 * http://www.apache.org/licenses/LICENSE-2.0
11 *
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
17 * under the License.
18 */
19exports.Thrift = require('./thrift');
20
21var log = require('./log');
22exports.setLogFunc = log.setLogFunc;
23exports.setLogLevel = log.setLogLevel;
24exports.getLogLevel = log.getLogLevel;
25
26var connection = require('./connection');
27exports.Connection = connection.Connection;
28exports.createClient = connection.createClient;
29exports.createConnection = connection.createConnection;
30exports.createUDSConnection = connection.createUDSConnection;
31exports.createSSLConnection = connection.createSSLConnection;
32exports.createStdIOClient = connection.createStdIOClient;
33exports.createStdIOConnection = connection.createStdIOConnection;
34
35var httpConnection = require('./http_connection');
36exports.HttpConnection = httpConnection.HttpConnection;
37exports.createHttpConnection = httpConnection.createHttpConnection;
38exports.createHttpUDSConnection = httpConnection.createHttpUDSConnection;
39exports.createHttpClient = httpConnection.createHttpClient;
40
41var wsConnection = require('./ws_connection');
42exports.WSConnection = wsConnection.WSConnection;
43exports.createWSConnection = wsConnection.createWSConnection;
44exports.createWSClient = wsConnection.createWSClient;
45
46var xhrConnection = require('./xhr_connection');
47exports.XHRConnection = xhrConnection.XHRConnection;
48exports.createXHRConnection = xhrConnection.createXHRConnection;
49exports.createXHRClient = xhrConnection.createXHRClient;
50
51var server = require('./server');
52exports.createServer = server.createServer;
53exports.createMultiplexServer = server.createMultiplexServer;
54
55var web_server = require('./web_server');
56exports.createWebServer = web_server.createWebServer;
57
58exports.Int64 = require('node-int64');
59exports.Q = require('q');
60
61var mprocessor = require('./multiplexed_processor');
62var mprotocol = require('./multiplexed_protocol');
63exports.Multiplexer = mprotocol.Multiplexer;
64exports.MultiplexedProcessor = mprocessor.MultiplexedProcessor;
65
66/*
67 * Export transport and protocol so they can be used outside of a
68 * cassandra/server context
69 */
70exports.TFramedTransport = require('./framed_transport');
71exports.TBufferedTransport = require('./buffered_transport');
72exports.TBinaryProtocol = require('./binary_protocol');
73exports.TJSONProtocol = require('./json_protocol');
74exports.TCompactProtocol = require('./compact_protocol');
75exports.THeaderProtocol = require('./header_protocol');