项目作者: bicroz

项目描述 :
EventBus Bridge clients
高级语言: C#
项目地址: git://github.com/bicroz/vertx-eventbus-bridge-clients.git
创建时间: 2018-12-04T20:36:27Z
项目社区:https://github.com/bicroz/vertx-eventbus-bridge-clients

开源协议:Apache License 2.0

下载


vertx-eventbus-bridge-clients

This project is created to have vertx bridge-client for various languages. Currently we have only for .NET standard.
To contribute on other languages, Pull Requests are always welcome. Below is a sample program using TcpBridgeClient.

  1. TcpBridgeClient tcpBridgeClient = new TcpBridgeClient( "127.0.0.1", 7000, option);
  2. tcpBridgeClient.Register("client.consumer1", //registered address
  3. (message) => Console.WriteLine("message received from server")); //callback
  4. tcpBridgeClient.Send("server.echo", //server address
  5. "message to server"); //message

You can link the library as a nuget package at https://www.nuget.org/packages/Vertx.TcpBridge/