TROBaseSuperConnection Class

This is a Library topic for RemObjects SDK for Delphi
This page is generated from external data, please do not update
Interfaces — Classes — Aliases — Implements
Contents |
Overview
This is an abstract class used to represent a TCP connections internally in Super TCP Channel classes, both client and server. This class is pure abstract, concrete implementations depend on communication level libraries:
The connection class is closely related to the superchannel worker class TROBaseSuperChannelWorker.
Users shoud never use neither this class directly nor it's descendants.
Location
uROBaseSCHelpers.pas TROBaseSuperConnection | Descendants
Properties
| PingFrequency protected |
|---|
|
Provides read-only access to TROBaseSuperChannelWorker.PingFrequency property.
|
| PingTimeOut protected |
|
Provides read-only access to TROBaseSuperChannelWorker.PingTimeOut property.
|
Instance Methods
| Client_Connect virtual abstract |
|---|
|
Called on the client side only to establish initial connection to the server.
|
| Disconnect virtual abstract |
|
Called to disconnect the current connection.
|
| GetClientAddress virtual abstract |
|
Called to return client's IPv4 address in the string form.
|
| isConnected virtual abstract |
|
Returns the connected state of the connection.
|
| isTimeoutError virtual abstract |
|
Returns true in case the last connection error was caused by timeout, false for all other errors. As a rule, errors other than timeouts require the connection to be reestablished from the scratch.
|
| ReadBuffer virtual abstract |
|
Reads a portion of data from the connection into the buffer.
|
| ReadByte virtual abstract |
|
Reads a byte from the connection and returns it as a result.
|
| ReadInteger virtual abstract |
|
Reads a 32 bits integer from the connection and returns it as a result.
|
| ReadString virtual abstract |
|
Reads a string of the specified length from the connection and returns it as a result.
|
| SetNagle virtual abstract |
|
Enables or disables Nagle's algorithm usage according to property value introduced by the concrete channel implementation.
|
| TryReadByte virtual abstract |
|
Tries to read a byte from the connection. Returns true if the byte was read successfully.
|
| WriteBuffer virtual abstract |
|
Writes a portion of data from the buffer to the connection.
|
| WriteByte virtual abstract |
|
Writes a byte to the connection.
|
| WriteInteger virtual abstract |
|
Writes a 32 bits integer to the connection.
|
| WriteString virtual abstract |
|
Writes a string to the connection.
|
Descendants
See Also
- Lists
- RemObjects SDK for Delphi: Interfaces — Classes — Aliases — Implements
- RemObjects SDK shared: Data Types – File Types
- other editions
- RemObjects SDK for .NET: Namespaces — Interfaces — Classes — Enums — Implements
- RemObjects SDK for Xcode: Protocols — Classes — Enums — Aliases — Implements
- RemObjects SDK for Java: Namespaces — Interfaces — Classes — Enums — Implements
- RemObjects SDK for JavaScript: Objects

Product: RemObjects SDK
Available Editions: RemObjects SDK for .NET, Xcode, Delphi, Java and JavaScript