Channel Framework and TCP channel Documentation

Overview

Channelfw provides a framework for connecting various types of channels together to create protocol chains, both inbound and outbound. Each channel type handles specific logic within that chain and allows easy re-use of channels. For example, the bundle contains a TCP channel, which handles all socket level IO logic for connections. Channels such as SSL or HTTP can be connected on top of TCP channel to add further protocol logic, and an application channel caps the chain and provides the actual runtime logic for handling the connection.


Writing bundles against channelfw


Bundles can be written to provide either channels to other bundles, such as SSL, or to provide protocol and/or application logic, such as the transport.http bundle. These bundles must be built in certain ways to use the channelfw bundle.

channelfw bundle configuration

The channelfw bundles contains configuration for the framework itself, the WsByteBuffer pooling code, and the TCP channel factory.