gwenhywfar 5.11.2beta
endpoint_multilayer.h
Go to the documentation of this file.
1/****************************************************************************
2 * This file is part of the project Gwenhywfar.
3 * Gwenhywfar (c) by 2023 Martin Preuss, all rights reserved.
4 *
5 * The license for this file can be found in the file COPYING which you
6 * should have received along with this file.
7 ****************************************************************************/
8
9#ifndef GWEN_MSG_ENDPOINT_MULTILAYER_H
10#define GWEN_MSG_ENDPOINT_MULTILAYER_H
11
12
13#include <gwenhywfar/endpoint.h>
14
15
16
17#ifdef __cplusplus
18extern "C" {
19#endif
20
22
27 GWEN_MSG_ENDPOINT *epChild,
28 GWEN_SOCKETSET *readSet,
29 GWEN_SOCKETSET *writeSet,
30 GWEN_SOCKETSET *xSet);
31
32
33
36
39
42
45
46
50
54
55
56#ifdef __cplusplus
57}
58#endif
59
60
61#endif
62
63
struct GWEN_MSG_ENDPOINT GWEN_MSG_ENDPOINT
Object which can send and receive messages (base class).
Definition endpoint.h:37
GWENHYWFAR_API int GWEN_MultilayerEndpoint_StartConnect(GWEN_MSG_ENDPOINT *ep)
GWENHYWFAR_API GWEN_ENDPOINT_MULTILAYER_STARTCONNECT_FN GWEN_MultilayerEndpoint_SetStartConnectFn(GWEN_MSG_ENDPOINT *ep, GWEN_ENDPOINT_MULTILAYER_STARTCONNECT_FN fn)
GWENHYWFAR_API int GWEN_MultilayerEndpoint_GetReconnectTimeInSeconds(const GWEN_MSG_ENDPOINT *ep)
GWENHYWFAR_API void GWEN_MultilayerEndpoint_SetConnectTimeoutInSeconds(GWEN_MSG_ENDPOINT *ep, int i)
GWENHYWFAR_API void GWEN_MultilayerEndpoint_SetReconnectTimeInSeconds(GWEN_MSG_ENDPOINT *ep, int i)
GWENHYWFAR_API int GWEN_MultilayerEndpoint_GetStage(const GWEN_MSG_ENDPOINT *ep)
int(* GWEN_ENDPOINT_MULTILAYER_STARTCONNECT_FN)(GWEN_MSG_ENDPOINT *ep, GWEN_MSG_ENDPOINT *epChild)
GWENHYWFAR_API int GWEN_MultilayerEndpoint_GetConnectTimeoutInSeconds(const GWEN_MSG_ENDPOINT *ep)
GWENHYWFAR_API GWEN_MSG_ENDPOINT * GWEN_MultilayerEndpoint_new(const char *name, int groupId)
void(* GWEN_ENDPOINT_MULTILAYER_CHECKSOCKETS_FN)(GWEN_MSG_ENDPOINT *ep, GWEN_MSG_ENDPOINT *epChild, GWEN_SOCKETSET *readSet, GWEN_SOCKETSET *writeSet, GWEN_SOCKETSET *xSet)
GWENHYWFAR_API void GWEN_MultilayerEndpoint_SetStage(GWEN_MSG_ENDPOINT *ep, int i)
GWENHYWFAR_API GWEN_ENDPOINT_MULTILAYER_CHECKSOCKETS_FN GWEN_MultilayerEndpoint_SetCheckSocketsFn(GWEN_MSG_ENDPOINT *ep, GWEN_ENDPOINT_MULTILAYER_CHECKSOCKETS_FN fn)
#define GWENHYWFAR_API
struct GWEN_SOCKETSETSTRUCT GWEN_SOCKETSET
Definition inetsocket.h:41