C# 클래스 NetworkCommsDotNet.Connections.Bluetooth.BluetoothConnectionListener

A Bluetooth connection listener
상속: ConnectionListenerBase
파일 보기 프로젝트 열기: MarcFletcher/NetworkComms.Net

공개 메소드들

메소드 설명
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