Operational Paradigm
A Network Sensor can be described as an X3D Node that can be used in X3D scenes to achieve network connectivity for following Use Cases:
Please refer to This Slideset for details.
The following figure explains the parts of an example scene containing just one model and nothing else. The model contains a Network Sensor in turn.
The scene author (blue) has retrieved a model from a model author (green) and must now connect the model with the Network Sensor Infrastructure.
Therefore he uses the CNSI (Common Network Sensor Interface) - e.g. with some fields like SFNode connection, SFString streamName or SFString sensorId - and the NSII (Network Sensor Infrastructure Interface) - e.g. with some fields like MFString tryLogin, MFNode addAvatar or SFInt32 sessionIdLeft - in order to implement the Maintenance Use Cases (see section A.1.) and the Common Use Cases (see section A.2.).
The SNSI (Specific Network Sensor Interface) should - in this case - be handled completely within the model and by employing the HNSI (Hidden Network Sensor Interface), handling the Model Specific Use Cases described in section A.3.
The scene author (blue) is not interested to know all the details of the SNSI the model author (green) is involved with.
- Every Network Sensor implementation MUST employ a HNSI to connect the Network Sensors with the Network Sensor Infrastructure (in particular with the Network Connection(s)) for the Model Specific Use Cases
- The HNSI MUST be invisible outside the Network Sensor and the Network Sensor Infrastructure
- A Model Author MAY "bury" Network Sensors within his Model, which implies the SNSI and the HNSI are not affecting the "master scene"
- Every Network Sensor implementation MAY provide a CNSI that MUST then be forwarded by the model author and by the scene author to the "Scene Controller"
- Every Network Sensor implementation MUST provide a NSII that can be used by the "Scene Controller" for Maintenance Use Cases and for Common Use Cases.