TROIndyUDPTransport
Overview
This class implements a transport object for Indy-based UDP server. Implements IROTransport and IROTCPTransport.
Transport objects are used to access server-specific information from the server, such as address bindings and so on depending on the server nature. Transport object are not widely used at the user code level but sometimes are useful for advanced server development.
Location
- Unit: uROIndyUDPServer.pas
- Ancestry: TInterfacedObject | TROIndyUDPTransport
Properties
Binding
Returns Indy object that describes how the server is bound to IP addresses.
property Binding: TIdSocketHandle read
Server
Provides access to the server instance that owns the current transport object instance.
property Server: TROIndyUDPServer read
Instance Methods
constructor Create
Creates a new instance.
constructor Create(aServer: TROIndyUDPServer; aBinding: TIdSocketHandle)
Parameters:
- aServer: The server instance that owns the transport object.
- aBinding: An Indy object that describes how the server is bound to IP addresses.
GetTransportObject protected
Returns itself.
function GetTransportObject: TObject