A URI for a StreamBase client connection. These URIs are of the form
e.g.,
Parameters are optional. The port number is optional; it defaults to 10000.
Namespace: StreamBase.SB.ClientCopyC#
sb://hostname:port/;param1=val1;param2=val2
CopyC#
sb://somehost.mycompany.com:10000/;user=me;password=foobar
Assembly: StreamBase.SB.Client (in StreamBase.SB.Client.dll) Version: 7.7.0.0
Syntax
C# | Visual Basic | Visual C++ |
public class StreamBaseURI : ICloneable, IDisposable
Public Class StreamBaseURI _ Implements ICloneable, IDisposable
public ref class StreamBaseURI : ICloneable, IDisposable
Members
All Members | Fields | Properties | Methods |
Public Protected | Instance Static | Declared Inherited | XNA Framework Only .NET Compact Framework Only |
Member | Description | |
---|---|---|
AddParameter(String, String) |
Add a parameter.
| |
ArrayFromEnvironment()()()() |
Create an array from the environment variable
| |
ArrayFromString(String) |
Create an array from a given URI string
| |
Clone()()()() |
Clone this StreamBaseURI
| |
Container |
The container name component of the URI. May return an empty string
if no container was specified.
| |
DEFAULT |
The default URI (pointing to localhost, port 10000, default container).
| |
DEFAULT_CONTAINER |
The default container name
| |
DEFAULT_HOST |
The default host name
| |
DEFAULT_PORT |
The default StreamBase port (10000).
| |
DEFAULT_URI |
The default URI
| |
Equals(Object) | (Inherited from Object.) | |
FromEnvironment()()()() |
Create from the environment variable
| |
GetContainer()()()() |
Returns the container name component of the URI. May return an empty string
if no container was specified.
| |
GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetHost()()()() |
Return the host component of the URI.
| |
GetNumParameters()()()() |
Return the number of parameters
| |
GetParameter(String) |
Return a parameter, or null if undefined.
| |
GetPassword()()()() |
Return the password component of the URI.
| |
GetPort()()()() |
Return the port component of the URI.
| |
GetType()()()() | Gets the Type of the current instance. (Inherited from Object.) | |
GetUser()()()() |
Return the user name component of the URI.
| |
Host |
The host component of the URI.
| |
NO_CONTAINER |
No container specification
| |
Password |
The password component of the URI.
| |
PASSWORD_PARAM |
URI parameter used for password.
| |
Port |
The port component of the URI.
| |
RemoveParameter(String) |
Remove a parameter.
| |
SYSTEM_CONTAINER |
The system container name
| |
ToString()()()() |
Return the URI as a string.
(Overrides Object..::..ToString()()()().) | |
User |
The user name component of the URI.
| |
USER_PARAM |
URI parameter used for username.
|