C# Class RaumfeldNET.ZoneManager

Inheritance: RaumfeldNET.Base.BaseManager
ファイルを表示 Open project: stoennies/raumwiese Class Usage Examples

Protected Properties

Property Type Description
rooms Room>.Dictionary
zones Zone>.Dictionary

Public Methods

Method Description
ZoneManager ( UPNP _upnpStack ) : System
connectRoomToZone ( String _roomUDN, String _zoneUDN = "" ) : void
dropRoomFromZone ( String _roomUDN ) : void
getLinkedRooms ( String _zoneUdn ) : List
getRoom ( String _roomUDN ) : Room
getRoomByRendererUDN ( String _rendererUDN ) : Room
getRoomUUID ( String _roomUUID ) : Room
getRooms ( ) : List
getZone ( String _zoneUDN ) : Zone
getZoneUUID ( String _zoneUUID ) : Zone
getZones ( ) : List
linkRoomToRoomRenderer ( Room _room, System.Boolean _unlink = false, System.Boolean _crossLink = true ) : void
linkZoneToVirtualRenderer ( Zone _zone, System.Boolean _unlink = false, System.Boolean _crossLink = true ) : void
retrieveZones ( String _updateId = "" ) : void

Protected Methods

Method Description
areAllRenderersLinked ( ) : System.Boolean
checkAllRenderersLinked ( ) : void
retrieveZonesResponseSink ( HttpWebResponse _response ) : void

Private Methods

Method Description
createRoomForXMLNode ( XmlNode _roomNode ) : Room
createZoneForXMLNode ( XmlNode _zoneNode ) : Zone
handleZoneXml ( XmlDocument _zoneXmlDocument ) : void
handleZoneXmlUnassignedRooms ( XmlDocument _zoneXmlDocument ) : void
handleZoneXmlZone ( XmlDocument _zoneXmlDocument ) : void
zonePlayModeChangedSink ( string _zoneUDN, AvTransportPlayMode _playMode ) : void
zonePlayStateChangedSink ( String _zoneUDN, RendererPlayState _playState ) : void
zoneTrackChangedSink ( string _zoneUDN, uint _newTrackIdx ) : void
zoneTrackPositionChangedSink ( string _zoneUDN, String _absTime ) : void

Method Details

ZoneManager() public method

public ZoneManager ( UPNP _upnpStack ) : System
_upnpStack UPNP
return System

areAllRenderersLinked() protected method

protected areAllRenderersLinked ( ) : System.Boolean
return System.Boolean

checkAllRenderersLinked() protected method

protected checkAllRenderersLinked ( ) : void
return void

connectRoomToZone() public method

public connectRoomToZone ( String _roomUDN, String _zoneUDN = "" ) : void
_roomUDN String
_zoneUDN String
return void

dropRoomFromZone() public method

public dropRoomFromZone ( String _roomUDN ) : void
_roomUDN String
return void

getLinkedRooms() public method

public getLinkedRooms ( String _zoneUdn ) : List
_zoneUdn String
return List

getRoom() public method

public getRoom ( String _roomUDN ) : Room
_roomUDN String
return Room

getRoomByRendererUDN() public method

public getRoomByRendererUDN ( String _rendererUDN ) : Room
_rendererUDN String
return Room

getRoomUUID() public method

public getRoomUUID ( String _roomUUID ) : Room
_roomUUID String
return Room

getRooms() public method

public getRooms ( ) : List
return List

getZone() public method

public getZone ( String _zoneUDN ) : Zone
_zoneUDN String
return Zone

getZoneUUID() public method

public getZoneUUID ( String _zoneUUID ) : Zone
_zoneUUID String
return Zone

getZones() public method

public getZones ( ) : List
return List

linkRoomToRoomRenderer() public method

public linkRoomToRoomRenderer ( Room _room, System.Boolean _unlink = false, System.Boolean _crossLink = true ) : void
_room Room
_unlink System.Boolean
_crossLink System.Boolean
return void

linkZoneToVirtualRenderer() public method

public linkZoneToVirtualRenderer ( Zone _zone, System.Boolean _unlink = false, System.Boolean _crossLink = true ) : void
_zone Zone
_unlink System.Boolean
_crossLink System.Boolean
return void

retrieveZones() public method

public retrieveZones ( String _updateId = "" ) : void
_updateId String
return void

retrieveZonesResponseSink() protected method

protected retrieveZonesResponseSink ( HttpWebResponse _response ) : void
_response System.Net.HttpWebResponse
return void

Property Details

rooms protected_oe property

protected Dictionary rooms
return Room>.Dictionary

zones protected_oe property

protected Dictionary zones
return Zone>.Dictionary