Skip to content

An abstraction library for transport frameworks

License

Notifications You must be signed in to change notification settings

betacraft/transporter

Repository files navigation

Transporter

Transporter library allows to keep your business logic separate from the underlying communication framework being used in your system components. So it doesn't matter if you are using raw sockets, netty4.x, netty3.x, socketio or websockets. Transporter is designed in a way that adding or switching between these frameworks is less painful and is with minimum code hit.

This library is in it's nascent phases and being actively developed in RainingClouds.

Architecture

                                             +------------+
                              |              | raw socket |
                              |              +------------+
   +------------+             |              | netty 3.x  |
   | Your       |      +------+------+       +------------+
   | Business   |  <-> | Transporter |  <->  | netty 4.x  |
   | Logic      |      +------+------+       +------------+
   +------------+             |              |  socketio  |
                              |              +------------+

So ideally this library acts as an interface between your business logic and transport layer.

Supported frameworks

  • Netty 4.x
  • Netty 3.x
  • Raw Sockets
  • SocketIO
  • Java NIO (need help to complete)

Components

TransportServer

Contract for writing transport server

ITransportClient

Contract for writing client.

ITransportSession

Contract for associating with a connection.

Info

For any other help or info, you can mail us at akshay@rainingclouds.com.

About

An abstraction library for transport frameworks

http://rainingclouds.github.io/transporter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages