use of io.zeebe.transport.BufferingServerTransport in project zeebe by zeebe-io.
the class ClusterManagerContextService method start.
@Override
public void start(ServiceStartContext startContext) {
final ClientTransport clientTransport = managementClientInjector.getValue();
final BufferingServerTransport serverTransport = managementApiTransportInjector.getValue();
final ActorScheduler actorScheduler = startContext.getScheduler();
final LogStreamsManager logStreamsManager = logStreamsManagerInjector.getValue();
final WorkflowRequestMessageHandler workflowRequestMessageHandler = workflowRequestMessageHandlerInjector.getValue();
context = new ClusterManagerContext();
context.setGossip(gossipInjector.getValue());
context.setActorScheduler(actorScheduler);
context.setManagementClient(clientTransport);
context.setReplicationClient(replicationClientInjector.getValue());
context.setServerTransport(serverTransport);
context.setMemberListService(memberListServiceInjector.getValue());
context.setLogStreamsManager(logStreamsManager);
context.setWorkflowRequestMessageHandler(workflowRequestMessageHandler);
}
Aggregations