CommunicationClient Interface

public interface CommunicationClient

Defines the interface that represents the communication client for reliable services.

Method Summary

Modifier and Type Method and Description
ResolvedServiceEndpoint getEndPoint()

Gets the service endpoint to which the client is connected to.

String getListenerName()

Gets the name of the listener in the replica or instance to which the client is connected to.

ResolvedServicePartition getResolvedServicePartition()

Gets the Resolved service partition which was used when this client was created.

void setEndPoint(ResolvedServiceEndpoint endPoint)

Sets the service endpoint to which the client is connected to.

void setListenerName(String listenerName)

Sets the name of the listener in the replica or instance to which the client is connected to.

void setResolvedServicePartition(ResolvedServicePartition servicePartition)

Sets the Resolved service partition which was used when this client was created.

Method Details

getEndPoint

public ResolvedServiceEndpoint getEndPoint()

Gets the service endpoint to which the client is connected to.

Returns:

getListenerName

public String getListenerName()

Gets the name of the listener in the replica or instance to which the client is connected to.

Returns:

Name of the listener

getResolvedServicePartition

public ResolvedServicePartition getResolvedServicePartition()

Gets the Resolved service partition which was used when this client was created.

Returns:

setEndPoint

public void setEndPoint(ResolvedServiceEndpoint endPoint)

Sets the service endpoint to which the client is connected to.

Parameters:

setListenerName

public void setListenerName(String listenerName)

Sets the name of the listener in the replica or instance to which the client is connected to.

Parameters:

listenerName - Name of the listener

setResolvedServicePartition

public void setResolvedServicePartition(ResolvedServicePartition servicePartition)

Sets the Resolved service partition which was used when this client was created.

Parameters:

servicePartition -

ResolvedServicePartition object

Applies to