System.Tether.Manager.TTetheringProtocol.TransferStream

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

function TransferStream(const AStream: TStream): Boolean; inline; deprecated 'Use SendStream';

C++

bool __fastcall TransferStream _DEPRECATED_ATTRIBUTE1("Use SendStream") (System::Classes::TStream* const AStream);

Properties

Type Visibility Source Unit Parent
function public
System.Tether.Manager.pas
System.Tether.Manager.hpp
System.Tether.Manager TTetheringProtocol

Description

Warning: TransferStream is deprecated. Please use SendStream.

Sends the specified stream to the remote protocol and returns True on success or False on failure.

This function receives a single parameter, <AStream>, which is the stream to be sent.

TransferStream returns False if there is a connection error during the transmission of the stream. It returns True otherwise.

See Also