SocketConnect class

Constructors

SocketConnect()

Properties

appProjectName String?
项目名字
getter/setter pair
dataFormatVersions DataFormatVersions
发送数据类型
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
socket Socket?
getter/setter pair

Methods

connect({String? defaultProjectName, int? port, HostHandle? hostHandle, Duration? timeOut, String? initHost, DataFormatVersions? version, ValueChanged<Socket>? connectSuccess, String? projectName, required List<ServerMessageHandle> extend}) Future<void>
连接到idea插件
int32BigEndianBytes(int value) Uint8List
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
responseHandle(String data, List<ServerMessageHandle> handle) → void
处理socket接收到的数据返回的数据
sendData(String msg, DataFormatVersions version, {String type = "request"}) Future<void>
发送消息 (dio 专用)
sendDataByModel(SocketSendModel model, [DataFormatVersions versions = DataFormatVersions.appleApp]) Future<void>
sendDataMap(String message, String type, DataFormatVersions versions) Future<void>
sendMap(Map<String, dynamic> map, String type) → void
发送数据
toString() String
A string representation of this object.
inherited

Operators

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