Adds a new URI to the list of URIs upon which the QUARC Target Manager is serving, where the URI is a Uri instance.
Namespace:
Quanser.TargetsAssembly: Quanser.Targets (in Quanser.Targets.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Sub AddURI ( _ key As String, _ uri As Uri _ ) |
C# |
---|
public void AddURI( string key, Uri uri ) |
Visual C++ |
---|
public: void AddURI( String^ key, Uri^ uri ) |
JavaScript |
---|
function addURI(key, uri); |
Parameters
- key
- Type: System..::.String
The key to associate with the URI.
- uri
- Type: System..::.Uri
The URI upon which to listen for client connections.
Remarks
This method adds a new URI to the list of URIs upon which the QUARC Target Manager is currently serving. The new URI will be associated with given key. This key may later be used to remove the URI from the list of URIs upon which the QUARC Target Manager is currently serving.
Examples
target.AddURI("SHMEM", new Uri("shmem://quarc-target:1"))