Endpoint class abstract

The user-level interface to an endpoint. Combine EndpointInfo and Endpoint to Endpoint

Implementers

Constructors

Endpoint({Endpoint? underlying, int timeout = 0, bool compress = false})

Properties

compress bool
getter/setter pair
datagram bool
Returns true if this endpoint is a datagram endpoint.
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secure bool
Returns true if this endpoint is a secure endpoint.
no setter
timeout int
The timeout for the endpoint in milliseconds. 0 means non-blocking, -1 means no timeout.
getter/setter pair
type EndpointType
Returns the type of the endpoint.
no setter
underlying Endpoint?
The information of the underyling endpoint of null if there's no underlying endpoint.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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