public class RSocketServerBootstrap extends Object implements ApplicationEventPublisherAware, SmartLifecycle
RSocketServer
and start it with the application context.DEFAULT_PHASE
Constructor and Description |
---|
RSocketServerBootstrap(RSocketServerFactory serverFactory,
io.rsocket.SocketAcceptor socketAcceptor) |
Modifier and Type | Method and Description |
---|---|
boolean |
isRunning() |
void |
setApplicationEventPublisher(ApplicationEventPublisher applicationEventPublisher) |
void |
start() |
void |
stop() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPhase, isAutoStartup, stop
public RSocketServerBootstrap(RSocketServerFactory serverFactory, io.rsocket.SocketAcceptor socketAcceptor)
public void setApplicationEventPublisher(ApplicationEventPublisher applicationEventPublisher)
setApplicationEventPublisher
in interface ApplicationEventPublisherAware