@Preview(value="3.0") public class StompBroker extends java.lang.Object implements WebSocketListenerSupplier
限定符和类型 | 字段和说明 |
---|---|
protected StompBrokerMedia |
brokerMedia |
protected ToStompWebSocketListener |
webSocketListener |
构造器和说明 |
---|
StompBroker() |
限定符和类型 | 方法和说明 |
---|---|
void |
addServerListener(StompListener... listeners)
添加服务端监听器
|
StompEmitter |
getServerSender()
获取服务端发送器
|
WebSocketListener |
getWebSocketListener() |
protected final ToStompWebSocketListener webSocketListener
protected final StompBrokerMedia brokerMedia
public WebSocketListener getWebSocketListener()
public void addServerListener(StompListener... listeners)
public StompEmitter getServerSender()