Topic Path: Pending > TIdServerIntercept.Accept@TComponent
ContentsIndexHome
PreviousUpNext
TIdServerIntercept.Accept@TComponent

Create a connectionintercept for a new client connection to a server.

Parameters 
Description 
AConnection 
Client connection for the new intercept. 

TIdConnectionIntercept - Connection intercept for the client connection.

Accept is an abstract virtual TIdConnectionIntercept function that creates the connection intercept to be used for a peer connection to the server. Accept is used by TIdListenerThread descendants to create a connection intercept for the client in AConnection. 

Descendant of TIdServerIntercept must implement the abstract Accept method to provide the TIdConnectionIntercept descendant that is appropriate for the TIdServerIntercept.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.