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.ApplicationEventPublisherAwarepublic void start()
start in interface org.springframework.context.Lifecyclepublic void stop()
stop in interface org.springframework.context.Lifecyclepublic boolean isRunning()
isRunning in interface org.springframework.context.Lifecycle