IMWebsocket class

Constructors

IMWebsocket()

Properties

ackmap Map<String, String>
getter/setter pair
channel ↔ WebSocketChannel
getter/setter pair
eventBus IMEventBus?
事件机制
getter/setter pair
fromUid String
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
imAddress String
getter/setter pair
isConnect StatusEnum
getter/setter pair
isLogin bool
getter/setter pair
key String
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
started bool
getter/setter pair

Methods

connect() Future
链接服务器
createACKString(String sTimest) String
构建ACK
disconnect() Future
关闭链接
loginToServer(String text) bool
登录
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sendMessage(String text) bool
发送数据给服务器
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited