System.Tether.TCPProtocol.TTetheringTCPProtocol.DoSendStream
Delphi
function DoSendStream(const AStream: TStream): Boolean; override;
C++
virtual bool __fastcall DoSendStream(System::Classes::TStream* const AStream);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | protected | System.Tether.TCPProtocol.pas System.Tether.TCPProtocol.hpp |
System.Tether.TCPProtocol | TTetheringTCPProtocol |
Description
Sends the specified stream to the remote protocol and returns True on success or False on failure.
{{#multireplace:System.Tether.TCPProtocol.TTetheringTCPProtocol.DoSendStream|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:System.Tether.Manager.TTetheringProtocol.DoSendStream|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:System.Tether.Manager.TTetheringProtocol.DoSendStream|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.
- Note: DoSendStream is an abstract method that subclasses of TTetheringProtocol implement.
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.
DoSendStream returns False if there is a connection error during the transmission of the stream. It returns True otherwise.
SendStream calls DoSendStream.