TROSuperTcpConnection

Overview

Location

 

constructor Create

constructor Create(aConnection: TROSocket; AFreeOnDestroy: Boolean)

Parameters:

  • aConnection:
  • AFreeOnDestroy:

Client_Connect  override

procedure Client_Connect(const aHost: string; const aPort: integer)

Parameters:

  • aHost:
  • aPort:

Connection  protected

property Connection: TROSocket read write

Disconnect  override

procedure Disconnect

GetClientAddress  override

function GetClientAddress: string

isConnected  override

function isConnected: Boolean

isTimeoutError  override

function isTimeoutError: Boolean

PingFrequency  protected    (declared in TROBaseSuperTcpConnection)

property PingFrequency: integer read write

PingTimeOut  protected    (declared in TROBaseSuperTcpConnection)

property PingTimeOut: integer read write

ReadBuffer  override

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

Parameters:

  • Data:
  • Len:

ReadByte  override

function ReadByte: Byte

ReadInteger  override

function ReadInteger: integer

ReadString  override

function ReadString(const aLen: integer): string

Parameters:

  • aLen:

SetNagle  override

procedure SetNagle

TryReadByte  override

function TryReadByte(var aValue: Byte): boolean

Parameters:

  • aValue:

WriteBuffer  override

procedure WriteBuffer(const Data: ; Len: Integer)

Parameters:

  • Data:
  • Len:

WriteByte  override

procedure WriteByte(const aValue: Byte)

Parameters:

  • aValue:

WriteInteger  override

procedure WriteInteger(const aValue: integer)

Parameters:

  • aValue:

WriteString  override

procedure WriteString(const AStr: string)

Parameters:

  • AStr:

 

Connection  protected

property Connection: TROSocket read write

PingFrequency  protected    (declared in TROBaseSuperTcpConnection)

property PingFrequency: integer read write

PingTimeOut  protected    (declared in TROBaseSuperTcpConnection)

property PingTimeOut: integer read write

 

constructor Create

constructor Create(aConnection: TROSocket; AFreeOnDestroy: Boolean)

Parameters:

  • aConnection:
  • AFreeOnDestroy:

Client_Connect  override

procedure Client_Connect(const aHost: string; const aPort: integer)

Parameters:

  • aHost:
  • aPort:

Disconnect  override

procedure Disconnect

GetClientAddress  override

function GetClientAddress: string

isConnected  override

function isConnected: Boolean

isTimeoutError  override

function isTimeoutError: Boolean

ReadBuffer  override

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

Parameters:

  • Data:
  • Len:

ReadByte  override

function ReadByte: Byte

ReadInteger  override

function ReadInteger: integer

ReadString  override

function ReadString(const aLen: integer): string

Parameters:

  • aLen:

SetNagle  override

procedure SetNagle

TryReadByte  override

function TryReadByte(var aValue: Byte): boolean

Parameters:

  • aValue:

WriteBuffer  override

procedure WriteBuffer(const Data: ; Len: Integer)

Parameters:

  • Data:
  • Len:

WriteByte  override

procedure WriteByte(const aValue: Byte)

Parameters:

  • aValue:

WriteInteger  override

procedure WriteInteger(const aValue: integer)

Parameters:

  • aValue:

WriteString  override

procedure WriteString(const AStr: string)

Parameters:

  • AStr: