deb-zaqar/zaqar/transport/websocket/__init__.py
Victoria Martinez de la Cruz f3ab5b3fb5 Adds websockets driver to Zaqar server
Inits the server and adds a websockets dummy protocol.
asyncio has been selected as the server and autobahn as the
websockets library (pending discussion with the team).

Controllers will be added in the following changes.

Partial-Implements: blueprint persistent-transport

Change-Id: Ia2a9b02847ec6f61c07b597e607f8fa316672518
2015-03-11 17:02:01 -03:00

22 lines
717 B
Python

# Copyright (c) 2015 Red Hat, Inc.
#
# Licensed 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.
"""Websocket Transport Driver"""
from zaqar.transport.websocket import driver
# Hoist into package namespace
Driver = driver.Driver