Creates a JMS Connection via WebSocket, using the username and password specified as credentials to authenticate with the Gateway.

Namespace:  Kaazing.JMS.Stomp
Assembly:  Kaazing.JMS (in Kaazing.JMS.dll)

Syntax

Visual Basic
Public Function CreateConnection ( _
	username As String, _
	password As String _
) As IConnection
C#
public IConnection CreateConnection(
	string username,
	string password
)
Visual C++
public:
virtual IConnection^ CreateConnection(
	String^ username, 
	String^ password
) sealed

Parameters

username
Type: System..::..String
password
Type: System..::..String

Implements

IConnectionFactory..::..CreateConnection(String, String)

See Also