Package org.opennms.core.rpc.echo
Class EchoClient
- java.lang.Object
-
- org.opennms.core.rpc.echo.EchoClient
-
- All Implemented Interfaces:
RpcClient<EchoRequest,EchoResponse>
,org.springframework.beans.factory.InitializingBean
@Component public class EchoClient extends Object implements RpcClient<EchoRequest,EchoResponse>, org.springframework.beans.factory.InitializingBean
-
-
Constructor Summary
Constructors Constructor Description EchoClient()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterPropertiesSet()
CompletableFuture<EchoResponse>
execute(EchoRequest request)
-
-
-
Method Detail
-
execute
public CompletableFuture<EchoResponse> execute(EchoRequest request)
- Specified by:
execute
in interfaceRpcClient<EchoRequest,EchoResponse>
-
-