FabricTransportServiceRemotingListener Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
An IServiceRemotingListener that uses fabric TCP transport to provide interface remoting for stateless and stateful services.
public class FabricTransportServiceRemotingListener : Microsoft.ServiceFabric.Services.Communication.Runtime.ICommunicationListener, Microsoft.ServiceFabric.Services.Remoting.Runtime.IServiceRemotingListener
type FabricTransportServiceRemotingListener = class
interface IServiceRemotingListener
interface ICommunicationListener
Public Class FabricTransportServiceRemotingListener
Implements ICommunicationListener, IServiceRemotingListener
- Inheritance
-
FabricTransportServiceRemotingListener
- Derived
- Implements
Constructors
FabricTransportServiceRemotingListener(ServiceContext, IService, FabricTransportRemotingListenerSettings, IServiceRemotingMessageSerializationProvider, IEnumerable<IExceptionConvertor>) |
Initializes a new instance of the FabricTransportServiceRemotingListener class. Constructs a fabric transport based service remoting listener . |
FabricTransportServiceRemotingListener(ServiceContext, IServiceRemotingMessageHandler, FabricTransportRemotingListenerSettings, IServiceRemotingMessageSerializationProvider, IEnumerable<IExceptionConvertor>) |
Initializes a new instance of the FabricTransportServiceRemotingListener class. Constructs a fabric transport based service remoting listener. |
Methods
Abort() |
This method causes the communication listener to close. Close is a terminal state and this method causes the transition to close ungracefully. Any outstanding operations (including close) should be canceled when this method is called. |
CloseAsync(CancellationToken) |
This method causes the communication listener to close. Close is a terminal state and this method allows the communication listener to transition to this state in a graceful manner. |
OpenAsync(CancellationToken) |
This method causes the communication listener to be opened. Once the Open completes, the communication listener becomes usable - accepts and sends messages. |
Applies to
Azure SDK for .NET