Free Electron
fe_network.h
Go to the documentation of this file.
1 /* Copyright (C) 2003-2021 Free Electron Organization
2  Any use of this software requires a license. If a valid license
3  was not distributed with this file, visit freeelectron.org. */
4 
5 /** @file */
6 
7 #ifndef __pyfe_fe_network_h__
8 #define __pyfe_fe_network_h__
9 
10 class ClientFS : public FunctionSet<fe::ClientI>
11 {
12  public:
13  ClientFS(PyObject *pP) : FunctionSet<fe::ClientI>(pP) {};
14  void setScope(const ScopePtr &scopePtr);
15  void addLayout(const LayoutPtr &layoutPtr);
16  void start(SignalerFS &signalerFS,
17  const std::string &host, UWORD port, const LayoutPtr &layoutPtr);
18  void stop(void);
19 };
20 
21 class ServerFS : public FunctionSet<fe::ServerI>
22 {
23  public:
24  ServerFS(PyObject *pP) : FunctionSet<fe::ServerI>(pP) {};
25  void addLayout(const LayoutPtr &layoutPtr);
26  void start(SignalerFS &signalerFS,
27  const std::string &host, UWORD port, const LayoutPtr &layoutPtr);
28  void stop(void);
29 };
30 
31 #endif /* __pyfe_fe_network_h__ */
32 
kernel
Definition: namespace.dox:3
SignalerI Function Set.
Definition: fe_signal.h:50