Indy 9
TGetEvent
See Also, Unit: IdWhoIsServer
Event triggered to perform a WhoIs look-up query.
TGetEvent = procedure (AThread: TIdPeerThread; ALookup: string) of object;
Unit
IdWhoIsServer
Parameters
ALookup
Look-up value for the WhoIs query.
AThread
Client connection for the event notification.
Description
TGetEvent is an event type signalled when TIdWhoIsServer performs the look-up of individual names, mailbox names, network organizations, DDN nodes and associated hosts, and TAC telephone numbers for the value specified in ALookup.

TGetEvent is the event type signalled to the TIdWhoIsServer.OnCommandLookup event handler, and allows the server to implement the platform-specific mechanisms required to provide the client connection in AThread with data for the network service.

Applications must assign a procedure to the event handler to allow responding to the event notification. The event handler can provide data from local resources, or access data on servers provided by the Network Information Center (NIC) at SRI International at 26.0.0.73 or 10.0.0.51. The event can formulate and write responses using the connection in AThread.


Created with Doc-O-Matic 2 donated to Project JEDI. Commercial license available from the Doc-O-Matic site.