common/remoteprotocol.h File Reference

Remote protocol version and message numbers. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define XAPIAN_REMOTE_PROTOCOL_MAJOR_VERSION   30
#define XAPIAN_REMOTE_PROTOCOL_MINOR_VERSION   6

Enumerations

enum  message_type {
  MSG_ALLTERMS, MSG_COLLFREQ, MSG_DOCUMENT, MSG_TERMEXISTS,
  MSG_TERMFREQ, MSG_KEEPALIVE, MSG_DOCLENGTH, MSG_QUERY,
  MSG_TERMLIST, MSG_POSITIONLIST, MSG_POSTLIST, MSG_REOPEN,
  MSG_UPDATE, MSG_ADDDOCUMENT, MSG_CANCEL, MSG_DELETEDOCUMENT_PRE_30_2,
  MSG_DELETEDOCUMENTTERM, MSG_FLUSH, MSG_REPLACEDOCUMENT, MSG_REPLACEDOCUMENTTERM,
  MSG_GETMSET_PRE_30_3, MSG_SHUTDOWN, MSG_DELETEDOCUMENT, MSG_GETMSET_PRE_30_5,
  MSG_GETMSET, MSG_MAX
}
 Message types (client -> server). More...
enum  reply_type {
  REPLY_GREETING, REPLY_EXCEPTION, REPLY_DONE, REPLY_ALLTERMS,
  REPLY_COLLFREQ, REPLY_DOCDATA, REPLY_TERMDOESNTEXIST, REPLY_TERMEXISTS,
  REPLY_TERMFREQ, REPLY_DOCLENGTH, REPLY_RESULTS_PRE_30_5, REPLY_STATS,
  REPLY_TERMLIST, REPLY_POSITIONLIST, REPLY_POSTLISTSTART, REPLY_POSTLISTITEM,
  REPLY_UPDATE, REPLY_VALUE, REPLY_ADDDOCUMENT, REPLY_RESULTS,
  REPLY_MAX
}
 Reply types (server -> client). More...


Detailed Description

Remote protocol version and message numbers.

Definition in file remoteprotocol.h.


Define Documentation

#define XAPIAN_REMOTE_PROTOCOL_MAJOR_VERSION   30

Definition at line 42 of file remoteprotocol.h.

Referenced by RemoteDatabase::RemoteDatabase(), and RemoteServer::RemoteServer().

#define XAPIAN_REMOTE_PROTOCOL_MINOR_VERSION   6

Definition at line 43 of file remoteprotocol.h.

Referenced by RemoteDatabase::RemoteDatabase(), and RemoteServer::RemoteServer().


Enumeration Type Documentation

enum message_type

Message types (client -> server).

Enumerator:
MSG_ALLTERMS 
MSG_COLLFREQ 
MSG_DOCUMENT 
MSG_TERMEXISTS 
MSG_TERMFREQ 
MSG_KEEPALIVE 
MSG_DOCLENGTH 
MSG_QUERY 
MSG_TERMLIST 
MSG_POSITIONLIST 
MSG_POSTLIST 
MSG_REOPEN 
MSG_UPDATE 
MSG_ADDDOCUMENT 
MSG_CANCEL 
MSG_DELETEDOCUMENT_PRE_30_2 
MSG_DELETEDOCUMENTTERM 
MSG_FLUSH 
MSG_REPLACEDOCUMENT 
MSG_REPLACEDOCUMENTTERM 
MSG_GETMSET_PRE_30_3 
MSG_SHUTDOWN 
MSG_DELETEDOCUMENT 
MSG_GETMSET_PRE_30_5 
MSG_GETMSET 
MSG_MAX 

Definition at line 54 of file remoteprotocol.h.

enum reply_type

Reply types (server -> client).

Enumerator:
REPLY_GREETING 
REPLY_EXCEPTION 
REPLY_DONE 
REPLY_ALLTERMS 
REPLY_COLLFREQ 
REPLY_DOCDATA 
REPLY_TERMDOESNTEXIST 
REPLY_TERMEXISTS 
REPLY_TERMFREQ 
REPLY_DOCLENGTH 
REPLY_RESULTS_PRE_30_5 
REPLY_STATS 
REPLY_TERMLIST 
REPLY_POSITIONLIST 
REPLY_POSTLISTSTART 
REPLY_POSTLISTITEM 
REPLY_UPDATE 
REPLY_VALUE 
REPLY_ADDDOCUMENT 
REPLY_RESULTS 
REPLY_MAX 

Definition at line 84 of file remoteprotocol.h.


Documentation for Xapian (version 1.0.10).
Generated on 24 Dec 2008 by Doxygen 1.5.2.