TcpEndpoint class

Inheritance

Constructors

TcpEndpoint({required String host, required int port, required String sourceAddress, bool secure = false, required List<InternetAddress> addressList, Endpoint? underlying, int timeout = 0, bool compress = false})

Properties

addressList List<InternetAddress>
Resolved address
finalinherited
compress bool
getter/setter pairinherited
datagram bool
Returns true if this endpoint is a datagram endpoint.
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
host String
The host or address configured with the endpoint.
getter/setter pairinherited
port int
The port number.
finalinherited
protocol String
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secure bool
Returns true if this endpoint is a secure endpoint.
final
sourceAddress String
The source IP address.
finalinherited
timeout int
The timeout for the endpoint in milliseconds. 0 means non-blocking, -1 means no timeout.
getter/setter pairinherited
type EndpointType
Returns the type of the endpoint.
no setteroverride
underlying Endpoint?
The information of the underyling endpoint of null if there's no underlying endpoint.
getter/setter pairinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolve() Future
inherited
streamWriteImpl(OutputStream out) → void
override
toString() String
A string representation of this object.
override

Operators

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