Midware TAppServer

From Overbyte
Revision as of 09:29, 2 May 2011 by Marie (talk | contribs) (Corrected a typo error)
Jump to navigation Jump to search

Main page -> Midware component reference -> TAppserver

Overview

unit ApServer.pas

TAppServer is the communication kernel for all MidWare application servers. This component handle all the communication work for the application server, keeping track of user connections and sessions. A complete application server is made of a TAppserver component, a TRequestBroker (Object Request Broker) component and a set of TServerObject descendent components.

Properties

Banner The banner property is the text that is sent to the client when the connection has been established. Default value is 'Welcome to MidWare server'.
ClientCount Gives the actual number of connected clients.

Methods

DisconnectAll Disconnect every connected client. Do not confuse with the Stop method.
Start The start procedure will start the server. The server will accept new client connections. See also Stop.

Events

OnAfterProcessRequest The OnAfterProcessRequest is called when a request has been processed by a TServerObject.
OnAfterSendReply The OnAfterSendReply event is called once the reply header and body has ben written to the internal buffer for sending in the background.

How to


Midware Components Reference