
io.servicefabric.transport.ITransportSpi Maven / Gradle / Ivy
package io.servicefabric.transport;
import java.util.Map;
import rx.subjects.Subject;
import io.netty.channel.Channel;
import io.netty.handler.logging.LogLevel;
import io.netty.util.concurrent.EventExecutorGroup;
/** Transport SPI interface. Exposes some properties and functions which aren't part of the public API. */
interface ITransportSpi {
/** SPI method. */
Subject getSubject();
/** SPI method. */
TransportEndpoint getLocalEndpoint();
/** SPI method. */
Map getLocalMetadata();
/** SPI method. */
int getHandshakeTimeout();
/** SPI method. */
int getSendHwm();
/** SPI method. */
LogLevel getLogLevel();
/** SPI method. */
EventExecutorGroup getEventExecutor();
/** SPI method. */
TransportChannel getTransportChannel(Channel channel);
/** SPI method. */
TransportChannel createAcceptor(Channel channel);
/** SPI method. */
void accept(TransportChannel transport);
/** SPI method. */
void resetDueHandshake(Channel channel);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy