TROBaseSuperTcpConnection

Overview

Location


 

Client_Connect  virtual abstract

procedure Client_Connect(const aHost: string; const aPort: Integer; aSSL: Boolean)

Parameters:

  • aHost:
  • aPort:
  • aSSL:

Disconnect  virtual abstract

Called to disconnect the current connection.

procedure Disconnect

GetClientAddress  virtual abstract

Client addrerss

function GetClientAddress: string

IsConnected  virtual abstract

function IsConnected: Boolean

IsTimeoutError  virtual abstract

function IsTimeoutError: Boolean

PingFrequency  protected

property PingFrequency: Integer read

PingTimeOut  protected

property PingTimeOut: Integer read

ReadBuffer  virtual abstract

function ReadBuffer(var Data: ; Len: Integer): Integer

Parameters:

  • Data:
  • Len:

ReadByte  virtual abstract

function ReadByte: Byte

ReadInteger  virtual abstract

function ReadInteger: Integer

ReadString  virtual abstract

function ReadString(const aLen: Integer): ROAnsiString

Parameters:

  • aLen:

SetNagle  virtual abstract

Controls whether data packets are sent individually or if small packets are held back to send as part of fewer larger data packets. Normally, you will want this disabled as it can have a significant effect on performance. The only time when its worth keeping the property enabled is when there are many small packets to be sent and you need to keep network bandwidth to a minimum.

See more at Nagle's algorithm

procedure SetNagle

TryReadByte  virtual abstract

function TryReadByte(var aValue: Byte): Boolean

Parameters:

  • aValue:

WriteBuffer  virtual abstract

procedure WriteBuffer(const Data: ; Len: Integer)

Parameters:

  • Data:
  • Len:

WriteByte  virtual abstract

procedure WriteByte(const aValue: Byte)

Parameters:

  • aValue:

WriteInteger  virtual abstract

procedure WriteInteger(const aValue: Integer)

Parameters:

  • aValue:

WriteString  virtual abstract

procedure WriteString(const aValue: ROAnsiString)

Parameters:

  • aValue:

 

PingFrequency  protected

property PingFrequency: Integer read

PingTimeOut  protected

property PingTimeOut: Integer read

 

Client_Connect  virtual abstract

procedure Client_Connect(const aHost: string; const aPort: Integer; aSSL: Boolean)

Parameters:

  • aHost:
  • aPort:
  • aSSL:

Disconnect  virtual abstract

Called to disconnect the current connection.

procedure Disconnect

GetClientAddress  virtual abstract

Client addrerss

function GetClientAddress: string

IsConnected  virtual abstract

function IsConnected: Boolean

IsTimeoutError  virtual abstract

function IsTimeoutError: Boolean

ReadBuffer  virtual abstract

function ReadBuffer(var Data: ; Len: Integer): Integer

Parameters:

  • Data:
  • Len:

ReadByte  virtual abstract

function ReadByte: Byte

ReadInteger  virtual abstract

function ReadInteger: Integer

ReadString  virtual abstract

function ReadString(const aLen: Integer): ROAnsiString

Parameters:

  • aLen:

SetNagle  virtual abstract

Controls whether data packets are sent individually or if small packets are held back to send as part of fewer larger data packets. Normally, you will want this disabled as it can have a significant effect on performance. The only time when its worth keeping the property enabled is when there are many small packets to be sent and you need to keep network bandwidth to a minimum.

See more at Nagle's algorithm

procedure SetNagle

TryReadByte  virtual abstract

function TryReadByte(var aValue: Byte): Boolean

Parameters:

  • aValue:

WriteBuffer  virtual abstract

procedure WriteBuffer(const Data: ; Len: Integer)

Parameters:

  • Data:
  • Len:

WriteByte  virtual abstract

procedure WriteByte(const aValue: Byte)

Parameters:

  • aValue:

WriteInteger  virtual abstract

procedure WriteInteger(const aValue: Integer)

Parameters:

  • aValue:

WriteString  virtual abstract

procedure WriteString(const aValue: ROAnsiString)

Parameters:

  • aValue: