SCIM Bridge 0.4.x

◆ handle_event()

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 ScimBridgeAgentProtected::interrupt(), RETVAL_FAILED, SCIM_BRIDGE_AGENT_EVENT_ERROR, SCIM_BRIDGE_AGENT_EVENT_INTERRUPT, SCIM_BRIDGE_AGENT_EVENT_READ, and SCIM_BRIDGE_AGENT_EVENT_WRITE.