TwclIrDAServerClientConnection Class

The class handles server client connection.

Namespace: wclIrDAServers
type
 TwclIrDAServerClientConnection = class(TwclServerClientDataConnection)
 end;

The TwclIrDAServerClientConnection type exposes the following members.

Show:
 NameDescription
Create

Creates new object of the server client connection. (Overrides TwclServerClientDataConnection.Create.)

Top
Show:
 NameDescription
Address

Gets the connected IrDA client address.

Disconnected

Gets the connection state. (Inherited from TwclServerClientConnection.)

Name

Gets the connected IrDA clients name.

Params

Custom connection parameters. (Inherited from TwclServerClientConnection.)

Processor

Gets the current Data Processor object assigned to the Connection. (Inherited from TwclServerClientDataConnection.)

Receiver

Gets the connection message receiver object. (Inherited from TwclCustomConnection.)

Server

Gets the client owner. (Inherited from TwclServerClientConnection.)

ThreadId

Gets the connection's thread ID. (Inherited from TwclCustomConnection.)

Top
Show:
 NameDescription
Accept(TwclServerConnection,Pointer,Cardinal)

The method accepts the client connection request. (Overrides TwclServerClientConnection.Accept(TwclServerConnection,Pointer,Cardinal).)

Disconnect

Disconnects from the connected remote device. (Inherited from TwclServerClientConnection.)

DoConnect(Integer)

Fires the OnConnect event. (Inherited from TwclServerClientConnection.)

DoData(Pointer,Cardinal)

Fires the OnData event. (Inherited from TwclServerClientDataConnection.)

DoDisconnect(Integer)

Fires the OnDisconnect event. (Inherited from TwclServerClientConnection.)

Enter

Enters the connection's critical section. (Inherited from TwclCustomConnection.)

GetReadBufferSize(Cardinal)

Reads the read buffer size. (Inherited from TwclServerClientDataConnection.)

GetWriteBufferSize(Cardinal)

Reads the write buffer size. (Inherited from TwclServerClientDataConnection.)

HalAccept

Hardware-dependent method that prepares to communicate with a connected remote client device. (Overrides TwclServerClientConnection.HalAccept.)

HalCommunicate(THandle)

Implements a hardware-dependent code that communicate with the connected remote device. (Overrides TwclServerClientConnection.HalCommunicate(THandle).)

HalDisconnect

Implements a hardware-dependent code that disconnects from the connected remote device. (Overrides TwclServerClientConnection.HalDisconnect.)

HalGetReadBufferSize(Cardinal)

Reads the read buffer size. (Overrides TwclServerClientDataConnection.HalGetReadBufferSize(Cardinal).)

HalGetWriteBufferSize(Cardinal)

Reads the write buffer size. (Overrides TwclServerClientDataConnection.HalGetWriteBufferSize(Cardinal).)

HalSetReadBufferSize(Cardinal)

Sets the read buffer size. (Overrides TwclServerClientDataConnection.HalSetReadBufferSize(Cardinal).)

HalSetWriteBufferSize(Cardinal)

Sets the write buffer size. (Overrides TwclServerClientDataConnection.HalSetWriteBufferSize(Cardinal).)

HalWrite(Pointer,Cardinal,Cardinal)

Implements a hardware-dependent code that sends data to the connected device. (Overrides TwclServerClientDataConnection.HalWrite(Pointer,Cardinal,Cardinal).)

Leave

Exists *leaves) the connection's critical section. (Inherited from TwclCustomConnection.)

MessageReceived(TwclMessage)

The message receiver calls this method when a new notification message has been received. (Overrides TwclServerClientConnection.MessageReceived(TwclMessage).)

NotifyClosed(Integer)

Send a Disconnect notification message. (Inherited from TwclServerClientConnection.)

NotifyDataReceived(Pointer,Cardinal)

Send a data notification message. (Inherited from TwclServerClientDataConnection.)

SetReadBufferSize(Cardinal)

Sets the read buffer size. (Inherited from TwclServerClientDataConnection.)

SetWriteBufferSize(Cardinal)

Sets the write buffer size. (Inherited from TwclServerClientDataConnection.)

Write(Pointer,Cardinal,Cardinal)

Sends data to the connected device. (Inherited from TwclServerClientDataConnection.)

Top
Show:
 NameDescription
OnConnect

The event fires when a connection for a remote device has been accepted. (Inherited from TwclServerClientConnection.)

OnData

The event fires when new data is received from the connected remote device. (Inherited from TwclServerClientDataConnection.)

OnDisconnect

The event fires when the remote connected device has been disconnected. (Inherited from TwclServerClientConnection.)

Top

An application must never create an object of this class directly.