Package org.teamapps.protocol.schema
Class AbstractClusterServiceClient
java.lang.Object
org.teamapps.protocol.schema.AbstractClusterServiceClient
public abstract class AbstractClusterServiceClient
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description AbstractClusterServiceClient(ClusterServiceRegistry clusterServiceRegistry, java.lang.String serviceName) -
Method Summary
Modifier and Type Method Description protected <REQUEST extends MessageObject, RESPONSE extends MessageObject>
RESPONSEexecuteClusterServiceMethod(java.lang.String method, REQUEST request, PojoObjectDecoder<RESPONSE> responseDecoder)booleanisAvailable()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
AbstractClusterServiceClient
public AbstractClusterServiceClient(ClusterServiceRegistry clusterServiceRegistry, java.lang.String serviceName)
-
-
Method Details
-
executeClusterServiceMethod
protected <REQUEST extends MessageObject, RESPONSE extends MessageObject> RESPONSE executeClusterServiceMethod(java.lang.String method, REQUEST request, PojoObjectDecoder<RESPONSE> responseDecoder) -
isAvailable
public boolean isAvailable()
-