Package org.hertsstack.core.service
Class HertsServiceUnary<T>
- java.lang.Object
-
- org.hertsstack.core.service.HertsServiceUnary<T>
-
- All Implemented Interfaces:
HertsService
public abstract class HertsServiceUnary<T> extends java.lang.Object
Herts unary streaming service
-
-
Constructor Summary
Constructors Constructor Description HertsServiceUnary()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getConnection()
Get rpc connection id list If you are using HertsHttp, always nullio.grpc.MethodDescriptor.MethodType
getGrpcMethodType()
Get grpc methodHertsType
getHertsType()
Get implemented herts core type
-
-
-
Method Detail
-
getHertsType
public HertsType getHertsType()
Description copied from interface:HertsService
Get implemented herts core type- Specified by:
getHertsType
in interfaceHertsService
- Returns:
- HertsType
-
getGrpcMethodType
public io.grpc.MethodDescriptor.MethodType getGrpcMethodType()
Description copied from interface:HertsService
Get grpc method- Specified by:
getGrpcMethodType
in interfaceHertsService
- Returns:
- MethodDescriptor.MethodType
-
getConnection
public java.lang.String getConnection()
Description copied from interface:HertsService
Get rpc connection id list If you are using HertsHttp, always null- Specified by:
getConnection
in interfaceHertsService
- Returns:
- Connection list
-
-