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 java.lang.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()
java.util.concurrent.CompletableFuture<EchoResponse>
execute(EchoRequest request)
-
-
-
Method Detail
-
execute
public java.util.concurrent.CompletableFuture<EchoResponse> execute(EchoRequest request)
- Specified by:
execute
in interfaceRpcClient<EchoRequest,EchoResponse>
-
afterPropertiesSet
public void afterPropertiesSet() throws java.lang.Exception
- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
- Throws:
java.lang.Exception
-
-