CommunicationClient Interface
public interface CommunicationClient
Defines the interface that represents the communication client for reliable services.
Modifier and Type | Method and Description |
---|---|
Resolved |
get Gets the service endpoint to which the client is connected to. |
String |
get Gets the name of the listener in the replica or instance to which the client is connected to. |
Resolved |
get Gets the Resolved service partition which was used when this client was created. |
void |
set Sets the service endpoint to which the client is connected to. |
void |
set Sets the name of the listener in the replica or instance to which the client is connected to. |
void |
set Sets the Resolved service partition which was used when this client was created. |
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
Comentários do Azure SDK for Java
O Azure SDK for Java é um projeto código aberto. Selecione um link para fornecer comentários: