|
FireSync API
|
Constructs a kSystem object and adds a server node that is bound to the hardware platform singleton node.
This constructor can be used by node-server applications to simplify the processs of constructing and configuring a system object that is suited to hosting a server object that is bound to the underlying hardware platform singleton node. Specifically, this method ensures that the discovery port used by kSystem to discover other sensors matches the discovery port that the server node has been configured to use.
This method is provided for the sake of convenience; if customization is required, the implementation of this method can be copied into user applications and tailored to suit the circumstances.
This methods starts discovery clients and refreshes the system object before returning.
| system | Destination for the constructed system object handle (must be destroyed by caller). |
| serverNode | Destination for the constructed server object handle (owned by system; not destroyed by caller). |
| allocator | Memory allocator (or kNULL for default). |