Mini-Google
Internal documentation
Store Server
- Scope
- Store (compressed) files crawled in order to be parsed.
- Interface
-
- Throught a declared server socket, it receives from
crawlers the message :
STR _size_info_byte_ _info_
|___________________||_____|
readUTF() readByte()
where _info_ is a compressed information containing _urlid_, MIME type, and file crawled.
- Throught a declared server socket, it receives from
parsers one of the messages :
GET FILE
GET PATH
RMV _path_
In response to GET messages it sends respectively :
FILE _size_info_byte_ _info_
PATH _path_
where _info_ is a compressed information containing _urlid_, MIME type, and file crawled.
- Reads a file giving some parameters.