C# 클래스 cloudmusic2upnp.DeviceController.UPnP.Controller

상속: IController
파일 보기 프로젝트 열기: TilmannBach/cloudmusic2upnp

공개 메소드들

메소드 설명
Controller ( uint networkAdapterIndex ) : System

Starts a new DeviceController for controlling UPnP-Media-Renderer in your network.

GetDevice ( string udn ) : IDevice
GetDevices ( ) : IDevice[]
Shutdown ( ) : void

Explicitly free's up memory used by the c++ library.

보호된 메소드들

메소드 설명
OnDeviceDiscovered ( UPnPDevice dev ) : void
OnDeviceRemoved ( UPnPDevice dev ) : void

비공개 메소드들

메소드 설명
DeviceAdded ( OpenHome aList, OpenHome aDevice ) : void

Handler for CpDeviceList if devices are found on the network.

DeviceRemoved ( OpenHome aList, OpenHome aDevice ) : void

Handler for CpDeviceList if devices are removed from the network (they should send a bye if they went offline, or announcement keep alive is over).

PrintDeviceInfo ( string aPrologue, OpenHome aDevice ) : void

Prints some device information.

startListening ( ) : void

Destructor for freeing memory from c++ library.

Method to set up the devicelist. OpenHome-lib starts listening here...

메소드 상세

Controller() 공개 메소드

Starts a new DeviceController for controlling UPnP-Media-Renderer in your network.
public Controller ( uint networkAdapterIndex ) : System
networkAdapterIndex uint
리턴 System

GetDevice() 공개 메소드

public GetDevice ( string udn ) : IDevice
udn string
리턴 IDevice

GetDevices() 공개 메소드

public GetDevices ( ) : IDevice[]
리턴 IDevice[]

OnDeviceDiscovered() 보호된 메소드

protected OnDeviceDiscovered ( UPnPDevice dev ) : void
dev UPnPDevice
리턴 void

OnDeviceRemoved() 보호된 메소드

protected OnDeviceRemoved ( UPnPDevice dev ) : void
dev UPnPDevice
리턴 void

Shutdown() 공개 메소드

Explicitly free's up memory used by the c++ library.
public Shutdown ( ) : void
리턴 void