public class RSocketServerBootstrap
extends java.lang.Object
implements org.springframework.context.ApplicationEventPublisherAware, org.springframework.context.SmartLifecycle
RSocketServer
and start it with the application context.Constructor and Description |
---|
RSocketServerBootstrap(RSocketServerFactory serverFactory,
io.rsocket.SocketAcceptor socketAcceptor) |
Modifier and Type | Method and Description |
---|---|
boolean |
isRunning() |
void |
setApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher applicationEventPublisher) |
void |
start() |
void |
stop() |
public RSocketServerBootstrap(RSocketServerFactory serverFactory, io.rsocket.SocketAcceptor socketAcceptor)
public void setApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher applicationEventPublisher)
setApplicationEventPublisher
in interface org.springframework.context.ApplicationEventPublisherAware
public void start()
start
in interface org.springframework.context.Lifecycle
public void stop()
stop
in interface org.springframework.context.Lifecycle
public boolean isRunning()
isRunning
in interface org.springframework.context.Lifecycle