JBoss.orgCommunity Documentation
Mobicents Stream Library is subject to changes as it is under active development.
Mobicents Stream Library builds layers of abstraction with API, similar to NIO. Abstraction is built with three main components:
Performs stream queries and presents the user with streams ready for I/O operations.
Represents stream in selectors space.
A stream of data.
Beside a simplified stream API, there is also need for SCTP (SCTP is not available in JDK6) like streaming. Mobicents Stream Library provides this feature over a defined stream API.
Datalink is a proprietary protocol designed to provide the following functions:
Peer to Peer Transport
Reliable Delivery - Retransmissions
Stream Status Metadata - provides the user with stream status info(active,inactive, down...). Metadata is information which informs peers about readiness to receive data for instance.
async I/O
Generally, Datalink can be imagined as follows:
Datalink follows the state machine, which reassembles one as depicted below: