usingSystem;
usingSystem.Collections.Generic;
usingSystem.Text;
usingInTheHand.Net.Bluetooth.Widcomm;
usingInTheHand.Net.Bluetooth.Factory;
namespace InTheHand.Net.Tests.Widcomm{
classWidcommFactoryNotImpl : WidcommBluetoothFactoryBase
{
privatestatic WidcommBluetoothFactoryBase s_Instance;
publicstatic WidcommBluetoothFactoryBase Instance
{
get
{
lock (typeof(WidcommFactoryNotImpl)) {
if (s_Instance == null)
s_Instance = newWidcommFactoryNotImpl();
}
return s_Instance;
}
}
protectedWidcommFactoryNotImpl()
{
}
//----
internaloverrideWidcommBtInterface GetWidcommBtInterface()
{
thrownewException("The method or operation is not implemented.");
}
internaloverrideWidcommRfcommStream GetWidcommRfcommStream()
{
thrownewException("The method or operation is not implemented.");
}
internaloverrideWidcommRfcommStream GetWidcommRfcommStreamWithoutRfcommIf()
{
thrownewException("The method or operation is not implemented.");
}
internaloverrideIRfcommPort GetWidcommRfcommPort()
{
thrownewException("The method or operation is not implemented.");
}
internaloverrideIRfCommIf GetWidcommRfCommIf()
{
thrownewException("The method or operation is not implemented.");
}
internaloverrideISdpService GetWidcommSdpService()
{
thrownewException("The method or operation is not implemented.");
}
protectedoverrideIBluetoothClient GetBluetoothClient()
{
thrownewException("The method or operation is not implemented.");
}
protectedoverrideIBluetoothClient GetBluetoothClient(System.Net.Sockets.Socket acceptedSocket)
{
thrownewException("The method or operation is not implemented.");
}
protectedoverrideIBluetoothClient GetBluetoothClient(BluetoothEndPoint localEP)
{
thrownewException("The method or operation is not implemented.");
}
protectedoverrideIBluetoothDeviceInfo GetBluetoothDeviceInfo(BluetoothAddress address)
{
thrownewException("The method or operation is not implemented.");
}
protectedoverrideIBluetoothListener GetBluetoothListener()
{
thrownewException("The method or operation is not implemented.");
}
protectedoverrideIBluetoothRadio GetPrimaryRadio()
{
thrownewException("The method or operation is not implemented.");
}
protectedoverrideIBluetoothRadio[] GetAllRadios()
{
thrownewException("The method or operation is not implemented.");
}
protectedoverrideIBluetoothSecurity GetBluetoothSecurity()
{
thrownewException("The method or operation is not implemented.");
}
#if WIDCOMM_SINGLE_THREADING
internaloverrideWidcommPortSingleThreader GetSingleThreader()
{
returnnull;
}
#endifprotectedoverridevoid Dispose(bool disposing)
{
thrownewNotImplementedException();
}
}
}