@Deprecated public class DefaultDeviceSessionManager extends Object implements DeviceSessionManager
| 构造器和说明 |
|---|
DefaultDeviceSessionManager()
已过时。
|
| 限定符和类型 | 方法和说明 |
|---|---|
reactor.core.publisher.Mono<Long> |
checkSession()
已过时。
|
reactor.core.publisher.Flux<DeviceSession> |
getAllSession()
已过时。
|
long |
getCurrentSession(Transport transport)
已过时。
|
long |
getMaximumSession(Transport transport)
已过时。
|
DeviceSession |
getSession(String clientId)
已过时。
|
ChildrenDeviceSession |
getSession(String deviceId,
String childrenId)
已过时。
|
void |
init()
已过时。
|
boolean |
isOutOfMaximumSessionLimit(Transport transport)
已过时。
|
reactor.core.publisher.Flux<DeviceSession> |
onRegister()
已过时。
|
reactor.core.publisher.Flux<DeviceSession> |
onUnRegister()
已过时。
|
DeviceSession |
register(DeviceSession session)
已过时。
|
reactor.core.publisher.Mono<ChildrenDeviceSession> |
registerChildren(String deviceId,
String childrenDeviceId)
已过时。
|
DeviceSession |
replace(DeviceSession oldSession,
DeviceSession newSession)
已过时。
|
boolean |
sessionIsAlive(String deviceId)
已过时。
|
void |
setTransportLimit(Transport transport,
long limit)
已过时。
|
void |
shutdown()
已过时。
|
DeviceSession |
unregister(String idOrDeviceId)
已过时。
|
reactor.core.publisher.Mono<ChildrenDeviceSession> |
unRegisterChildren(String deviceId,
String childrenId)
已过时。
|
public void setTransportLimit(Transport transport, long limit)
public void shutdown()
public boolean isOutOfMaximumSessionLimit(Transport transport)
public long getMaximumSession(Transport transport)
getMaximumSession 在接口中 DeviceSessionManagerpublic long getCurrentSession(Transport transport)
getCurrentSession 在接口中 DeviceSessionManagerpublic reactor.core.publisher.Mono<Long> checkSession()
public void init()
public DeviceSession getSession(String clientId)
getSession 在接口中 DeviceSessionManagerpublic ChildrenDeviceSession getSession(String deviceId, String childrenId)
getSession 在接口中 DeviceSessionManagerpublic reactor.core.publisher.Mono<ChildrenDeviceSession> registerChildren(String deviceId, String childrenDeviceId)
registerChildren 在接口中 DeviceSessionManagerpublic reactor.core.publisher.Mono<ChildrenDeviceSession> unRegisterChildren(String deviceId, String childrenId)
unRegisterChildren 在接口中 DeviceSessionManagerpublic DeviceSession replace(DeviceSession oldSession, DeviceSession newSession)
replace 在接口中 DeviceSessionManagerpublic DeviceSession register(DeviceSession session)
register 在接口中 DeviceSessionManagerpublic reactor.core.publisher.Flux<DeviceSession> onRegister()
onRegister 在接口中 DeviceSessionManagerpublic reactor.core.publisher.Flux<DeviceSession> onUnRegister()
onUnRegister 在接口中 DeviceSessionManagerpublic reactor.core.publisher.Flux<DeviceSession> getAllSession()
getAllSession 在接口中 DeviceSessionManagerpublic boolean sessionIsAlive(String deviceId)
sessionIsAlive 在接口中 DeviceSessionManagerpublic DeviceSession unregister(String idOrDeviceId)
unregister 在接口中 DeviceSessionManagerCopyright © 2019–2023. All rights reserved.