Package com.sun.multicast.reliable.transport

Provides a set of interfaces for accessing and implementing reliable multicast transports.

See:
          Description

Interface Summary
RMPacketSocket An RMPacketSocket represents a packet-oriented connection to a multicast transport session.
RMStatistics An RMStatistics represents a basic transport layer statistics block.
RMStreamSocket An RMStreamSocket represents a stream-oriented connection to a multicast transport session.
TransportProfile A TransportProfile is an object that contains the parameters required to initialize and establish a multicast transport session.
 

Exception Summary
InvalidMulticastAddressException The InvalidMulticastAddressException is thrown when the TransportProfile is being created and an invalid multicast address is specified.
InvalidTransportProfileException The InvalidTransportProfileException is thrown when the createRMPacketSocket or createRMStreamSocket method with an invalid TransportProfile is called.
IrrecoverableDataException The IrrecoverableDataException is thrown when the transport layer cannot recover a lost packet.
LateJoinException The LateJoinException is thrown when the transport layer detects that the joined the multicast session is in the middle of the data transmission.
MemberPrunedException The MemberPrunedException is thrown when a member detects that it has been pruned from the tree.
NoMembersException The NoMembersException is thrown when a TRAM sender tries to send data and there are no members in the group.
SessionDoneException The SessionDoneException is thrown when the transport detects the end of a multicast session.
SessionDownException The SessionDownException is thrown when the transport detects that all the senders of the multicast session are inactive.
 

Package com.sun.multicast.reliable.transport Description

Provides a set of interfaces for accessing and implementing reliable multicast transports.

The transport system is responsible for providing a reliable multicast transport. It may be used directly by the application or indirectly through the channel management system. The transport system is composed of two parts, a set of protocol-independent transport APIs and one or more transport protocols.

Many different reliable multicast transport protocols have been developed and many more are on the way. Therefore, this package defines a Multicast Transport Application Programmer Interface (MTAPI) that channel managers, senders, and receivers may use to configure transport protocols and send and receive data using them.

This package includes implementations of two existing reliable multicast transport protocols, TRAM and LRMP. It also includes a set of APIs that allows new protocols to be plugged in and used by existing applications with little or no change to the applications. New protocols must implement the TransportProfile interface, and at least one of the two socket interfaces, RMPacketSocket and/or RMStreamSocket.

The Tree-Based Reliable Multicast Transport Protocol (TRAM) is a reliable multicast protocol designed to support bulk data transfer with a single sender and multiple receivers. TRAM uses dynamic trees to implement local error recovery to scale to a very large number of receivers without imposing a serious burden on the sender. It also includes congestion control and other techniques necessary to operate efficiently and fairly with other protocols across the wide variety of link and client characteristics that make up the Internet.



JavaTM Reliable MulticastTM Service version 1.1
Copyright (c) 2001, Sun Microsystems Laboratories, All rights reserved.