UdpEndpoint class

Inheritance

Constructors

UdpEndpoint({required String host, required int port, int ttl = 1, required String interface, bool connect = false, bool secure = false, required List<InternetAddress> addressList, Endpoint? underlying, bool compress = false})

Properties

addressList List<InternetAddress>
Resolved address
finalinherited
compress bool
getter/setter pairinherited
connect bool
final
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
interface String
final
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
ttl int
final
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