Creates a listener.
Namespace:
GrassValley.Mseries.AppServerAssembly: GrassValley.Mseries.AppServer (in GrassValley.Mseries.AppServer.dll) Version: 1.0.0.0
Syntax
C# |
---|
ISimpleController CreateListener( string app, string protocol, string controlPort, Object channelId, out bool isNewConnection ) |
Visual Basic (Declaration) |
---|
Function CreateListener ( _ app As String, _ protocol As String, _ controlPort As String, _ channelId As Object, _ <OutAttribute> ByRef isNewConnection As Boolean _ ) As ISimpleController |
Visual C++ |
---|
ISimpleController^ CreateListener( String^ app, String^ protocol, String^ controlPort, Object^ channelId, [OutAttribute] bool% isNewConnection ) |
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.