S2OPC OPCUA Toolkit
Loading...
Searching...
No Matches
sopc_sockets_event_mgr.h
Go to the documentation of this file.
1/*
2 * Licensed to Systerel under one or more contributor license
3 * agreements. See the NOTICE file distributed with this work
4 * for additional information regarding copyright ownership.
5 * Systerel licenses this file to you under the Apache
6 * License, Version 2.0 (the "License"); you may not use this
7 * file except in compliance with the License. You may obtain
8 * a copy of the License at
9 *
10 * http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing,
13 * software distributed under the License is distributed on an
14 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 * KIND, either express or implied. See the License for the
16 * specific language governing permissions and limitations
17 * under the License.
18 */
19
20#ifndef SOPC_SOCKETS_EVENT_MGR_H_
21#define SOPC_SOCKETS_EVENT_MGR_H_
22
23#include <stdint.h>
24
25#include "sopc_sockets_api.h"
27
28typedef enum
29{
30 /* Internal events (network event manager to event manager) */
31 INT_SOCKET_LISTENER_CONNECTION_ATTEMPT = 0x10, /* idx of listening socket */
32 INT_SOCKET_CONNECTION_ATTEMPT_FAILED, /* idx of socket for the rest */
38
40 uint32_t eltId,
41 uintptr_t params,
42 uintptr_t auxParam);
43
45
46#endif /* SOPC_SOCKETS_EVENT_MGR_H_ */
Event oriented API of the Services layer.
SOPC_Sockets_InputEvent
Definition sopc_sockets_api.h:37
SOPC_Sockets_InternalInputEvent
Definition sopc_sockets_event_mgr.h:29
@ INT_SOCKET_READY_TO_WRITE
Definition sopc_sockets_event_mgr.h:36
@ INT_SOCKET_CONNECTION_ATTEMPT_FAILED
Definition sopc_sockets_event_mgr.h:32
@ INT_SOCKET_READY_TO_READ
Definition sopc_sockets_event_mgr.h:35
@ INT_SOCKET_CONNECTED
Definition sopc_sockets_event_mgr.h:33
@ INT_SOCKET_CLOSE
Definition sopc_sockets_event_mgr.h:34
@ INT_SOCKET_LISTENER_CONNECTION_ATTEMPT
Definition sopc_sockets_event_mgr.h:31
void SOPC_SocketsEventMgr_Dispatcher(SOPC_Sockets_InputEvent socketEvent, uint32_t eltId, uintptr_t params, uintptr_t auxParam)
void SOPC_SocketsInternalEventMgr_Dispatcher(SOPC_Sockets_InternalInputEvent event, SOPC_InternalSocket *socketElt)
Definition sopc_sockets_internal_ctx.h:44