Creates a listener.

Namespace:  GrassValley.Mseries.AppServer
Assembly:  GrassValley.Mseries.AppServer (in GrassValley.Mseries.AppServer.dll) Version: 1.0.0.0

Syntax

C#
public ISimpleController CreateListener(
	string app,
	string protocol,
	string controlPort,
	Object channelId,
	out bool isNewConnection
)
Visual Basic (Declaration)
Public Function CreateListener ( _
	app As String, _
	protocol As String, _
	controlPort As String, _
	channelId As Object, _
	<OutAttribute> ByRef isNewConnection As Boolean _
) As ISimpleController
Visual C++
public:
virtual ISimpleController^ CreateListener(
	String^ app, 
	String^ protocol, 
	String^ controlPort, 
	Object^ channelId, 
	[OutAttribute] bool% isNewConnection
) sealed

Parameters

app
Type: System..::.String
Application.
protocol
Type: System..::.String
Protocol.
controlPort
Type: System..::.String
Control port.
channelId
Type: System..::.Object
Channel ID. Value can either be an int value (e.g. 0, 1, ... max channel number) or a channel ID string (e.g. "C1", "R2", "P1", etc.). See the K2's c:\profile\config\config.xml file for more examples.
isNewConnection
Type: System..::.Boolean %
Is new connection.

Return Value

ISimpleController instance

Implements

IAppServer..::.CreateListener(String, String, String, Object, Boolean%)

See Also