Options
All
  • Public
  • Public/Protected
  • All
Menu

Module src/NIMInterface

Index

Type Aliases

NIMEInstanceStatus: "unconnected" | "connecting" | "connected" | "logined" | "waitReconnect" | "destroyed"

实例的状态标识

  • unconnected: 尚未建立连接(初始化、主动登出、达到最大重连次数)
  • connecting: 正在建立连接中
  • connected: 已连接,尚未完成鉴权认证
  • logined: 已连接, 并且完成了鉴权认证,可以正常开始发送协议
  • waitReconnect: 等待重连中
  • destroyed: 实例已经销毁