|
Namespaces |
namespace | scim |
Classes |
class | scim::SocketTransactionError |
| An exception class to hold SocketTransaction related errors. More...
|
class | scim::SocketTransaction |
| This class is used to pack up many data and commands into one package and send them via socket. More...
|
Enumerations |
enum | SocketTransactionDataType {
SCIM_TRANS_DATA_UNKNOWN,
SCIM_TRANS_DATA_COMMAND,
SCIM_TRANS_DATA_RAW,
SCIM_TRANS_DATA_UINT32,
SCIM_TRANS_DATA_STRING,
SCIM_TRANS_DATA_WSTRING,
SCIM_TRANS_DATA_KEYEVENT,
SCIM_TRANS_DATA_ATTRIBUTE_LIST,
SCIM_TRANS_DATA_LOOKUP_TABLE,
SCIM_TRANS_DATA_PROPERTY,
SCIM_TRANS_DATA_PROPERTY_LIST,
SCIM_TRANS_DATA_VECTOR_UINT32,
SCIM_TRANS_DATA_VECTOR_STRING,
SCIM_TRANS_DATA_VECTOR_WSTRING
} |
| Signature of all valid data types which can be store into transaction. More...
|
Functions |
bool | scim_socket_trans_open_connection (uint32 &key, const String &client_type, const String &server_type, const Socket &socket, int timeout=-1) |
| Helper function to open a connection to a socket server with a standard hand shake protocol.
|
String | scim_socket_trans_accept_connection (uint32 &key, const String &server_types, const String &client_types, const Socket &socket, int timeout=-1) |
| Helper function to accept a connection request from a socket client with a standard hand shake protocol.
|
Variables |
const int | SCIM_TRANS_CMD_UNKNOWN = 0 |
const int | SCIM_TRANS_CMD_REQUEST = 1 |
const int | SCIM_TRANS_CMD_REPLY = 2 |
const int | SCIM_TRANS_CMD_OK = 3 |
const int | SCIM_TRANS_CMD_FAIL = 4 |
const int | SCIM_TRANS_CMD_OPEN_CONNECTION = 5 |
const int | SCIM_TRANS_CMD_CLOSE_CONNECTION = 6 |
const int | SCIM_TRANS_CMD_LOAD_FILE = 7 |
const int | SCIM_TRANS_CMD_EXIT = 99 |
const int | SCIM_TRANS_CMD_PROCESS_KEY_EVENT = 100 |
const int | SCIM_TRANS_CMD_MOVE_PREEDIT_CARET = 101 |
const int | SCIM_TRANS_CMD_SELECT_CANDIDATE = 102 |
const int | SCIM_TRANS_CMD_UPDATE_LOOKUP_TABLE_PAGE_SIZE = 103 |
const int | SCIM_TRANS_CMD_LOOKUP_TABLE_PAGE_UP = 104 |
const int | SCIM_TRANS_CMD_LOOKUP_TABLE_PAGE_DOWN = 105 |
const int | SCIM_TRANS_CMD_RESET = 106 |
const int | SCIM_TRANS_CMD_FOCUS_IN = 107 |
const int | SCIM_TRANS_CMD_FOCUS_OUT = 108 |
const int | SCIM_TRANS_CMD_TRIGGER_PROPERTY = 109 |
const int | SCIM_TRANS_CMD_SHOW_PREEDIT_STRING = 110 |
const int | SCIM_TRANS_CMD_SHOW_AUX_STRING = 111 |
const int | SCIM_TRANS_CMD_SHOW_LOOKUP_TABLE = 112 |
const int | SCIM_TRANS_CMD_HIDE_PREEDIT_STRING = 113 |
const int | SCIM_TRANS_CMD_HIDE_AUX_STRING = 114 |
const int | SCIM_TRANS_CMD_HIDE_LOOKUP_TABLE = 115 |
const int | SCIM_TRANS_CMD_UPDATE_PREEDIT_CARET = 116 |
const int | SCIM_TRANS_CMD_UPDATE_PREEDIT_STRING = 117 |
const int | SCIM_TRANS_CMD_UPDATE_AUX_STRING = 118 |
const int | SCIM_TRANS_CMD_UPDATE_LOOKUP_TABLE = 119 |
const int | SCIM_TRANS_CMD_COMMIT_STRING = 120 |
const int | SCIM_TRANS_CMD_FORWARD_KEY_EVENT = 121 |
const int | SCIM_TRANS_CMD_REGISTER_PROPERTIES = 122 |
const int | SCIM_TRANS_CMD_UPDATE_PROPERTY = 123 |
const int | SCIM_TRANS_CMD_NEW_INSTANCE = 200 |
const int | SCIM_TRANS_CMD_DELETE_INSTANCE = 201 |
const int | SCIM_TRANS_CMD_DELETE_ALL_INSTANCES = 202 |
const int | SCIM_TRANS_CMD_GET_FACTORY_LIST = 203 |
const int | SCIM_TRANS_CMD_GET_FACTORY_NAME = 204 |
const int | SCIM_TRANS_CMD_GET_FACTORY_AUTHORS = 205 |
const int | SCIM_TRANS_CMD_GET_FACTORY_CREDITS = 206 |
const int | SCIM_TRANS_CMD_GET_FACTORY_HELP = 207 |
const int | SCIM_TRANS_CMD_GET_FACTORY_LOCALES = 208 |
const int | SCIM_TRANS_CMD_GET_FACTORY_ICON_FILE = 209 |
const int | SCIM_TRANS_CMD_GET_FACTORY_LANGUAGE = 210 |
const int | SCIM_TRANS_CMD_FLUSH_CONFIG = 300 |
const int | SCIM_TRANS_CMD_ERASE_CONFIG = 301 |
const int | SCIM_TRANS_CMD_GET_CONFIG_STRING = 302 |
const int | SCIM_TRANS_CMD_SET_CONFIG_STRING = 303 |
const int | SCIM_TRANS_CMD_GET_CONFIG_INT = 304 |
const int | SCIM_TRANS_CMD_SET_CONFIG_INT = 305 |
const int | SCIM_TRANS_CMD_GET_CONFIG_BOOL = 306 |
const int | SCIM_TRANS_CMD_SET_CONFIG_BOOL = 307 |
const int | SCIM_TRANS_CMD_GET_CONFIG_DOUBLE = 308 |
const int | SCIM_TRANS_CMD_SET_CONFIG_DOUBLE = 309 |
const int | SCIM_TRANS_CMD_GET_CONFIG_VECTOR_STRING = 310 |
const int | SCIM_TRANS_CMD_SET_CONFIG_VECTOR_STRING = 311 |
const int | SCIM_TRANS_CMD_GET_CONFIG_VECTOR_INT = 312 |
const int | SCIM_TRANS_CMD_SET_CONFIG_VECTOR_INT = 313 |
const int | SCIM_TRANS_CMD_RELOAD_CONFIG = 314 |
const int | SCIM_TRANS_CMD_PANEL_COMMAND_START = 500 |
const int | SCIM_TRANS_CMD_PANEL_COMMAND_END = 599 |
const int | SCIM_TRANS_CMD_USER_DEFINED = 10000 |