All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.alibaba.spring.boot.rsocket.broker.responder.RSocketBrokerHandlerRegistry Maven / Gradle / Ivy

There is a newer version: 1.1.6
Show newest version
package com.alibaba.spring.boot.rsocket.broker.responder;

import com.alibaba.rsocket.listen.RSocketResponderHandlerFactory;
import org.eclipse.collections.api.multimap.Multimap;
import org.jetbrains.annotations.Nullable;

import java.util.Collection;

/**
 * rsocket broker handler registry to create, manage all RSocket handler
 *
 * @author leijuan
 */
public interface RSocketBrokerHandlerRegistry extends RSocketResponderHandlerFactory, BroadcastSpread {

    Collection findAllAppNames();

    Collection findAll();

    Collection findByAppName(String appName);

    @Nullable
    RSocketBrokerResponderHandler findByUUID(String id);

    @Nullable
    RSocketBrokerResponderHandler findById(Integer id);

    void onHandlerRegistered(RSocketBrokerResponderHandler responderHandler);

    void onHandlerDisposed(RSocketBrokerResponderHandler responderHandler);

    Multimap appHandlers();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy