Example #1
0
 /// <summary>
 ///     Constructs a fabric transport based service remoting listener with default
 ///     <see cref="FabricTransportRemotingListenerSettings"/>.
 /// </summary>
 /// <param name="serviceContext">
 ///     The context of the service for which the remoting listener is being constructed.
 /// </param>
 /// <param name="serviceImplementation">
 ///     The service implementation object used to construct <see cref="ServiceRemotingDispatcher"/>
 ///     for message processing.
 /// </param>
 public FabricTransportServiceRemotingListener(
     ServiceContext serviceContext,
     IService serviceImplementation)
     : this(
         serviceContext,
         serviceImplementation,
         listenerSettings : FabricTransportRemotingListenerSettings.GetDefault())
 {
 }
Example #2
0
 /// <summary>
 ///     Constructs a fabric transport based service remoting listener with default
 ///     <see cref="FabricTransportRemotingListenerSettings"/>.
 /// </summary>
 /// <param name="serviceContext">
 ///     The context of the service for which the remoting listener is being constructed.
 /// </param>
 /// <param name="messageHandler">
 ///     The handler for processing remoting messages. As the messages are received,
 ///     the listener delivers them to this handler.
 /// </param>
 public FabricTransportServiceRemotingListener(
     ServiceContext serviceContext,
     IServiceRemotingMessageHandler messageHandler)
     : this(serviceContext, messageHandler, FabricTransportRemotingListenerSettings.GetDefault())
 {
 }