Type Aliases
MsgEventSubscribe
MsgEventSubscribe: { sync: boolean; time: number; to: string; type: number; vaildTime: number }
Type declaration
sync: boolean
time: number
to: string
type: number
vaildTime: number
PublishEventOptions
PublishEventOptions: { broadcastType?: number; ext?: string; sync?: boolean; type: number; vaildTime?: number; value: number }
Type declaration
Optional broadcastType?: number
Optional ext?: string
Optional sync?: boolean
type: number
Optional vaildTime?: number
value: number
PublishEventResult
PublishEventResult: { idClient: string; idServer: string; time: number }
Type declaration
idClient: string
idServer: string
time: number
PushEvent
Push
Event
: { account
: string; clientType
: EClientType; ext
: string; idClient
: string; idServer
: string; time
: number; type
: number; value
: number }Type declaration
account: string
ext: string
idClient: string
idServer: string
time: number
type: number
value: number
QuerySubscribeEventsOptions
QuerySubscribeEventsOptions: { accounts?: string[]; type: number }
Type declaration
Optional accounts?: string[]
type: number
SubscribeEventOptions
SubscribeEventOptions: { accounts: string[]; subscribeTime?: number; sync?: boolean; type: number }
Type declaration
accounts: string[]
Optional subscribeTime?: number
Optional sync?: boolean
type: number
SubscribeEventResult
SubscribeEventResult: { failedAccounts: string[] }
UnSubscribeEventsOptions
UnSubscribeEventsOptions: { accounts?: string[]; type: number }
Type declaration
Optional accounts?: string[]
type: number
UnSubscribeEventsResult
UnSubscribeEventsResult: { failedAccounts: string[] }
是否同步