Tcp class

Implemented types

Constructors

Tcp()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

close() Future
override
connect(SocketConnectionPoint connectionPoint) Future<Socket>
override
listen(SocketConnectionPoint bind) Future<Stream<CommunicateData<Socket>>>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
send(CommunicateData<Socket> data) Future<int>
override
setBindMock(dynamic bind(dynamic address, int port, {int backlog, bool shared, bool v6Only})) → void
setConnectMock(dynamic connect(dynamic, int, {dynamic sourceAddress, int sourcePort, Duration? timeout})) → void
toString() String
A string representation of this object.
inherited

Operators

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