Internet Direct (Indy) Version 9.0.2 Beta
|
TIdServerIntercept = class(TIdBaseComponent)
TIdConnectionIntercept descendants will be used by peer connection to act as an intermediary between the socket binding for the connection and low-level operations that communicate with the protocol stack.
TIdServerIntercept provides virtual methods to initialize the server socket handler, and to provide new TIdConnectionIntercept handlers for peer connections when the connection is accepted.
Call Init to perform initialization tasks prior to using the TIdServerIntercept instance to accepting connections. Call Accept to create the TIdConnectionIntercept handler used by the peer connection.
Note: Do not create instances of TIdServerIntercept. Use descendant classes, like TIdServerInterceptOpenSSL, or create custom descendants that implement the virtual methods of TIdServerIntercept.