Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BaseMessage<T>

todo

非直接对用户暴露的数据类 基础消息数据类

Type Parameters

  • T = any

Hierarchy

  • BaseMessage

Index

Constructors

  • new BaseMessage<T>(messageType: string, objectName: string, content: T, isPersited?: boolean, isCounted?: boolean): BaseMessage<T>
  • Type Parameters

    • T = any

    Parameters

    • messageType: string
    • objectName: string
    • content: T
    • isPersited: boolean = true
    • isCounted: boolean = true

    Returns BaseMessage<T>

Properties

messageType: string
objectName: string
content: T
isPersited: boolean = true
isCounted: boolean = true