接口 StompSession.Subscription
- 所有超级接口:
StompSession.Receiptable
- 封闭接口:
- StompSession
public static interface StompSession.Subscription extends StompSession.Receiptable
A handle to use to unsubscribe or to track a receipt.
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 String
getSubscriptionId()
Return the id for the subscription.void
unsubscribe()
Remove the subscription by sending an UNSUBSCRIBE frame.从接口继承的方法 org.springframework.messaging.simp.stomp.StompSession.Receiptable
addReceiptLostTask, addReceiptTask, getReceiptId
方法详细资料
getSubscriptionId
String getSubscriptionId()
Return the id for the subscription.
unsubscribe
void unsubscribe()
Remove the subscription by sending an UNSUBSCRIBE frame.