| |
|
|||||||
|
|
||||||||
|
iop_simplenet.h
Go to the documentation of this file.
169 virtual void DoWrite(TokenWriter& rTw,const std::string& rLabel="", const Type* pContext=0) const;
259 virtual void DoWrite(TokenWriter& rTw,const std::string& rLabel="", const Type* pContext=0) const;
329 * a number of <em>nodes</em>, each identified by its <em>node name</em>. In the current implementation,
330 * each node knows about the entire network ie knows about all other nodes. Each node plays two roles:
334 * In their server role, each node is configured to listen on its <em>server port</em> for incomming
335 * TCP connections. When a client (i.e. some other node in client role) connects to the TCP port, the server
336 * replies to a simple command set in order to allow the client to subscribe to the nodes output events.
337 * When the application executes an output event on the node, this is notified to all connected clients and
338 * the clients will interpret the event as an input reading. Vice versa, the each node itself has the
339 * role of a client and subscribes to relevant output events served by other nodes in their server role.
343 * The protocol for commands and notification is libFAUDES-token based and can be inspected eg via nc
372 * <td> subset of available events (e.g. <tt><Subscribed> Ev_2 Ev_7 Ev_9 </Subscribed></tt>)</td>
377 * incomming messages and issues event notifications to any relevant events; and, (2) a TCP client
388 * underlying name resolution by DNS services, but node configuration itself refers to simple-net node names
389 * only. Since each node knows about the names of all participating nodes, each node will know when
395 * relevant subset explicitly by setting the appropriate broadcast address, e.g. 192.168.2.255:40000.
588 * It starts the background thread for incomming connections and tries to connect to relevant servers.
656 virtual void DoReadPreface(TokenReader& rTr, const std::string& rLabel = "", const Type* pContext=0);
674 virtual void DoWritePreface(TokenWriter& rTw, const std::string& rLabel="", const Type* pContext=0) const;
#define FAUDES_TYPE_DECLARATION(ftype, ctype, cbase) Definition cfl_types.h:918 Definition cfl_types.h:1128 Definition iop_vdevice.h:68 const AttributeSimplenetOutput * Outputp(void) const Definition iop_simplenet.h:292 const AttributeSimplenetInput * Inputp(void) const Definition iop_simplenet.h:296 void DoMove(AttributeSimplenetEvent &rSrc) Definition iop_simplenet.h:306 void DoCopy(const AttributeSimplenetEvent &rSrc) Definition iop_simplenet.h:302 virtual bool IsDefault(void) const Definition iop_simplenet.h:286 void DoMove(const AttributeSimplenetInput &rSrcAttr) Definition iop_simplenet.h:219 virtual bool IsDefault(void) const Definition iop_simplenet.h:198 void DoCopy(const AttributeSimplenetInput &rSrcAttr) Definition iop_simplenet.h:210 AttributeSimplenetInput(const AttributeSimplenetInput &rSrcAttr) Definition iop_simplenet.h:193 AttributeSimplenetInput(void) Definition iop_simplenet.h:190 AttributeSimplenetOutput(void) Definition iop_simplenet.h:103 void DoMove(AttributeSimplenetOutput &rSrcAttr) Definition iop_simplenet.h:130 AttributeSimplenetOutput(const AttributeSimplenetOutput &rSrcAttr) Definition iop_simplenet.h:106 virtual bool IsDefault(void) const Definition iop_simplenet.h:110 void DoCopy(const AttributeSimplenetOutput &rSrcAttr) Definition iop_simplenet.h:122 Definition cfl_nameset.h:70 Definition iop_simplenet.h:31 Definition cfl_nameset.h:588 Definition cfl_tokenreader.h:64 Definition cfl_tokenwriter.h:52 Definition cfl_types.h:247 Definition iop_simplenet.h:461 friend void * NDeviceServer(void *) TaNameSet< AttributeSimplenetEvent > * pConfiguration Definition iop_simplenet.h:678 friend void * NDeviceReply(void *) std::map< std::string, EventSet > mInputSubscriptions Definition iop_simplenet.h:696 std::map< std::string, ServerState > mInputServerStates Definition iop_simplenet.h:734 std::map< int, ClientState > mOutputClientStates Definition iop_simplenet.h:722 SimplenetAddress mEffectiveListenAddress Definition iop_simplenet.h:690 std::map< std::string, std::string > mNetworkNodes Definition iop_simplenet.h:693 Definition iop_vdevice.h:267 Definition cfl_agenerator.h:43 SimplenetAddress mDefaultAddress Definition iop_simplenet.h:727 libFAUDES 2.34e --- 2026.03.16 --- c++ api documentaion by doxygen |