applyFeatureToConnections()
void applyFeatureToConnections(string usn, int featureId)
This method applies a feature to any active connections for the given USN. The feature applies to each connection only for the duration of the connection. If the connection is stopped, subsequent connections will not be affected by this operation.
Parameters
- usn
- Format: string
- featureId
- Format: integer
Results
This method does not return any output.
Smile emits the ConnectionFeaturesUpdated message for each connection whose features change due to this operation.
Faults
NoSuchItemExceptionThis fault is returned when both or either the provided USN or the provided featureId do not exist.
Java client syntax
java -cp build/smilewsv2-client.jar [options]
com.inomial.smile.client.v2.examples.ApplyFeatureToConnections usn featureId
- usn
- Purpose: Specifies the USN whose connections will have the features applied.
- featureId
- Purpose: Specifies the numeric ID of the feature to apply to the connections.
Note: For more information about the Java client and the options it
accepts, see Java client syntax.