Initializes a new instance of the Streamhost class.
Namespace: S22.Xmpp.ExtensionsAssembly: S22.Xmpp (in S22.Xmpp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
Parameters
- jid
- Type: S22.Xmpp..::..Jid
The JID of the streamhost.
- host
- Type: System..::..String
The hostname of the streamhost.
- port
- Type: System..::..Int32
The port on which the streamhost is accepting connections.
Exceptions
Exception | Condition |
---|---|
System..::..ArgumentNullException | The jid parameter or the host parameter is null. |
System..::..ArgumentException | The host parameter is the empty string. |
System..::..ArgumentOutOfRangeException | The port parameter is not between 0 and 65535. |