CommunicationClient Interface
public interface CommunicationClient
Defines the interface that represents the communication client for reliable services.
Method Summary
Modifier and Type | Method and Description |
---|---|
Resolved |
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. |
Resolved |
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:
getResolvedServicePartition
public ResolvedServicePartition getResolvedServicePartition()
Gets the Resolved service partition which was used when this client was created.
Returns:
ResolvedServicePartition object
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:
setResolvedServicePartition
public void setResolvedServicePartition(ResolvedServicePartition servicePartition)
Sets the Resolved service partition which was used when this client was created.
Parameters:
ResolvedServicePartition object
Applies to
Azure SDK for Java