SCIMBridge  0.4.x
bool ScimBridgeAgentClientListenerImpl::handle_event ( scim_bridge_agent_event_type_t  event_type)
virtual

Handle an event in the socket. This function is called when a event is occurred upon the socket.

Parameters
event_typeThe type of this event.
Returns
If this client should be kept in the event loop.

Implements ScimBridgeAgentSocketClient.

References RETVAL_FAILED, RETVAL_IGNORED, RETVAL_SUCCEEDED, SCIM_BRIDGE_AGENT_EVENT_ERROR, SCIM_BRIDGE_AGENT_EVENT_INTERRUPT, SCIM_BRIDGE_AGENT_EVENT_READ, SCIM_BRIDGE_AGENT_EVENT_WRITE, scim_bridge_alloc_message(), scim_bridge_free_message(), SCIM_BRIDGE_MESSAGE_ALT, SCIM_BRIDGE_MESSAGE_ANY, SCIM_BRIDGE_MESSAGE_CAPS_LOCK, SCIM_BRIDGE_MESSAGE_CHANGE_FOCUS, SCIM_BRIDGE_MESSAGE_CONTROL, SCIM_BRIDGE_MESSAGE_CURSOR_LOCATION_CHANGED, SCIM_BRIDGE_MESSAGE_DEREGISTER_IMCONTEXT, SCIM_BRIDGE_MESSAGE_EMBEDDED, SCIM_BRIDGE_MESSAGE_FALSE, SCIM_BRIDGE_MESSAGE_FLOATING, SCIM_BRIDGE_MESSAGE_FOCUS_CHANGED, scim_bridge_message_get_argument(), scim_bridge_message_get_argument_count(), scim_bridge_message_get_header(), SCIM_BRIDGE_MESSAGE_HANDLE_KEY_EVENT, SCIM_BRIDGE_MESSAGE_HANGING, SCIM_BRIDGE_MESSAGE_HYPER, SCIM_BRIDGE_MESSAGE_IMCONTEXT_DEREGISTERED, SCIM_BRIDGE_MESSAGE_IMCONTEXT_REGISTERED, SCIM_BRIDGE_MESSAGE_IMCONTEXT_RESETED, SCIM_BRIDGE_MESSAGE_KANA_RO, SCIM_BRIDGE_MESSAGE_KEY_EVENT_HANDLED, SCIM_BRIDGE_MESSAGE_META, SCIM_BRIDGE_MESSAGE_NUM_LOCK, SCIM_BRIDGE_MESSAGE_PREEDIT_MODE_CHANGED, SCIM_BRIDGE_MESSAGE_PREEDIT_UPDATED, SCIM_BRIDGE_MESSAGE_REGISTER_IMCONTEXT, SCIM_BRIDGE_MESSAGE_RESET_IMCONTEXT, scim_bridge_message_set_argument(), SCIM_BRIDGE_MESSAGE_SET_CURSOR_LOCATION, SCIM_BRIDGE_MESSAGE_SET_PREEDIT_MODE, SCIM_BRIDGE_MESSAGE_SHIFT, SCIM_BRIDGE_MESSAGE_STRING_COMMITED, SCIM_BRIDGE_MESSAGE_SUPER, SCIM_BRIDGE_MESSAGE_SURROUNDING_TEXT_DELETED, SCIM_BRIDGE_MESSAGE_SURROUNDING_TEXT_GOTTEN, SCIM_BRIDGE_MESSAGE_SURROUNDING_TEXT_REPLACED, SCIM_BRIDGE_MESSAGE_TRUE, scim_bridge_messenger_get_receiving_buffer_size(), scim_bridge_messenger_get_sending_buffer_size(), scim_bridge_messenger_poll_message(), scim_bridge_messenger_push_message(), scim_bridge_messenger_receive_message(), scim_bridge_messenger_send_message(), scim_bridge_pdebugln(), scim_bridge_perrorln(), scim_bridge_string_from_uint(), scim_bridge_string_to_boolean(), scim_bridge_string_to_int(), and scim_bridge_string_to_uint().