Constructs a new server session listener per specifications
in uri and resources.
| C# | Visual Basic | Visual C++ |
public static Transport<ServerFactory> NewListener( string uri, Resources resources, EtchBridgeHelper..::.EtchBridgeServerFactory implFactory )
Public Shared Function NewListener ( _ uri As String, _ resources As Resources, _ implFactory As EtchBridgeHelper..::.EtchBridgeServerFactory _ ) As Transport(Of ServerFactory)
public: static Transport<ServerFactory^>^ NewListener( String^ uri, Resources^ resources, EtchBridgeHelper..::.EtchBridgeServerFactory^ implFactory )
- uri (String)
- contains specifications for the server session listener and for the server session transport stack.
- resources (Resources)
- additional resources to aid in constructing new server sessions.
- implFactory (EtchBridgeHelper..::.EtchBridgeServerFactory)
- called upon accepting a new server session to construct a new server implementation to handle messages from the client during the session.
an out-of-band source that may be used to control
the listener.