public class WebSocketsRxServerProvider<I extends io.netty.handler.codec.http.websocketx.WebSocketFrame,O extends io.netty.handler.codec.http.websocketx.WebSocketFrame,S extends io.reactivex.netty.server.RxServer<I,O>>
extends java.lang.Object
implements com.google.inject.Provider<S>
| Modifier and Type | Field and Description |
|---|---|
protected com.google.inject.Key<io.reactivex.netty.channel.ConnectionHandler<I,O>> |
connectionHandlerKey |
| Constructor and Description |
|---|
WebSocketsRxServerProvider(java.lang.String name,
java.lang.Class<I> iType,
java.lang.Class<O> oType) |
| Modifier and Type | Method and Description |
|---|---|
S |
get() |
void |
setInjector(com.google.inject.Injector injector) |
void |
shutdown() |
public S get()
@PreDestroy
public void shutdown()
throws java.lang.InterruptedException
java.lang.InterruptedException@Inject public void setInjector(com.google.inject.Injector injector)