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 wsConnection = require('./ws_connection');
22exports.WSConnection = wsConnection.WSConnection;
23exports.createWSConnection = wsConnection.createWSConnection;
24exports.createWSClient = wsConnection.createWSClient;
25
26var xhrConnection = require('./xhr_connection');
27exports.XHRConnection = xhrConnection.XHRConnection;
28exports.createXHRConnection = xhrConnection.createXHRConnection;
29exports.createXHRClient = xhrConnection.createXHRClient;
30
31var ohosConnection = require('./ohos_connection');
32exports.OhosConnection = ohosConnection.OhosConnection;
33exports.createOhosConnection = ohosConnection.createOhosConnection;
34exports.createOhosClient = ohosConnection.createOhosClient;
35
36exports.Int64 = require('node-int64');
37exports.Q = require('q');
38
39var mpxProtocol = require('./multiplexed_protocol');
40exports.Multiplexer = mpxProtocol.Multiplexer;
41
42/*
43 * Export transport and protocol so they can be used outside of a
44 * cassandra/server context
45 */
46exports.TBufferedTransport = require('./buffered_transport');
47exports.TFramedTransport = require('./framed_transport');
48exports.TWebSocketTransport = require('./ws_transport');
49
50exports.Protocol = require('./json_protocol');
51exports.TJSONProtocol = require('./json_protocol');
52exports.TBinaryProtocol = require('./binary_protocol');
53exports.TCompactProtocol = require('./compact_protocol');
54