Initializes a new instance of the Streamhost class.

Namespace: S22.Xmpp.Extensions
Assembly: S22.Xmpp (in S22.Xmpp.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public Streamhost(
	Jid jid,
	string host,
	int port
)

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

ExceptionCondition
System..::..ArgumentNullExceptionThe jid parameter or the host parameter is null.
System..::..ArgumentExceptionThe host parameter is the empty string.
System..::..ArgumentOutOfRangeExceptionThe port parameter is not between 0 and 65535.

See Also