JXTA

Package net.jxta.impl.content.defprovider

Implementation of the ContentProviderSPI which uses a custom, lightweight, easy to implement, but relatively slow protocol to transfer Content.

See:
          Description

Interface Summary
ActiveTransferTrackerListener Interface used to notify of interesting events emminating from the ActiveTransferTracker.
 

Class Summary
ActiveTransfer A node being tracked by the ActiveTransferTracker class.
ActiveTransferTracker This class provides a somewhat efficient mechanism for tracking active transfers and providing a cache for information related to those transfers.
DataRequest Implements a Content Data Request Message according to the schema:

<xs:element name="DataRequest" type="DataRequestType"/> <xs:complexType name="DataRequestType"> <xs:sequence> <xs:element name="ContentID" type="xs:string" minOccurs="1" maxOccurs="1" /> <xs:element name="Offs" type="xs:int" minOccurs="1" maxOccurs="1" /> <xs:element name="Len" type="xs:int" minOccurs="1" maxOccurs="1" /> <xs:element name="PipeAdv" type="jxta:PipeAdvertisement" minOccurs="1" maxOccurs="1" /> <xs:element name="QID" type="xs:int" minOccurs="0" maxOccurs="1" /> </xs:sequence> </xs:complexType>

DataResponse Implements a Content Data Response Message according to the schema:

<xs:element name="DataResponse" type="DataResponseType"/> <xs:complexType name="EOFType"> <xs:attribute name="reached" type="xs:boolean" /> </xs:complexType> <xs:complexType name="DataResponseType"> <xs:sequence> <xs:element name="ContentID" type="xs:string" minOccurs="1" maxoccurs="1" /> <xs:element name="Offs" type="xs:int" minOccurs="1" maxoccurs="1" /> <xs:element name="Len" type="xs:int" minOccurs="1" maxoccurs="1" /> <xs:element name="QID" type="xs:int" minOccurs="0" maxoccurs="1" /> <xs:element name="EOF" type="EOFType" minOccurs="0" maxoccurs="1" /> </xs:sequence> </xs:complexType>

DefaultContentProvider Reference implementation of the ContentService.
DefaultContentShare Implementation of the ContentShare interface for use in the default implementation.
DefaultContentShareAdvertisementImpl This class is a simple re-badging of the more generic abstract version, AbstractPipeContentAdvertisement.
DefaultContentShareAdvertisementImpl.Instantiator Instantiator for this Advertisement type.
DefaultContentTransfer  
RecoveryWindow This class wraps data access to an InputStream data source, allowing the streamed data source to be treated as a limited random-access data source.
 

Exception Summary
TooManyClientsException Base exception for representing terminal Content transfer problems.
 

Package net.jxta.impl.content.defprovider Description

Implementation of the ContentProviderSPI which uses a custom, lightweight, easy to implement, but relatively slow protocol to transfer Content. This provider utilizes soft references and is therefore probably not desirable for heavy traffic usage scenarios.


JXSE