flatgget processes the data request and sends the data to the client.Because the grids are stored in a non-standard McIDAS-X format called FLAT, ggetserv starts the secondary server flatgget.ggetserv reads the server mapping table entry for the dataset LOCAL/MODEL.mcserv starts the primary server ggetserv.The server processes the request and sends the data requested back to the client. Like local requests, this version reads the beginning of the client request, determines which server process is needed and runs it. On the server machine, inetd receives the connection and creates a child process running the same mcserv module with slightly different command arguments. ![]() If the request is handled remotely, mcserv opens a connection to the remote server and acts as a TCP-to-pipe bridge, sending out the request. The server process reads the body of the client request, acquires the data requested and sends the data back to the client. If the request is handled locally, mcserv finds the ADDE request type and runs the appropriate server process. ![]() The ADDE communications module, mcserv, starts the primary servers based on the server's IP address, which tells mcserv if the request will be fulfilled locally or remotely. Retrieves the grid header and entire gridĬhecks file permissions for writing grid objects Retrieves the image header, navigation, calibration and data data is returned line by lineĬhecks file permissions for writing image objects Getting startedīefore writing an ADDE server, you should understand some basic concepts about servers in McIDAS-X. If the stored data format is different from the standard McIDAS-X stored formats, the primary server starts a secondary server to convert the data to the format the client expects. The primary server extracts information about the requested dataset from the server mapping table, including the stored format of the data. mcserv starts the appropriate primary server based on the request type. In short, a user enters a data request based on the ADDE group and descriptor name. They don't read the client request from stdin, but rather from the server's argument list. Secondary servers are started by primary servers.They read the client request from stdin (standard input). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |