L2CapChannelClientSocketUtils class

Client side utilities for L2CAP channels as sockets.

L2CapChannelClientSocketUtils can be used on either a central or peripheral to create single or multiplexed sockets for one l2cap channel. The type of single or multiplexed must be matched by both sides. For example, if the central uses L2CapChannelClientSocketUtils.multiplex then the peripheral must use L2CapChannelServerSocketUtils.multiplex.

For more information on multiplexing, see Multiplexing Connections.

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

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

Static Methods

connectSingle(L2CapChannel channel) Socket
Creates an exclusive socket for one channel.
multiplex(L2CapChannel channel) → L2CapChannelClientSocketMultiplexer
Creates a client side multiplexed socket over one channel.