iop_simplenet.h
Go to the documentation of this file.
159 virtual void DoWrite(TokenWriter& rTw,const std::string& rLabel="", const Type* pContext=0) const;
237 virtual void DoWrite(TokenWriter& rTw,const std::string& rLabel="", const Type* pContext=0) const;
303 * a number of <em>nodes</em>, each identified by its <em>node name</em>. In the current implementation,
304 * each node knows about the entire network ie knows about all other nodes. Each node plays two roles:
308 * In their server role, each node is configured to listen on its <em>server port</em> for incomming
309 * TCP connections. When a client (i.e. some other node in client role) connects to the TCP port, the server
310 * replies to a simple command set in order to allow the client to subscribe to the nodes output events.
311 * When the application executes an output event on the node, this is notified to all connected clients and
312 * the clients will interpret the event as an input reading. Vice versa, the each node itself has the
313 * role of a client and subscribes to relevant output events served by other nodes in their server role.
317 * The protocol for commands and notification is libFAUDES-token based and can be inspected eg via nc
351 * incomming messages and issues event notifications to any relevant events; and, (2) a TCP client
362 * underlying name resolution by DNS services, but node configuration itself refers to simple-net node names
363 * only. Since each node knows about the names of all participating nodes, each node will know when
369 * relevant subset explicitly by setting the appropriate broadcast address, e.g. 192.168.2.255:40000.
557 * It starts the background thread for incomming connections and tries to connect to relevant servers.
609 virtual void DoReadPreface(TokenReader& rTr, const std::string& rLabel = "", const Type* pContext=0);
627 virtual void DoWritePreface(TokenWriter& rTw, const std::string& rLabel="", const Type* pContext=0) const;
libFAUDES 2.28a --- 2016.09.13 --- c++ api documentaion by doxygen |