Package org.marketcetera.fix.rpc
Class FixAdminRpcService<SessionClazz>
- java.lang.Object
-
- org.marketcetera.rpc.server.AbstractRpcService<SessionClazz,FixAdminRpcServiceGrpc.FixAdminRpcServiceImplBase>
-
- org.marketcetera.fix.rpc.FixAdminRpcService<SessionClazz>
-
- All Implemented Interfaces:
io.grpc.BindableService
public class FixAdminRpcService<SessionClazz> extends AbstractRpcService<SessionClazz,FixAdminRpcServiceGrpc.FixAdminRpcServiceImplBase>
Provides a FIX admin RPC server implementation.- Since:
- $Release$
- Version:
- $Id$
- Author:
- Colin DuPlantis
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private classFixAdminRpcService.BrokerStatusListenerProxyProvides a connection between broker status requests and the server interface.private classFixAdminRpcService.ServiceProvides a FIX admin RPC Service implementation.
-
Field Summary
Fields Modifier and Type Field Description private org.marketcetera.admin.service.AuthorizationServiceauthzServiceprovides access to authorization servicesprivate BrokerServicebrokerServiceprovides access to core broker servicesprivate static StringDESCRIPTIONdescription of the serviceprivate MutableFixSessionFactoryfixSessionFactorycreatesFixSessionobjectsprivate FixSessionProviderfixSessionProviderprovides access to FIX sessionsprivate MessageStoreSessionDaofixSessionStoreDaoprovides access to the FIX session data storeprivate com.google.common.cache.Cache<String,BaseRpcUtil.AbstractServerListenerProxy<?>>listenerProxiesByIdholds message listeners by idprivate FixAdminRpcService.Serviceserviceprovides the RPC service
-
Constructor Summary
Constructors Constructor Description FixAdminRpcService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected FixAdminRpcServiceGrpc.FixAdminRpcServiceImplBasegetService()protected StringgetServiceDescription()voidstart()Validate and start the object.-
Methods inherited from class org.marketcetera.rpc.server.AbstractRpcService
bindService, doHeartbeat, doLogin, doLogout, getAuthenticator, getSessionManager, handleError, setAuthenticator, setSessionManager, validateAndReturnSession
-
-
-
-
Field Detail
-
brokerService
@Autowired private BrokerService brokerService
provides access to core broker services
-
fixSessionProvider
@Autowired private FixSessionProvider fixSessionProvider
provides access to FIX sessions
-
authzService
@Autowired private org.marketcetera.admin.service.AuthorizationService authzService
provides access to authorization services
-
fixSessionStoreDao
@Autowired private MessageStoreSessionDao fixSessionStoreDao
provides access to the FIX session data store
-
fixSessionFactory
@Autowired private MutableFixSessionFactory fixSessionFactory
createsFixSessionobjects
-
service
private FixAdminRpcService.Service service
provides the RPC service
-
listenerProxiesById
private final com.google.common.cache.Cache<String,BaseRpcUtil.AbstractServerListenerProxy<?>> listenerProxiesById
holds message listeners by id
-
DESCRIPTION
private static final String DESCRIPTION
description of the service- See Also:
- Constant Field Values
-
-
Method Detail
-
start
@PostConstruct public void start() throws ExceptionValidate and start the object.- Overrides:
startin classAbstractRpcService<SessionClazz,FixAdminRpcServiceGrpc.FixAdminRpcServiceImplBase>- Throws:
Exception
-
getServiceDescription
protected String getServiceDescription()
- Specified by:
getServiceDescriptionin classAbstractRpcService<SessionClazz,FixAdminRpcServiceGrpc.FixAdminRpcServiceImplBase>
-
getService
protected FixAdminRpcServiceGrpc.FixAdminRpcServiceImplBase getService()
- Specified by:
getServicein classAbstractRpcService<SessionClazz,FixAdminRpcServiceGrpc.FixAdminRpcServiceImplBase>
-
-