Event Types

These are the Open Data Services event types:

Event type Description of event
SRV_ATTENTION A client sends an interrupt request, or the network connection to the client is broken.
SRV_CONNECT A client sends a connect request.
SRV_DISCONNECT A client sends a disconnect request; or the Open Data Services server application calls the srv_event function to initiate a request to disconnect the current client thread.
SRV_LANGUAGE A client sends a SQL Server language request; or a client or a server sends the sp_sqlexec remote stored procedure request.
SRV_RPC A client or a server sends a remote stored procedure request.
SRV_EXIT The Open Data Services server application calls the srv_event or srv_setevent function to initiate a request for an immediate shutdown.
SRV_START The Open Data Services server application calls the srv_run function to initiate server startup and to set server status.
SRV_SLEEP The Open Data Services server application calls the srv_setevent function to pause a started server.
SRV_RESTART The Open Data Services server application calls the srv_setevent function to continue a paused server.
SRV_STOP The Open Data Services server application calls the srv_event or srv_setevent function to initiate a request to terminate all client threads and then shut down.