TIdHTTPSession Destro

Frees the object instance. destructor Destroy override Description Destroy is a procedure that acts as the destructor for the object instance, and is responsible for handling persistent session cleanup and freeing object properties for the session. Destroy calls DoSessionEnd to trigger the OnSessionEnd event handler, and signals the Owner session list that the session should be removed. Destroy clears the Content C property, and frees the property instance. Destroy frees the private and...

TIdUDPClient Port

Identifies the port number on the remote system. property Port Integer Description Port is an Integer property used to identify the port number on the remote computer system in Host C , Host C and Port are used to build the UDP datagram packet, and identify the endpoint for the transmission. Some UDP-based protocols, such as SNTP (Simple Network Time Protocol) and DNS, used pre-defined port numbers. Port numbers below 1024 are reserved, but using a number above 1024 does not guarantee there...

TIdCommand HandlerReply Normal

Represents the reply indicating successful completion of the command handler. property ReplyNormal TIdRFCReply Description ReplyNormal is a TldRFCReply C property that contains the NumericCode and Text for the reply indicating successful completion of the command handler. ReplyNormal is used as the initial value for the reply in an associated TldCommand j object instance in the command handler. ReplyNormal is used in the Check C method prior to invoking execution of the command object of the...

Hi Iiiii Il

Specifies the query for the Finger 3 method. property Query String Description Query is a String property that represents the text for the query sent to the server when using the Finger C method. Values in Query consist of components in one of the following forms , username host , username host1 host2 For the second form of Query, there is no arbitrary limit to the number of host tokens in the query. Use CompleteQuery C to get the query string that includes the value in Host. See Also...

TIdCookie ManagerDestro

Frees the object instance. destructor Destroy override Description Destroy is the destructor for the object instance. Destroy will signal a TNotifyEvent event type whan a procedure has been assigned to the OnDestroy event handler. Use OnDestroy to handle management of the CookieCollection during destruction of the TIdCookieManager object instance. Destroy frees resources allocated in the Create method, including the CookieCollection property, prior to calling the inherited Destroy method.

TChar Set

Represents character sets used by GetSystemLocale Description TCharSet is an enumerated type used to represent the valid character sets used by the GetSystemLocal function. Valid value for TCharset includes a csGB2312 - Simplified Chinese character set. a csBig5 - Full Chinese character set. a csIso2022jp - Japanese character set. a csEucKR - Korean character set. csIso88591 - Default ISO 8859-1 character set.

TIdSMTPReceive Mode

Indicates the mechanism used for processing incoming mail data. TIdSMTPReceiveMode (rmRaw, rmMessage, rmMessageParsed) Unit TIdSMTPReceiveMode is an enumerated type that identifies the mechanism to be used on the server to handle data received in the incoming mail buffer. TIdSMTPReceiveMode can contain the following values with their associated meanings a rmRaw - Data is captured from the client connection as a 7-bit raw data stream. The raw data stream is provided to an event handler to allow...

Tid ThreadComponent StopMode

Indicates the action to be taken when the internal thread is Stopped. property StopMode Description StopMode is a published TldThreadStopMode C property in TldThreadComponent C that indicates the action when the internal thread contains True in the Stopped property. StopMode is updated when the internal thread calls its Stop method. Read and write access to the value in StopMode is delegated to the internal thread instance for the component.

TIdThread StopMode

Identifies the manner used to halt a thread. TIdThreadStopMode (smTerminate, smSuspend) Unit TIdThreadStopMode is an enumerated type that identifies the valid values for TldThread.StopMode H, and indicates the manner in which a running thread of execution has been halted. TIdThreadStopMode can contain one of the following values a smTerminate - Thread was terminated. a smSuspend - Thread was suspended.

TIdServer CookiesAdd

Creates a server Cookie C class instance to be added to the collection, function Add TIdServerCookie Return Value TIdServerCookie C - Server Cookie C class instance added to the collection. Description Add is a TIdServerCookie C function that creates a new instance of TIdServerCookie C to be added to the Cookie C collection. Add creates the Cookie C class instance using the TldServerCookies C object instance as the owner of the collection item. Add is called from TldHTTPServer C when cookies...

TIdUDPBase BroadcastEnabled

Indicates that the socket 2 binding can perform broadcast transmissions, property BroadcastEnabled Boolean Description BroadcastEnabled is a Boolean property used to indicate when the protocol handler is transmitting a datagram destined for all computers on the network. BroadcastEnabled is updated by the Broadcast E method, and is used to notify the protocol stack that Binding E must include or exclude the socket E option for broadcast transmissions. TldUDPBase.Broadcast E, TldUDPBase.Binding C

Mail BoxAttributes

Specifies the displayable versions of mailbox attribute values. MailBoxAttributes array maNoinferiors-.maUnmarked of String ( ' Noinferiors', ' Noselect', ' Marked', ' Unmarked' ) MailBoxAttributes is an Array type that contains the Strings representing each of the values in TIdMailAttributes. MailBoxAttributes is used by an IMAP4 client to get the display version of a mailbox attribute using the corresponding attibute value as an index.

TIdStream WriteLn

Writes a string value and an end-of-line character sequence to the stream. procedure WriteLn(const AData string '') overload procedure WriteLn(const AData string const AArgs array of const) overload Parameters const AData string '' String content or format to be written to the stream. const AArgs array of const Array of arguments for the format string. Description WriteLn 3 is an overloaded procedure in TldStream C that writes string content to the stream followed by an EOL 3 character...

IdResource Stringspas

TldRemoteCMDCIient is an ancestor to TldRexec ED and TldRSH El IDRemoteUseStdErr CI Default value for the TldRemoteCMDCIient. L seSMErrorfCl property. RSAAboutBoxCompName C RSAAboutBoxIndyWebsite ed RSAAboutBoxVersion ED RSAAboutCreditsCoordinator RSAAboutCreditsDistribution C RSAAboutCreditsRetiredPast IO RSAAboutMenultemName ICI ed RSFTPNeedAccForFiles e3 RSFTPNeedLoginWithUser CI RSFTPOpenDataConn CI RSFTPRequestedActionNotTaken

Tld CustomHTTPServerOnCreate Session

Event signalled when a session is needed a client connection. property OnCreateSession TOnCreateSession Parameters THread of execution for the threaded client connection. VHTTPSession HTTP session for the event notification. Description OnCreateSession is a TOnCreateSession C property that represents the event handler signalled when an HTTP session is needed for a threaded client connection. OnCreateSession is signalled when TldCustomHTTPServer.CreateSession C is used and...

[

Scosysmgr C sco_websrvrmgr H secure_aux_bus IdPORTsmpnameres IdPORTsnare Cl IdPORTspmp Cl IdPORTsshell C Id PORT submission ICI IDPORTsurf C Id PORT tenfold IdPORTtnscml C Id PORT uuidgen Id PORT vacdsm sws m IdPORTvnas Cl IdPORTvppsqua Cl IdPORTxfr Cl IdPOPRTxactbackup CI ldPORT_914c_g ldPORT_ACAS id IdPORTaci m IdPORTacmainttransd ICI IdPORT aed 512 f H IdPORTamprrcmd m IdPORTanet IdPORT ANY FILE C IdPORT ANYPRINTER Cl IdPORT ANYRJE Cl IdPORT ANYTERMINIL Cl IdPORTappleqtc ICI IdPORTapplix ICI...

TIdIntercept NotifyEvent

Event signalled for connection or disconnection of a mediate socket desciptor. TIdInterceptNotifyEvent procedure (ASender TIdConnectionIntercept) of object Unit Mediated connection for the event notification. Description TIdInterceptNotifyEvent is an event type signalled when a TIdConnectionIntercept instance need to respond to a connect or disconnect request. TIdInterceptNotifyEvent is the type used for the TldConnectionlntercept.OnConnect and TldConnectionlntercept.OnDisconnect event...

TIdUser AccountsAdd

Creates new user account object instances in the collection. function Add TIdUserAccount reintroduce Return Value TIdUserAccount C - User account added to the collection. Description Add is a TIdUserAccount C function, reintroduced in TldUserAccounts C , that allows creation of new user account object instances in the collection. Add calls the inherited Add method, and casts the return value to a TIdUserAccount C object instance. TldUserManager C , TIdUserAccount IC1

TIdHTTPProtocol Create

Constructor for the object instance. constructor Create(AConnection TIdCustomHTTP) Description Create is the constructor for the object instance. Create calls the inherited Create method to initialize the object instance. Create sets the internal member used to represent the TIdHTTP C connection for the protocol handler. Create also allocates resources used to represent the Request C and Response C headers generated during HTTP protocol exchanges. TldHTTPProtocol.Destroy ,...

TIdSocket HandleHandle

Specifies the low-level socket handle for the binding, property Handle TIdStackSocketHandle Description Handle is a read-only TIdStackSocketHandle property that encapsulate the low-level socket handle required to perform protocol stack API operations. Handle is also referred to as the socket descriptor in UNIX parlance. Socket descriptors are not presumed to correspond to a regular file handle, and native file operations such as read(), writeQ, and closeQ cannot be assumed to work correctly...

IdPorts

Provides a list of port numbers defined for services. function IdPorts TList Unit TList - List of integer port numbers. Description IdPorts is a TList function used to provide a list of the integer port numbers defined for services on the protocol stack. IdPorts will initialize the application variable FldPorts j , if it has not been loaded, with the port numbers defined for the local computer system. IdPorts can raise an EldCorruptServicesFile C exception when the protocol family cannot be...

IdThread ComponentDefault Priorit

Default value for the TldThreadComponent. Priority property. IdThreadComponentDefaultPriority tpNormal Unit IdThreadComponentDefaultPriority is a TldThreadPrioirty constant that represents the default value assigned to the TldThreadComponent.Priority C property. IdThreadComponentDefaultPriority is used in TldCustomThreadComponent.Create IC1 and as the default value for the property when VCL streaming is performed. TldCustomThreadComponent. Create C

Tld ThreadSafe StringList Remove

Deletes a string value from the items in the thread-safe data type. procedure Remove(const AItem string) Parameters const AItem string String value to remove from the data type. Remove is a procedure used to delete the String value in AItem from the Value for the thread-safe TStringList data type. Remove calls Lock C to enable resource protection for Value prior to searching Value using it's IndedxOf method. When Altems exists in Value, it is deleted. Remove calls Unlock C to disable resource...

TIdX

Implements X.509 certificates for SSL transports. TIdX509 class(TObject) Class Hierarchy TObject TldX509 ldSSLOpenSSL U TIdX509 Members Properties Message digest for the X.509 certificate. Issuer Represents the issuing authority for an X.509 certificate. notBefore Initial validity date and time for the X.509 certificate. Methods Constructor for the object instance. Hexadecimal representation of the Fingerprint for the X.509 certificate. notAfter Expiration date and time for the X. 509...

Tld MessaqeUlD

Unique Identifier for a message. property UID String Description UID is a String property that represents the Unique Identifier message attribute assigned to a message in mail-related protocols like IMAP4 and POP3. The content and format of UID is based on requirements in the mail protocol. For messages retrieved using TldlMAP4 UID will contain the string representation of the persistent 32-bit integer value stored in mailbox data associted with the message envelope. The value in UID is...

TIdTCPConnection Disconnect

Disconnects the peer connection. procedure Disconnect virtual Description Disconnect is used to disconnect from the current peer connection. Many descendant components override this method to provide termination commands required by various protocols. If you simply need to close a connection, you probably should call the DisconnectSocket C method. Disconnect triggers a hsDisconnecting status notification message prior to calling DisconnectSocket . When needed, Disconnect also frees the...

Constants in Unit IdIcmp Client Defpacketsize [C

Specifies the default packet size for ICMP messages. IdTIDICMPReceiveTimeout This is the default value for the TldlcmpClient.ReceiveTimeout C property. iDEFAULTREPLYBUFSIZE E Specifies the default size for ICMP reply buffers. TReplyStatus CI Response to an echo request. Specifies the data type for ICMP message data. Specifies the minimum number of data bytes in an ICMP reply. iDEFAULTPACKETSIZE CI Specifies the default packet size for ICMP data buffers. MAX_PACKET_SIZE Specifies the maximum...

TIdHash HashValue

Implements calculation of a hash value for input data. function HashValue(const ASrc string) LongWord overload function HashValue(AStream TStream) LongWord virtual abstract overload Parameters const ASrc string String containing data used to calculate the hash value. AStream TStream Stream containing data used to calculate the hash value. Return Value LongWord - 32-bit hash value for the input data. Description HashValue is an overloaded LongWord function in TldHash32 that specifies the...

TIdAlert Event

Event type signalled when alret messages occur in an IMAP4 response. TIdAlertEvent procedure (ASender TObject const AAlertMsg String) of object Unit ldlMAP4 U Parameters AAlertMsg Alert message found in the IMAP4 response. Sender IMAP4 client for the event notification. Description TIdAlertEvent is an event type signalled to allow an IMAP4 client to receive alert messages. Alert messages can occur in results from an IMAP4 command that selects the current mailbox, or appends a new message to a...

Subject [C

, Newsgroups Content-Type , MIME-Version . Content-Transfer-Encoding C . Sender C Disposition-Notification-To . References C . Date 0 . X-Priority C a X-Library For the Content-Type header, GenerateHeader compares the MIME Encoding C for the message to the message encoders used for any MessageParts C . If a message encoder contains a Charset value, it is appended to ContentType C . If Ecoding contains a value other than meMIME, and the message has multipart related or multipart alternative...

Boolean True on success Description

UIDRetrieveHeader is a Boolean function used to retrieve message headers for the uniqueness identifier specified in AMsgld. UIDRetrieveHeader retrieves all IMAP4 headers associated with the message in the IMAP4 mailbox. UIDRetrieveHeader implements the IMAP4 UID FETCH using AMsgId and other arguments needed to retrieve the RFC 822 Headers for the message. UIDRetrieveHeader requires that the ConnectionState C property contain the value csSelected, or an EldConnectionStateError CI exception will...

TIdSocks InfoMake SocksConnection

Establishes the socket C connection used for a SOCKS proxy connection. procedure MakeSocks5Connection(const AHost string const APort Integer) Parameters const AHost string Host C name or IP address for a socks connection request, const APort Integer Port C number for a socks connection request. Description MakeSocks5Connection is a procedure that establishes the TldTCPConnection C used for a SOCKS proxy connection. MakeSocks5Connection is called from MakeSocksConnection C when the value in...

TIdECHOServer DefaultPort

Default port number for the server. property DefaultPort integer Description DefaultPort is a published property in TIdECHOServer that identifies the default port number for the server, as described in the Echo Protocol specification. The default value for DefaultPort is ldPORT_ECHO , as assigned in the Create constructor. DefaultPort is used in Bindings when creating a listener thread for the server implementation. ldPORT_ECHO , TIdECHOServer.Create E, TldTCPServer.Bindings U

IdThread Safepas

Unit Overview Classes in Unit IdThreadSafe Implements the ancestor for thread-safe data types. TldThreadSafelnteger CI Implements a thread-safe Integer data type. TldThreadSafeString CI Implements a thread-safe String data type. TldThreadSafeCardinal CI Implements a thread-safe Cardinal data type. TldThreadSafeList CI Implements a thread-safe List of threads. TldThreadSafeStringList CI Implements a thread-safe TStringList data type. IdThreadSafe.pas contains classes needed to implement...

TldSMTPUse Ehlo

Indicates the SMTP client desires authetication type information from the SMTP server. property UseEhlo Boolean Description UseEhlo is a Boolean property that indicates the SMTP client desires authetication type information from the SMTP server. When UseEhlo is True, the client will connect C with the SMTP EHLO greeting that instructs the server to send C supported authentication types after the banner greeting. UseEhlo is used in the Connect C method prior to sending the value from HeloName C...

Constants in Unit IdAuthenticationSSPI

SEC_E_ALGORITHM_MISMATCH SECEBUFFERTOOSMALL SEC_E_CANNOT_PACK CI SEC_E_CERT_UNKNOWN C SEC E DECRYPT FAILURE CI SEC_E_ILLEGAL_MESSAGE CI SEC_E_INCOMPLETE_MESSAGE CI SEC E INTERNAL ERROR CI SECEINVALIDTOKEN CI SEC_E_MESSAGE_ALTERED CI SEC E NO CREDENTIALS CI SEC_E_NOT_OWNER CI SEC_E_OUT_OF_SEQUENCE CI SEC_E_SECPKG_NOT_FOUND SECETARGETUNKNOWN C SECEUNKNOWNCREDENTIALS SEC_E_UNTRUSTED_ROOT S E C_l_COM P LETE_AN D_CON TI N U E SEC I CONTINUE NEEDED C SEC_l_LOCAL_LOGON CI ESSPIInterfacelnitFailed CI...

TIdHTTPAllow Cookies

Indicates if the HTTP client accepts Cookies in response headers. property AllowCookies Boolean Description AllowCookies is a published Boolean property in TIdHTTP and indicates if the HTTP client allows use of persistent state information using TldCookie instances handled by CookieManager AllowCookies is used when an HTTP client retrieves headers for an HTTP Response, and processes Response headers and cookie values. When AllowCookies is True, the HTTP client will insure that CookieManager C...

TIdCustomHTTPServer AutoStart Session

Requests a new session when an existing session is not found. property AutoStartSession boolean Description AutoStartSession is a Boolean property that indicates a new HTTP session should be created when a persistent HTTP session does not exist in SessionList Id. Created with Doc-O-Matic 2 donated to Project JEDI. Commercial license available from the Doc-O-Matic site. AutoStartSession is used when a threaded HTTP client connection executes, and SessionState C indicates that persistent sessions...

Unit Overview Classes in Unit IdAuthentication

ICI Exception raised when registering an Authentication method that already Authentication schemes available in the authentication framework. TldBasicAuthentication CI Implements the HTTP Basic Authentication scheme. Functions in Unit IdAuthentication Ancestor for authentication classes in the Indy authentication framework. TldAuthWhatsNext C Represents the next action to be performed in the authentication framework. Retrieves a class instance to be used for the specified authentication...

LdlMAP [U Description

TIdIMAP4ConnectionState is an enumerated type that represents the connection state for the IMAP4 client. TIdIMAP4ConnectionState values are used to determine when IMAP4 commands are valid and permitted for the client connection. TIdIMAP4ConnectionState can contain the following values csAny - Commands allowed in any connection state. csNonAuthenticated - Commands allowed prior to establishing authentication and entering an authenticated state. csAuthenticated - Commands allowed after...

TIdIMAPCreate

Constructor for the object instance. constructor Create(AOwner TComponent) override Parameters AOwner TComponent Owner of the object instance. Description Create is the Constructor for the object instance, and relies on the inhertited Create method. Create also initializes properties to their default values, including . MailBox C - TldMailbox instance for the session. . Port U - Default value is ldPORT_IMAP4 E . ConnectionState C - Default value is csNonAuthenticated. . RetrieveOnSelect C -...

TDNSHeaderID

Identifier assigned to match DNS query and response packets. property ID Word Description ID is a Word property that represents the 16-bit identifier assigned by the DNS Resolver to allow matching a response to the DNS query that generates the message packet. ID is copied from the DNS request to the corresponding reply and can be used by the requester to match up replies to outstanding queries. The value in ID is assigned in the Create C constructor, and contains a random value in the range 0...

TIdIrc TwoParm Event

Event type for IRC commands having 2 parameters. TIdIrcTwoParmEvent procedure (Thread TIdPeerThread Parml, Parm2 String) of object Unit IdlrcServerlCl Parameters Parml Parameter 1. Client generating the event notification. Description TIdIrcTwoParmEvent is an event type for IRC commands having 2 parameters. See Also TldIRCServer.OnCommandNick , TldIRCServer.OnCommandOper , TldIRCServer.OnCommandSQuit , TldlRCServer. OnCommandJoin , TldIRCServer.OnCommandTopic , TldlRCServer.OnCommandList ,...

Description

RetrievePeek is a Boolean function that retrieves the message specified in AMsgNum and stores the result in the mesage instance specified by AMsg. Unlike Retrieve 7j , RetrievePeek preserves the state of the Seen flag for the message in the mailbox. RetrievePeek requires that ConnectionState C contain the value csSelected, or an EldConnectionStateError C exception wil be raised. RetrievePeek sends the IMAP4 FETCH command to retrieve data for the specified message number. RetrievePeek insures...

TIpProperty Byte

Represents one byte of the 4-byte lP address or network mask. property Byte4 Byte Description Byte4 is a Byte property that represents one Byte of the 4-byte lP address or network mask. Bytel 23, Byte2 23, Byte3 23, and Byte4 are used primarily to read the current value of the TIpProperty 23. Byte4 calls SetAII C to update the value of the byte in the lP address. Use AsDoubleWord 23, AsString 23, or AsBinaryString 23 to access the value of the IP address in other representations. See Also...

TWork EndEvent

Indicates that a read or write operation is complete. TWorkEndEvent procedure (Sender TObject AWorkMode TWorkMode) of object Unit AWorkMode Work mode for the event notification. Sender Object instance generating the event notification. Description This type of event occurs in components when receiving or sending data has been completed. AWorkMode is a TWorkMode CI value that indicates if the component is receiving or sending data.

TIdCustom ThreadComponent TerminatingException Class

Class Type for an exception raised during execution of the internal thread. property TerminatingExceptionClass TClass Description TerminatingExceptionClass is a read-only TClass property that represents the class type for an exception raised during execution of the internal thread for the component. Use TerminatingException HO to access the message from the exception. Use TldThreadComponent.OnException C to perform exception handling using a method synchronized to the main application thread of...

Parameters

Syslog message instance or string. const AAutoTimeStamp Boolean true Add time stamp to the message. const AFacility TidSyslogFacility The facility for the logged message. const ASeverity TIdSyslogSeverity The severity of the logged message. const AProcess String The process name. const AText String Descriptive text for the syslog entry. const AUsePID Boolean False Use a process ID. const APID Integer -1 Process ID for the syslog entry. Description SendMessage is an overloaded procedure in...

TIdTunnel SlaveOnDisconnect

Specifies the event handler for server disconnection. property OnDisconnect TIdServerThreadEvent AThread - Thread requesting the event. Description OnDisconnect is a TldServerThreadEvent 3 event handler that allows the server to respond to disconnect requests from connections identified by the TldPeerThread OnDisconnect can be used to perform housekeeping and maintenance required to reflect the change in the connection state. Application must assign a procedure to the event handler to allow a...

Tld MessageEncoderMlMEEncode

Implements the Base64 encoding algorithm for the message part encoder. procedure Encode(ASrc TStream ADest TStream) override Parameters ASrc TStream Stream containing the message part to be encoded. ADest TStream Stream to receive the encoded data. Description Encode is an overridden procedure in TIdMessageEncoderMIME that implements the Base64 encoding algorithm for the RFC message part encoder. ASrc is a TStream descendant that contains the un-encoded data for the message part. Encode...

Query RecordTypes

Constant array containing values for resource record types. QueryRecordTypes Array 0 16 of TQueryRecordTypes (qtA, qtNS, qtMD, qtMF, qtName, qtSOA, qtMB, qtMG, qtMR, qtNull, qtWKS, qtPTR, qtHINFO, qtMINFO, qtMX, qtTXT, qtSTAR) QueryRecordTypes is a constant array that contains TQueryRecordTypes C values. QueryRecordTypes is defined as containing seventeen (17) elements. Elements are accessed using its zero-based position in th e array. Each element represents one of the values in...

Find FirstOf

Locates the position where any of the characters in a search string occur in a string value. function FindFirstOf(AFind String AText String) Integer Unit IdStringslU Parameters AFind String Values to be compared. AText String Data to searched. Return Value Integer - Position where a search string character was located. Description FindFirstOf is an Integer function that locates the position in AText where any one of the characters in AFind can be found. FindFirstOf will iteratively search for...

TldlOHandler SocketConnect Client

Establisheds a remote connection for the input output handler. procedure ConnectClient(const AHost string const APort Integer const ABoundIP string const ABoundPort Integer const ABoundPortMin Integer const ABoundPortMax Integer const ATimeout Integer IdTimeoutDefault) override const AHost string Address of the remote system for the client connection. const APort Integer Port number for the remote connection. const ABoundIP string IP Address bound to the local system. const ABoundPort Integer...

TIdTCPConnection ReadChar

Returns a single character from the Indy read buffer. function ReadChar Char Description ReadChar is a Char function that returns a single character value from the InputBuffer for the connection. ReadChar calls ReadBuffer C to extract the ordinal value from InputBuffer CI. ReadChar is used in InputLn to allow handling of values read from the connection on a character-by-character basis. See Also TldTCPConnection.InputBuffer , TldTCPConnection.ReadBuffer , TldTCPConnection.InputLn

THost NameGet Event

Event type for HostName commands without parameters. THostNameGetEvent procedure (Thread TIdPeerThread) of object Unit The client connection generating the event. Description THostNameGetEvent is an event type generated for TldHostNameServer C commands that do not have parameters, including ALL HELP , VERSION , ALLOLD , DOMAINS , ALLDOM , ALLINGWAY TldHostNameServer C provides event handlers for the event notification to allow the server to respond to the HostName commands.

TIdGopher MenuItem

TIdGopherMenuItem class(TCollectionItem) Class Hierarchy IdGopherlCl TIdGopherMenuItem Members Properties AAbstract Summary for the Gopher item. Values used to prompt the user for specific actions. GopherBlock ItemType Indicates the Gopher menu type. Location Location of the Gopher item. Port number for the Gopher item. Server Server hosting the Gopher item. URL E-Mail address of the gopher item maintainer. Geog Geographic coordinates for the Gopher server. Indicates the item is on a Gopher+...

TIdRSHServer ForcePortsInRange

This property indicates if the server should disconnect clients that do not connect C from the port range (512 - 1023). property ForcePortsInRange Boolean Description This property indicates if the server should disconnect clients that do not connect C from the port range (512 - 1023). If this property is true, the RSH Server component will automatically disconnect clients that do not do connect C to the server from ports in this range. Setting this to False will permit the client to use the...

TIdTime ServerCreate

Constructor for the object instance. constructor Create(AOwner TComponent) override Parameters AOwner TComponent Owner of the object instance. Description Create is the constructor for the object instance., and initializes a new TldTimeServer C component. Create sets the default port to the standard port number used for the Time protocol (ldPORT_TIME C ). Create also sets the BaseTime property to Jan 1, 1900 which is specified by the Time protocol. See Also

TIdCustomHTTPServerMIMETable

Represents the MIME type table for the HTTP server implementation. property MIMETable TIdMimeTable Description MIMETable is a read-only TIdMimeTable 3 property that is used to retrieve the registered MIME type for a file requested in the ServeFile method. Values in MIMETable may be assigned to the ContentType property in the TldHTTPResponselnfo 3 containing headers written in the HTTP response. MIMETable is initialized in the Create constructor, and loaded with default values using...

TIdBase ThreadTerminated

Indicates the thread has been asked to terminate. property Terminated Description Terminated is a Boolean property used to indicate that the thread has been asked to abort thread execution using Terminate. The Execute method, and any methods that Execute calls, should check Terminated periodically and exit when it's True. The Terminate method sets the Terminated property to True. The Terminate method is the polite way to abort the execution of a thread, but it requires cooperation from the...

TRDATARecord Assign

Copies property values into the current object instance. procedure Assign(Source TPersistent) override Parameters Collection item contain value to be copied. Assign is a procedure that copies the property values from a collection item specified in ASource to the current object instance. lf ASource has the same class type as the current object instance, the required properties are copied. Otherwise the inherited Assign method is called using ASource as an argument.

TIdRexec ServerDefault Port

The port number used when listening for new client connections. property DefaultPort integer Description DefaultPort is an Integer property that represent the default port number used to listen for new client connections. The value of DefaultPort is provided for use with TldSocketHandles . TldTCPServer and descendant classes use the DefaultPort number to bind allocated sockets handles when the Active property to set to True. The default value for DefaultPort is Id PORT exec CI as assigned in...

Process Path

Resolves a directory path containing relative path information. function ProcessPath(const ABasePath String const APath String const APathDelim string ' ') string The path to use for the current directory in relative path information. const APath String The path including relative directoryinformation to be resolved. const APathDelim string ' ' Path delimiter. Default value is ' '. Return Value String - File system directory path after resolution. ProcessPath is a String function that performs...

TIdVCard MailinqLabelltem Assiqn

Copy the property values of an object. procedure Assign(Source TPersistent) override Parameters Source TPersistent Object containing values to be copied. Assign is a procedure used to copy the properties of the persistent object in Source to the current object instance. When the current object and the object in Source are the same ClassType, Assign will copy the following property values . AddressAttributesH . MailingLabel 3 When the current object and Source do not sahre the same ClassType,...

TIdData ChannelThread StartThread

Prepares and executes the data channel thread. procedure StartThread(AOperation TIdFTPOperation) Parameters AOperation TIdFTPOperation Action to be performed on the data channel. Description StartThread is a procedure that allows the threaded data channel to be prepared and executed to perform the data transfer operation identified in AOperation. The data channel thread exists for the lifetime of the threaded client connection. It is initalized and started prior to data transfer operations, and...

Tld SimpleServer Bindin

Socket descriptor used to listen C for connection requests, property Binding TIdSocketHandle Description Binding is a TldSocketHandle C property that represents the socket C descriptor used by TldSimpleServer C to Listen C for serial connection requests. Binding is allocated in the CreateBinding C method. Binding is used when TldSimpleServer C begins to listen C for connection requests. If Binding is not assigned, ResetConnection C is called and the Binding is initialized using CreateBinding C...

TIdHash Elf

Implements a UNIX ELF compatible hash calculation class. TIdHashElf class(TIdHash32) Class Hierarchy TObject TldHash C TldHash32 IC1 IdHashElf C TIdHashElf Members Methods Implements the hashing algorithm compatible with the UNIX ELF format. TldHashElf is a TldHash32 descendant that implements calculation of hash values using a hashing algorithm compatible with the UNIX ELF object file and linker format. Technical Support , TldHashElf.HashValue

TIdCustomHTTPRequest

Specifies the header values to send to the HTTP server, property Request TIdHTTPRequest Description Request is a TIdHTTPRequest j property used to specify the header values to send j to the HTTP server. Request headers allow the HTTP client to pass additional information about the request, or the request client, to the HTTP server. Request may contain the textual representation of Cookie values from the HTTP client, Host and Port information for a proxied connection, as well as values from...

Tld CustomHTTPResponse

Specifies the header values received from the HTTP server. property Response TIdHTTPResponse Description Response is a TIdHTTPResponse property used to specify the header values received in amessage from the HTTP server. Respose headers allow the server to pass additional information about the values returned for an HTTP Request j . Response is used in DoRequest j to perform the HTTP transfer, or in Head C when retrieving only the header values for the resource identified in URL C , Response...

TIdHTTPCookie Manager

Maintains client persistent state information using Cookies. property CookieManager TIdCookieManager Description CookieManager is a published TIdCookieManager property in TldHTTP j , and enables maintenance of persistent state information using Cookies for the HTTP Client connection. CookieManager is accessed when Cookies are detected during processing of headers in an HTTP response, or when preparing headers for an HTTP request. CookieManager is used by the HTTP client when AllowCookies is...

Unit

NNTP client thread for the event notification. VErrorText Optional error message from the event handler. Indicates the Post was handled successfully. Description TIdNNTPOnPost is an event type signalled when an NNTP server needs to accept C a new NNTP article in reponse to the NNTP POST command from a command event handler. TIdNNTPOnPost is the type used to represent the TldNNTPServer. OnPost C event handler. TIdNNTPOnPost allows the server implementation to capture the contents of the NNTP...

TIdMessage DecoderUUERead Bod

Implements reading and decoding the body of an RFC 822 message part using the UUDecode algorithm. function ReadBody(ADestStream TStream var AMsgEnd Boolean) TIdMessageDecoder override Parameters ADestStream TStream Stream to receive the decoded contents of the message part. Return Value TIdMessageDecoder - Message decoder class used for the message part. Description ReadBody is an overridden TIdMessageDecoder function in TldMessageDecoderUUE that implements reading and decoding of an RFC 822...

TIdRexec ServerOnCommand

Event handler for executing a command from a remote client connection. property OnCommand TIdRexecCommandEvent Description OnCommand is a TIdRexecCommandEvent property that represents the event handler signalled during execution of a threaqded client connetion to the RExec protocol server. OnCommand allows the server to perform authentication and execution of a command request from the remote client using arguments provide in the TIdRexecCommandEvent event notification. The TldRexecServer j...

TWKSRecord Parse

Parses RData values into properties. procedure Parse(CompleteMessage String APos Integer) override Contents of the resource record. APos Integer Position where RData values begin in the answer. Description Parse is an overridden procedure that implements a routine to parse resource record values in the DNS response into their property-based counterparts. CompleteMessage is the contents of the resource record. Since the DNS message can contain compressed data, the whole message is needed for...

TIdObject ListIndexOf

Returns the index of the first object in the list with a specified value. function IndexOf(AObject TObject) Integer Parameters AObject TObject Object instance to be located. Return Value Integer - Index position of the located object instance. Description Call IndexOf to get the index for a specified object in the list, where the first object has index 0, the second object has index 1, and so on. If an object is not in the list, IndexOf returns -1. If an object appears more than once, IndexOf...

Tld StreamReadLn

Reads a line of text from the current stream position. function ReadLn(AMaxLineLength Integer -1 AExceptionlfEOF Boolean FALSE) String Parameters AMaxLineLength Integer -1 Maximum line length to read from the stream. Default value is -1. AExceptionlfEOF Boolean FALSE Raise an exception if EOF C is reached. Default value is FALSE. Description ReadLn is a String function used to read a single line of text from the current stream position. For TldTCPStream C and descendant classes, the Connection...

M

IdPORTnetbiosns Constant representing the IANA-assigned port number for the NETBIOS Name Service. Constant representing the IANA-assigned port number for the Networj Gateway service. Constant representing the IANA-assigned port number for the Network Revision Control System service. Constant representing the IANA-assigned port number for the Network Job Service version 2. Constant representing the IANA-assigned port number for the Network Job Service version 4. Constant representing the...

TIdCookie ManagerOnDestro

Event handler signalled during the Create IE method, property OnDestroy TOnDestroyEvent Description OnDestroy is a TNotifyEvent property that represents the event handler signalled during destruction of the TldCookieManager E object instance. OnDestroy can be used to handle management of the CookieCollection Ewhen the TldCookieManager E calls the Destroy IE method. Applications must assign a procedure to the event handler to allow responding to the event notification. Use OnCreate IE to handle...

TIdTCPStream Write

Reimplements support for writing stream contents to a socket IC1 connection, function Write(const ABuffer ACount Longint) Longint override Parameters const ABuffer Values to be written to the socket j connection. ACount Longint Number of bytes written to the socket E connection. Return Value Longint - Number of bytes written to the socket C connection. Description Write is an overridden Longint function that reimplements support for writing TStream contents to the socket E handle specified in...

Txx LongWord Record

Represents the buffer used in calculating a TldHashMessageDigest4 C hash value. T4x4x4LongWordRecord array 0 3 of T4x4LongWordRecord Unit T4x4x4LongWordRecord is an Array of T4x4LongWordRecord C type that represents a buffer used in calculating the hash value for the TldHashMessageDigest4 C message digest algorithm. The T4x4LongWordRecord C values in T4x4x4LongWordRecord Created with Doc-O-Matic 2 donated to Project JEDI. Commercial license available from the Doc-O-Matic site. can be accessed...

IdStack Constspas

Unit Overview Types in Unit IdStackConsts Represents the low-level socket IC1 handle provide to methods that manipulate the socket C descriptor. Id INADDR ANY CI ld_INVALID_SOCKET C ld_IP_DROP_MEMBERSHIP CI I d_l P_M U LTI CAS T_TTL CI Id IPPROTO ICMP C Id IPPROTO IP CI Id IPPROTO RAwlCl Id IPPROTO UDP C Id SD Both C Id SD RecvlCl ld_SO_BROADCAST C ld_SO_DONTROUTE CI Id SO LINGER CI ld_SO_RCVBUF C IdSOREUSEADDR CI Id SO SNDTIMEO C Id SOCK RAW CI IdSOCKETERROR CI IdTCPNODELAY CI Id WSAEADDRINUSE...

IdQotdudpserverpas

Unit Overview Classes in Unit IdQOTDUDPServer Defines an implementation framework for a Quote of the Day Protocol server. Types in Unit IdQOTDUDPServer Specifies an event type for TIdQuotdServer commands. Unit IdQOTDUDPServer.pas IdQOTDUDPServer.pas contains Classes, Types, Procedures, and Functions needed to define and implement a UDP-based QOTD (Quote Of The Day) server. IdQOTDUDP.pas C , TldQotdUDPServer C , TldQOTDUDP C

TIdHeader ListAdd StdValues

Converts text line in NAME VALUE form to their TIdHeaderLIst representation. procedure AddStdValues(ASrc TStrings) Parameters ASrc TStrings Storage contains values in NAME VALUE form. Description AddStdValues is a procedure used to convert text values in the TStrings container ASrc to their TldHeaderList HO representation using NameValueSeparator C . ASrc contains text representing header names and values in NAME VALUE form. AddStdValues replaces the ' ' character in each text line with the...

TIdEncoder QuotedPrintable Encode

Encodes values in a stream using the Quoted-Printable encoding scheme. function Encode(ASrcStream TStream const ABytes integer MaxInt) string override Parameters ASrcStream TStream Stream containing values to be encoded. const ABytes integer MaxInt Number of Bytes in the input Stream to be encoded. Return Value String - Quoted-Printable representation of values in the input stream. Description Encode is an overridden String function in TIdEncoderQuotedPrintable C that implements the encoding...

TIdPOPServer ThreadUsername

Identity for the client connection. property Username String Description Username is a String property that represents the identification credentials for the threaded client connection to the POP3 server. Username is updated when the command handler for the POP3 USER command reads the value from the client connection. Username and Password C are used in the TldPOP3Server.CheckUser method to verify the identity and authentication for the client connection, and set the POP3 state....

Remove

Removes bytes of data from the memory buffer. Description Remove is a procedure used to to remove the number of bytes in AByteCount from the memory buffer. Remove shifts the contents of Memory so that only data bytes AByteCount through the Size of the buffer are available for further processing. When ByteCount and Size are the same, the memory buffer in Memory is reset using Clear. Remove will raise an EldNotEnoughDatalnBuffer exception when AByteCount is larger than the Size of Memory in...

TIdCommand HandlerParse Params

Indicates if parameter values are separated into individual line in Params. property ParseParams Boolean Description ParseParams is a Boolean property that indicates if the command handler should parse any parameters that occur after the Created with Doc-O-Matic 2 donated to Project JEDI. Commercial license available from the Doc-O-Matic site. command sent to the Check C method. When ParseParams is True, values occurring after the command and optional CmdDelimiter C are added to the Params...

IsNumeric

Determines if a character is a numeric digit. function IsNumeric(AChar Char) Boolean overload function IsNumeric(const AString string) Boolean overload Character to be examined for numeric content. const AString string String to be examined for numeric content. Boolean - True if the character or string contains numeric digit(s). Description IsNumeric E is an overloaded Boolean function that indicates if the character in AChar, or the string in AString, contains numeric digit(s) in the range '0'...

TText Record

Represents resource records in a DNS response that include Text C String resource record types. TTextRecord class(TResultRecord) Class Hierarchy TCollectionltem TResultRecord C TTextRecord ldDNSResolver C TTextRecord Members Properties Represents character strings associated with the owner. Methods Constructor for the object instance. Frees the resource record collection item. Parses RData values into properties. TTextRecord is a TResultRecord C descendant that represents a resource record...

TIdMessage SaveToFile

Stores message headers and contents in a file. procedure SaveToFile(const AFileName string const AHeadersOnly Boolean False) Parameters const AFileName string File to use for storing the message. const AHeadersOnly Boolean False Message should store only headers to the file. Description SaveToFile is a procedure used to store the headers and optional message parts for the message in the file specified in AFilename. If the file specified in AFileName already exists, the file is deleted prior to...

Synchronize

Executes a method in the main VCL thread. Description Synchronize is used to avoid multi-threading conflicts that can arise from accessing object properties or methods that are not thread-safe, or using resources not in the main thread of execution. Execution of the thread is suspended while Synchronize completes the call to Method. Note Methods can also be protected using critical sections or the multi-read exclusive-write synchronizer. Note Synchronize is redeclared as a public method in...

TIdConnection InterceptSend

Performs send E operations for the socket E handler, procedure Send(ABuffer TStream) virtual Parameters Pointer to the buffer for data to send j Number of bytes to send 7j , or size of the memory buffer. Return Values Integer - Number of bytes sent. Default Value is 0. Description Send is an Integer function that performs write operations for the Binding that represents the socket C connection. When the TIdConnectionIntercept C component is enabled and SendHandling is indicated, Send is the...

TIdAuthentication CollectionItems

Provides indexes access to authentication class instances in the collection. property Items AIndex Integer TIdAuthenticationItem Description Items is an indexed TIdAuthenticationItem HI property that provides access to the items in the collection by the integer value in Index. Reading a collection item in a specified position returns the item as a TIdAuthenticationItem HI object instance. Writing a TIdAuthenticationItem HI to specified position calls the Assign method for the collection item to...

TIdHTTPCustom SessionList Add

Specifies the mechanism used to add an HTTP session to the session list. procedure Add(ASession TIdHTTPSession) virtual abstract Parameters ASession TIdHTTPSession HTTP session to add to the session list. Description Add specifies the method used to add the HTTP session represented in ASession to the session list. Note All methods in TldHTTPCustomSessionList HO are declared as virtual abstract procedures and functions, and must be overridden in a descendant class to provide the session...

TIdHTTPRequest InfoVersion

Specifies the HTTP version for the request. property Version string Description Version is a read-only String property that represents the HTTP version retrieved as part of the HTTP request. Version is updated when TldCustomHTTPServer C reads the HTTP request during execution of a threaded HTTP client. THe value in Version is provided as an argunmentto TldCustomHTTPServer C event handlers, like OnCommandGet and OnCommandOther. TldCustomHTTPServer TldHTTPServer

TIdCookie ManagerCookie Collection

Represents a container for Cookies managed by TldCookieManager IE- property CookieCollection TIdCookies Description CookieCollection is a read-only TIdCookies E property that represents the Cookie class instances maintained by TldCookieManager for the HTTP client. CookieCollection is accessed when TldCookieManager E creates new Cookie class instances in calls to AddCookie E or AddCookie2 E, and when the textual Cookie content is prepared using GenerateCookieList IE- Use the OnNewCookie E event...

IdSMTPServerpas

Unit Overview Classes in Unit IdSMTPServer TldSMTPDataReplies IO Implements replies for the SMTP DA TA command. Implements a container for replies to SMTP command verbs. TldSMTPReceiveMode Indicates the mechanism used for processing incoming mail data. TldSMTPServerThread CI Implements a thread of execution for SMTP client connections. TIdStreamType Indicates the class type for an associated TStream descendant. Types in Unit IdSMTPServer Specifies an event type signalled for SMTP commands with...

TIdUDPBase Send

Sends data to a remote computer system. procedure Send(AHost string const APort Integer const AData string) Parameters AHost string Address of the remote computer. const APort Integer Port number on the remote computer. const AData string Value to send C to the remote computer. Description Send is a procedure used to send C the data specified in AData to the remote computer system specified in AHost and APort. Send will resolve the address in AHost to a host name prior to sending AData to the...

Unit Overview Classes in Unit IdHTTP

Exception raised during processing of a HTTP response. TldCustomHTTP CI Specifies an HTTP client implementation. Indicxates the host and transport used for a HTTP connection. TldHTTPOption C Represents HTTP protocol options available for use with an HTTP client. Represents the HTTP Protocol version for a request. Provides access to headers and properties for an HTTP response. Types in Unit IdHTTP TldHTTPOnRedirectEvent IC1 Event type triggered for a HTTP redirection request. TldOnAuthorization...

TIdIdent ErrorType

Specifies the error to send C to the Ident client in the ReplyError method. TIdIdentErrorType (ieInvalidPort, ieNoUser, ieHiddenUser, ieUnknownError) Unit TIdIdentErrorType is used to specify the error to send C to the Ident client in the ReplyError method. a ieInvalidPort - The port specified by the query is not valid a ieNoUser - The port pair specified is not in use or not used by an identifiable entity a ieHiddenUser - The user was identified but wishes to remain anonymous a ieUnknownError...