Adds a new URI to the list of URIs upon which the QUARC Target Manager is serving, where the URI is a string.
Namespace:
Quanser.TargetsAssembly: Quanser.Targets (in Quanser.Targets.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Sub AddURI ( _ key As String, _ uri As String _ ) |
C# |
---|
public void AddURI( string key, string uri ) |
Visual C++ |
---|
public: void AddURI( String^ key, String^ uri ) |
JavaScript |
---|
function addURI(key, uri); |
Parameters
- key
- Type: System..::.String
The key to associate with the URI.
- uri
- Type: System..::.String
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", "shmem://quarc-target:1")