C# Класс NetworkCommsDotNet.Connections.Bluetooth.BluetoothConnectionListener

A Bluetooth connection listener
Наследование: ConnectionListenerBase
Показать файл Открыть проект

Открытые методы

Метод Описание
BluetoothConnectionListener ( SendReceiveOptions sendReceiveOptions, ApplicationLayerProtocolStatus applicationLayerProtocol, bool allowDiscoverable = false ) : System

Create a new instance of BluetoothConnectionListener

Приватные методы

Метод Описание
BluetoothConnectionReceivedAsync ( IAsyncResult ar ) : void

Handle a new incoming bluetooth connection

StartListening ( EndPoint desiredLocalListenEndPoint, bool useRandomPortFailOver ) : void
StopListening ( ) : void

Описание методов

BluetoothConnectionListener() публичный Метод

Create a new instance of BluetoothConnectionListener
public BluetoothConnectionListener ( SendReceiveOptions sendReceiveOptions, ApplicationLayerProtocolStatus applicationLayerProtocol, bool allowDiscoverable = false ) : System
sendReceiveOptions SendReceiveOptions The send receive options to use for this listener.
applicationLayerProtocol ApplicationLayerProtocolStatus If enabled NetworkComms.Net uses a custom /// application layer protocol to provide useful features such as inline serialisation, /// transparent packet transmission, remote peer handshake and information etc. We strongly /// recommend you enable the NetworkComms.Net application layer protocol.
allowDiscoverable bool Determines if the newly created will be discoverable if is enabled.
Результат System