|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRpcFactory
Creates services and clients that can communicate using Remote Procedure Calls.
Method Summary | ||
---|---|---|
|
createClient(java.lang.Class<TServiceInterface> clazz)
Creates RPC client for the given interface. |
|
|
createPerClientInstanceService(IFunction<TServiceInterface> serviceFactoryMethod,
java.lang.Class<TServiceInterface> clazz)
Creates per-client-instance RPC service for the given interface. |
|
|
createSingleInstanceService(TServiceInterface service,
java.lang.Class<TServiceInterface> clazz)
Creates single-instance RPC service for the given interface. |
Method Detail |
---|
<TServiceInterface> IRpcClient<TServiceInterface> createClient(java.lang.Class<TServiceInterface> clazz)
clazz
- service interface type.
<TServiceInterface> IRpcService<TServiceInterface> createSingleInstanceService(TServiceInterface service, java.lang.Class<TServiceInterface> clazz)
service
- instance implementing the given service interface.clazz
- service interface type.
<TServiceInterface> IRpcService<TServiceInterface> createPerClientInstanceService(IFunction<TServiceInterface> serviceFactoryMethod, java.lang.Class<TServiceInterface> clazz)
serviceFactoryMethod
- factory method used to create the service instance when the client is connectedclazz
- service interface type
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |