Module: PDTP

Defined in:
lib/pdtp/common.rb,
lib/pdtp/client.rb,
lib/pdtp/server.rb,
lib/pdtp/server/trust.rb,
lib/pdtp/client/transfer.rb,
lib/pdtp/common/protocol.rb,
lib/pdtp/server/transfer.rb,
lib/pdtp/client/callbacks.rb,
lib/pdtp/common/range_map.rb,
lib/pdtp/server/file_info.rb,
lib/pdtp/client/connection.rb,
lib/pdtp/server/chunk_info.rb,
lib/pdtp/server/connection.rb,
lib/pdtp/server/dispatcher.rb,
lib/pdtp/client/file_buffer.rb,
lib/pdtp/client/http_client.rb,
lib/pdtp/client/file_service.rb,
lib/pdtp/client/http_handler.rb,
lib/pdtp/common/file_service.rb,
lib/pdtp/server/file_service.rb,
lib/pdtp/server/status_helper.rb,
lib/pdtp/server/status_handler.rb,
lib/pdtp/server/transfer_manager.rb,
lib/pdtp/server/bandwidth_estimator.rb,
lib/pdtp/server/file_service_protocol.rb,
lib/pdtp/common/length_prefix_protocol.rb,
lib/pdtp/server/file_service_connection.rb

Overview

– Copyright © 2006-07 ClickCaster, Inc. ([email protected])

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <www.gnu.org/licenses/>.

This source file is distributed as part of the DistribuStream file transfer system.

See distribustream.org/ ++

Defined Under Namespace

Classes: Client, FileInfo, FileService, LengthPrefixProtocol, Protocol, ProtocolError, ProtocolWarn, RangeMap, Server

Constant Summary collapse

VERSION =
'0.5.1'
DEFAULT_PORT =
6086
PROTOCOL_DEBUG =
true
RANGENAMES =
%w{chunk_range range byte_range}

Class Method Summary collapse

Class Method Details

.default_portObject



32
# File 'lib/pdtp/common.rb', line 32

def self.default_port() DEFAULT_PORT end

.versionObject



29
# File 'lib/pdtp/common.rb', line 29

def self.version() VERSION end