public class Event extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
SubscribeEventResp |
subscribe(SubscribeEventReq req)
订阅服务台事件,本接口用于订阅服务台事件。
|
SubscribeEventResp |
subscribe(SubscribeEventReq req,
RequestOptions reqOptions)
订阅服务台事件,本接口用于订阅服务台事件。
|
UnsubscribeEventResp |
unsubscribe(UnsubscribeEventReq req)
取消订阅服务台事件,本接口用于取消订阅服务台事件。
|
UnsubscribeEventResp |
unsubscribe(UnsubscribeEventReq req,
RequestOptions reqOptions)
取消订阅服务台事件,本接口用于取消订阅服务台事件。
|
public Event(Config config)
public SubscribeEventResp subscribe(SubscribeEventReq req, RequestOptions reqOptions) throws Exception
Exceptionpublic SubscribeEventResp subscribe(SubscribeEventReq req) throws Exception
Exceptionpublic UnsubscribeEventResp unsubscribe(UnsubscribeEventReq req, RequestOptions reqOptions) throws Exception
Exceptionpublic UnsubscribeEventResp unsubscribe(UnsubscribeEventReq req) throws Exception
ExceptionCopyright © 2026. All rights reserved.