public class StompServerEmitter extends java.lang.Object implements StompEmitter
限定符 | 构造器和说明 |
---|---|
protected |
StompServerEmitter(StompServerOperations operations) |
限定符和类型 | 方法和说明 |
---|---|
void |
sendTo(java.lang.String destination,
Frame frame)
发送到目的地
|
void |
sendTo(WebSocket session,
Frame frame)
发送到会话
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
sendTo
protected StompServerEmitter(StompServerOperations operations)
public void sendTo(java.lang.String destination, Frame frame)
sendTo
在接口中 StompEmitter
destination
- 目标(支持模糊匹配,如/topic/**)frame
- 帧