Difference between revisions of "Midware TAppSrvClient"

From Overbyte
Jump to navigation Jump to search
(Created page with ' Main page -> Midware component reference -> TAppserver == Overview == {| | '''unit''' |||| ApsCl…')
 
Line 17: Line 17:
 
| valign="top" | [[Midware_TAppServer.FunctionCode | FunctionCode]] |||| The function code is a string which is used by the application server to know which server object to instanciate to execute the request.
 
| valign="top" | [[Midware_TAppServer.FunctionCode | FunctionCode]] |||| The function code is a string which is used by the application server to know which server object to instanciate to execute the request.
 
|-
 
|-
| valign="top" | [[Midware_TAppServer.Handle | Handle]] |||| The handle for the hidden window used to send and receive internal messages for component work.
+
| valign="top" | [[Midware_TAppServer.Port | Port]] |||| This is the port number used by the server to listen for clients.
 +
|-
 +
| valign="top" | [[Midware_TAppServer.Request | Request]] |||| The request property holds the parameters sent to the application server.
 +
|-
 +
| valign="top" | [[Midware_TAppServer.RequestBody | RequestBody]] |||| RequestBody gives the address where the message body is stored just before sending it to the application server.
 +
|-
 +
| valign="top" | [[Midware_TAppServer.RequestBodyLen | RequestBodyLen]] |||| RequestBodyLen gives the message body length just before sending it to the application server.
 +
|-
 +
| valign="top" | [[Midware_TAppServer.RequestHeader | RequestHeader]] |||| RequestHeader gives the address where the message header is stored just before sending it to the application server.
 +
|-
 +
| valign="top" | [[Midware_TAppServer.RequestHeaderLen | RequestHeaderLen]] |||| RequestHeaderLen gives the message header length just before sending it to the application server.
 +
|-
 +
| valign="top" | [[Midware_TAppServer.Server | Server]] |||| This is the IP address or hostname for the application server.
 +
|-
 +
| valign="top" | [[Midware_TAppServer.SocksAuthentication | SocksAuthentication]] |||| SocksAuthentication specifies which socks5 authentication method to use.
 +
|-
 +
| valign="top" | [[Midware_TAppServer.SocksPassword | SocksPassword]] |||| SocksPassword is the password used for Socks5 connection.
 +
|-
 +
| valign="top" | [[Midware_TAppServer.SocksPort| SocksPort]] |||| Socks5 port number.
 +
|-
 +
| valign="top" | [[Midware_TAppServer.SocksServer | SocksServer]] |||| IP or hostname for socks5 server.
 +
|-
 +
| valign="top" | [[Midware_TAppServer.SocksUsercode | SocksUsercode]] |||| Socks5 usercode.
 +
|-
 +
| valign="top" | [[Midware_TAppServer.State | Stade]] |||| State property gives the component state:
 +
|-
 +
| valign="top" | [[Midware_TAppServer.WSocket | WSocket]] |||| WSocket is the reference to the underlaiying TWSocket component used for communication with the application server.
 
|-
 
|-

Revision as of 15:19, 2 May 2011

Main page -> Midware component reference -> TAppserver

Overview

unit ApsCli.pas

TAppSrvClient is used on the client side to connect to the application server. His main purpose is to send a request to the application server and receive answers from the application server. TAppSrvClient establish and manage connection and dialog with MidWare application server.

Properties

Answer The Answer property holds the answer from the application server.
AnswerStatus The AnswerStatus property hold the ResultStatus returned back by the application server.
Connected The connected property tell if connection with the server is alive.
FunctionCode The function code is a string which is used by the application server to know which server object to instanciate to execute the request.
Port This is the port number used by the server to listen for clients.
Request The request property holds the parameters sent to the application server.
RequestBody RequestBody gives the address where the message body is stored just before sending it to the application server.
RequestBodyLen RequestBodyLen gives the message body length just before sending it to the application server.
RequestHeader RequestHeader gives the address where the message header is stored just before sending it to the application server.
RequestHeaderLen RequestHeaderLen gives the message header length just before sending it to the application server.
Server This is the IP address or hostname for the application server.
SocksAuthentication SocksAuthentication specifies which socks5 authentication method to use.
SocksPassword SocksPassword is the password used for Socks5 connection.
SocksPort Socks5 port number.
SocksServer IP or hostname for socks5 server.
SocksUsercode Socks5 usercode.
Stade State property gives the component state:
WSocket WSocket is the reference to the underlaiying TWSocket component used for communication with the application server.