Giter Site home page Giter Site logo

nfranke / vertx-swift-eventbus Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tobias/vertx-swift-eventbus

1.0 2.0 0.0 137 KB

Lib for using the Vert.x TCP EventBus bridge from Swift

License: Apache License 2.0

Makefile 9.71% Swift 74.28% Java 12.51% Shell 3.49%

vertx-swift-eventbus's Introduction

nfranke fork

Fixes these issues:

  • Losing connection with the server would cause a stack overflow
  • Upon re-connecting, previous registrations would not successfully be reregistered
  • Util.intToBytes crash was fixed (may be a Swift 4.0-related issue)

Description

This provides a Swift client for talking to Vert.x via the vertx-tcp-eventbus-bridge.

The original version has been tested with Swift 3.1 on macOS X and Ubuntu.

This fork has been tested on macOS with Swift 4.0 and Xcode 9.2

A simple example application is available in example-project.

The API docs are (still) available at http://tobias.github.io/vertx-swift-eventbus/.

Usage

The latest release is 0.2.1. To use it with Swift Package Manager, add the following to your dependencies in Package.swift:

.Package(url: "https://github.com/nfranke/vertx-swift-eventbus.git", "0.2.1")

Running the tests

make test

The tests build a Vert.x server and launch it, so you'll need Java (8 or higher) and maven installed.

Generating docs

To generate documentation, you'll need to have sourcekitten and jazzy installed. The easiest way to do that (on MacOS) is with:

brew install sourcekitten
sudo gem install jazzy

Then, build the docs with:

make docs

The generated docs will be available in docs/.

License

vertx-swift-eventbus is licensed under the Apache License, v2. See LICENSE for details.

vertx-swift-eventbus's People

Contributors

tobias avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.