Classes | |
class | scim::SocketError |
An exception class to hold Socket related errors. More... | |
class | scim::SocketAddress |
The class to hold a socket address. More... | |
class | scim::Socket |
Socket communication class. More... | |
class | scim::SocketServer |
Socket Server class. More... | |
class | scim::SocketClient |
Socket client class. More... | |
class | scim::TransactionError |
An exception class to hold Transaction related errors. More... | |
class | scim::Transaction |
This class is used to pack up many data and commands into one package and send them via socket. More... | |
class | scim::Transaction |
This class is used to pack up many data and commands into one package and send them via socket. More... | |
class | scim::Transaction |
This class is used to pack up many data and commands into one package and send them via socket. More... | |
class | scim::TransactionReader |
This class is used to read data from a transaction without changing it. More... | |
Typedefs | |
typedef Signal2< void, SocketServer *, const Socket & > | scim::SocketServerSignalSocket |
Enumerations | |
enum | scim::SocketFamily { scim::SCIM_SOCKET_UNKNOWN, scim::SCIM_SOCKET_LOCAL, scim::SCIM_SOCKET_INET } |
The vaild socket address/protocol family,. More... | |
enum | scim::TransactionDataType { scim::SCIM_TRANS_DATA_UNKNOWN, scim::SCIM_TRANS_DATA_COMMAND, scim::SCIM_TRANS_DATA_RAW, scim::SCIM_TRANS_DATA_UINT32, scim::SCIM_TRANS_DATA_STRING, scim::SCIM_TRANS_DATA_WSTRING, scim::SCIM_TRANS_DATA_KEYEVENT, scim::SCIM_TRANS_DATA_ATTRIBUTE_LIST, scim::SCIM_TRANS_DATA_LOOKUP_TABLE, scim::SCIM_TRANS_DATA_PROPERTY, scim::SCIM_TRANS_DATA_PROPERTY_LIST, scim::SCIM_TRANS_DATA_VECTOR_UINT32, scim::SCIM_TRANS_DATA_VECTOR_STRING, scim::SCIM_TRANS_DATA_VECTOR_WSTRING, scim::SCIM_TRANS_DATA_TRANSACTION } |
Signature of all valid data types which can be store into transaction. More... | |
Functions | |
String | scim::scim_get_default_socket_frontend_address () |
Get the default socket address of SocketFrontEnd. | |
String | scim::scim_get_default_socket_imengine_address () |
Get the default socket address of SocketIMEngine. | |
String | scim::scim_get_default_socket_config_address () |
Get the default socket address of SocketConfig. | |
String | scim::scim_get_default_panel_socket_address (const String &display) |
Get the default socket address of the Panel running on localhost. | |
String | scim::scim_get_default_helper_manager_socket_address () |
Get the default socket address of Helper Manager Server running on localhost. | |
int | scim::scim_get_default_socket_timeout () |
Get the default socket timeout value. | |
bool | scim::scim_socket_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::scim_socket_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 | |
class class class typedef Slot2< void, SocketServer *, const Socket & > | scim::SocketServerSlotSocket |
|
|
|
The vaild socket address/protocol family,. Corresponding to libc PF_LOCAL/AF_LOCAL and PF_INET/AF_INET |
|
Signature of all valid data types which can be store into transaction.
|
|
Get the default socket address of SocketFrontEnd. SocketFrontEnd should listen on this address by default. |
|
Get the default socket address of SocketIMEngine. SocketIMEngine should connect to this address by default. |
|
Get the default socket address of SocketConfig. SocketConfig should connect to this address by default. |
|
Get the default socket address of the Panel running on localhost. The panel running on local host should listen on this address by default. All FrontEnds which need panel should connect to this address by default. |
|
Get the default socket address of Helper Manager Server running on localhost.
|
|
Get the default socket timeout value. All socket connection should use this timeout value. |
|
Helper function to open a connection to a socket server with a standard hand shake protocol. This function is used by a socket client to establish a connection between a socket server with a standard hand shake protocol. The communication between Panel and FrontEnd, SocketFrontEnd and SocketIMEngine, SocketFrontEnd and SocketConfig all uses this hand shake protocol.
|
|
Helper function to accept a connection request from a socket client with a standard hand shake protocol. This function is used by a socket server to accept a connection request from a socket client which is calling scim_socket_open_connection (). If a client with type "ConnectionTester" connected to this socket server, then this function will return an empty string, but tell the client the connection was established successfully.
|
|
|