com.amx.duet.impl.marantz.dv9500
Class MarantzDv9500

java.lang.Object
  extended byjavax.servlet.GenericServlet
      extended byjavax.servlet.http.HttpServlet
          extended bycom.amx.duet.core.osgi.Service
              extended bycom.amx.duet.devicesdk.base.Module
                  extended bycom.amx.duet.devicesdk.DiscDevice
                      extended bycom.amx.duet.impl.marantz.dv9500.MarantzDv9500
All Implemented Interfaces:
org.osgi.service.device.Device, com.amx.duet.core.master.netlinx.IDataListener, com.amx.duet.devicesdk.IDiscDevice, com.amx.duet.devicesdk.component.IDiscDeviceComponent, com.amx.duet.devicesdk.component.IDiscDeviceComponentListener, com.amx.duet.devicesdk.component.IDiscTransportComponent, com.amx.duet.devicesdk.component.IDiscTransportComponentListener, com.amx.duet.impl.marantz.dv9500.IMarantzDv9500, com.amx.duet.devicesdk.component.IMenuComponent, com.amx.duet.devicesdk.component.IMenuComponentListener, com.amx.duet.devicesdk.base.IModule, com.amx.duet.devicesdk.base.IModuleComponent, com.amx.duet.devicesdk.base.IModuleComponentListener, com.amx.duet.devicesdk.component.IPowerComponent, com.amx.duet.devicesdk.component.IPowerComponentListener, java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig, com.amx.duet.core.master.SystemConstants, com.amx.duet.util.TimelineListener, com.amx.duet.util.TimerListener

public class MarantzDv9500
extends com.amx.duet.devicesdk.DiscDevice
implements com.amx.duet.core.master.netlinx.IDataListener, com.amx.duet.util.TimelineListener, com.amx.duet.impl.marantz.dv9500.IMarantzDv9500

Author:
Ysweiss To change the template for this generated type comment go to Window>Preferences>Java>Code Generation>Code and Comments
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.amx.duet.core.osgi.Service
DEFAULT_OBJECT_PROPERTY, DEFAULT_OBJECT_RANK, PROPKEY_LOCATION, PROPKEY_MANUFACTURER, PROPKEY_MODEL, PROPKEY_OBJECTCLASS, STD_HTTP_SRV_CLS
 
Fields inherited from interface org.osgi.service.device.Device
MATCH_NONE
 
Fields inherited from interface com.amx.duet.core.master.SystemConstants
B_BYTE_BUFF, B_WORD_BUFF, BUNDLE_NAME, BUNDLE_VERSION, DEFAULT_CHANNEL_CNT, DEFAULT_LEVEL_CNT, DEFAULT_STR_SIZE, DEVICE_CATEGORY, DEVICE_CLASS, DEVICE_GUID, DEVICE_INTERFACE, DEVICE_MAKE, DEVICE_MODEL, DEVICE_REVISION, DEVICE_SDKCLASS, DEVICE_SDKINTERFACE, DEVICE_SERIAL, DEVICE_SERVICE, DUET_DEVICE, DUET_MAKE, DUET_MODEL, DUET_MODULE, DUET_REVISION, L_BYTE, L_CHAR, L_DOUBLE, L_FLOAT, L_INTEGER, L_LONG, L_SINTEGER, L_SLONG, L_UNKNOWN, L_WIDECHAR, LICENSE_KEY, MATCH_CATEGORY, MATCH_CLASS, MATCH_GUID, MATCH_MAKE, MATCH_MODEL, MATCH_REVISION, MATCH_SERIAL, PHYSICAL_DEVICE, ROUTER_MAKE, ROUTER_MODEL, ROUTER_REVISION, ROUTER_SERVICE
 
Constructor Summary
MarantzDv9500()
           
MarantzDv9500(org.osgi.framework.BundleContext bctxt, com.amx.duet.da.NetLinxDevice nd, java.util.Properties props)
           
 
Method Summary
 void cycleDiscTray()
           
 void cyclePower()
           
 void cycleRandom()
           
 void cycleRepeat()
           
 void cycleScanSpeed()
           
 void dispose()
          This operation is used as a destructor to release resources.
 int getDiscCapacity()
           
 com.amx.duet.devicesdk.type.DiscInfo getDiscInfo()
           
 com.amx.duet.devicesdk.type.DiscTransport getDiscTransport()
           
 java.lang.String getFWVersion()
           
 com.amx.duet.devicesdk.type.PowerState getPower()
           
 com.amx.duet.devicesdk.type.RandomState getRandomState()
           
 com.amx.duet.devicesdk.type.RepeatState getRepeatState()
           
 com.amx.duet.devicesdk.type.TitleInfo getTitleInfo()
           
 com.amx.duet.devicesdk.type.TrackInfo getTrackInfo()
           
 void handleAdvancedEvent(com.amx.duet.core.master.netlinx.Event obj)
           
 void handleDataEvent(com.amx.duet.core.master.netlinx.Event arg0)
           
 void handleTimelineEvent(com.amx.duet.util.Timeline arg0)
           
 boolean isDataInitialized()
           
 boolean isDeviceOnLine()
           
 boolean isTitleCounterNotificationOn()
           
 boolean isTrackCounterNotificationOn()
           
 void moveMenuCursor(com.amx.duet.devicesdk.type.Navigation direction)
           
 void passThru(byte[] buffer)
           
 void pressMenuButton(com.amx.duet.devicesdk.type.Button button)
           
 boolean queryDiscProperties()
           
 void refresh()
           
 void reinitialize()
           
 void selectMenuItem()
           
 void setDiscTransport(com.amx.duet.devicesdk.type.DiscTransport transport)
           
 void setPower(com.amx.duet.devicesdk.type.PowerState ps)
           
 void setTitleCounterNotificationOn(boolean state)
           
 void setTrackCounterNotificationOn(boolean state)
           
 
Methods inherited from class com.amx.duet.devicesdk.DiscDevice
addDiscDeviceComponentListener, addDiscTransportComponentListener, addMenuComponentListener, addPowerComponentListener, getDiscDeviceComponent, getDiscDeviceComponentCount, getDiscTransportComponent, getDiscTransportComponentCount, getMenuComponent, getMenuComponentCount, getPowerComponent, getPowerComponentCount, nextDisc, previousDisc, processDiscInfoEvent, processDiscPropertiesEvent, processDiscTransportEvent, processPowerEvent, processRandomStateEvent, processRepeatStateEvent, processTitleCounterEvent, processTitleInfoEvent, processTitlePropertiesEvent, processTrackCounterEvent, processTrackInfoEvent, processTrackPropertiesEvent, queryTitleProperties, queryTrackProperties, removeDiscDeviceComponentListener, removeDiscTransportComponentListener, removeMenuComponentListener, removePowerComponentListener, setDisc, setPlayPosition, setPlayPosition, setPlayPosition, setPlayPosition, setPlayPosition, setRandomState, setRepeatState
 
Methods inherited from class com.amx.duet.devicesdk.base.Module
addModuleComponentListener, cancelTimer, finalize, getDeviceDateTime, getProperty, getTimerRepeat, getTimerTimeout, getVersion, handleTimerEvent, initModule, isPassBackOn, isPortOnLine, noDriverFound, processAdvancedEvent, processDataInitializedEvent, processDebugEvent, processDeviceOnLineEvent, processPassBackEvent, processPortOnLineEvent, removeModuleComponentListener, setDeviceDateTime, setPassBackOn, setProperty, setTimerRepeat, setTimerTimeout, startTimer
 
Methods inherited from class com.amx.duet.core.osgi.Service
addListener, getDebugState, initService, log, log, log, log, registerServlet, removeListener, setDebugState, unregisterServlet
 
Methods inherited from class javax.servlet.http.HttpServlet
service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.amx.duet.devicesdk.component.IDiscDeviceComponent
addDiscDeviceComponentListener, getDiscDeviceComponent, getDiscDeviceComponentCount, nextDisc, previousDisc, queryTitleProperties, removeDiscDeviceComponentListener, setDisc, setPlayPosition, setPlayPosition, setPlayPosition, setPlayPosition, setRandomState, setRepeatState
 
Methods inherited from interface com.amx.duet.devicesdk.component.IDiscDeviceComponentListener
processDiscInfoEvent, processDiscPropertiesEvent, processRandomStateEvent, processRepeatStateEvent, processTitleCounterEvent, processTitleInfoEvent, processTitlePropertiesEvent
 
Methods inherited from interface com.amx.duet.devicesdk.component.IPowerComponent
addPowerComponentListener, getPowerComponent, getPowerComponentCount, removePowerComponentListener
 
Methods inherited from interface com.amx.duet.devicesdk.component.IPowerComponentListener
processPowerEvent
 
Methods inherited from interface com.amx.duet.devicesdk.component.IMenuComponent
addMenuComponentListener, getMenuComponent, getMenuComponentCount, removeMenuComponentListener
 
Methods inherited from interface com.amx.duet.devicesdk.component.IDiscTransportComponent
addDiscTransportComponentListener, getDiscTransportComponent, getDiscTransportComponentCount, queryTrackProperties, removeDiscTransportComponentListener, setPlayPosition
 
Methods inherited from interface com.amx.duet.devicesdk.component.IDiscTransportComponentListener
processDiscTransportEvent, processTrackCounterEvent, processTrackInfoEvent, processTrackPropertiesEvent
 
Methods inherited from interface com.amx.duet.devicesdk.base.IModuleComponent
getDebugState, setDebugState
 

Constructor Detail

MarantzDv9500

public MarantzDv9500()

MarantzDv9500

public MarantzDv9500(org.osgi.framework.BundleContext bctxt,
                     com.amx.duet.da.NetLinxDevice nd,
                     java.util.Properties props)
Parameters:
bctxt -
nd -
props -
Method Detail

isDeviceOnLine

public boolean isDeviceOnLine()
Specified by:
isDeviceOnLine in interface com.amx.duet.impl.marantz.dv9500.IMarantzDv9500

isDataInitialized

public boolean isDataInitialized()
Specified by:
isDataInitialized in interface com.amx.duet.impl.marantz.dv9500.IMarantzDv9500

refresh

public void refresh()
Specified by:
refresh in interface com.amx.duet.impl.marantz.dv9500.IMarantzDv9500

reinitialize

public void reinitialize()
Specified by:
reinitialize in interface com.amx.duet.impl.marantz.dv9500.IMarantzDv9500

dispose

public void dispose()
This operation is used as a destructor to release resources. Kills heartbeat, heartbeat response, and dequeue timelines. calls base class dispose.

Specified by:
dispose in interface com.amx.duet.impl.marantz.dv9500.IMarantzDv9500

cyclePower

public void cyclePower()
Specified by:
cyclePower in interface com.amx.duet.impl.marantz.dv9500.IMarantzDv9500

cycleRandom

public void cycleRandom()
Specified by:
cycleRandom in interface com.amx.duet.impl.marantz.dv9500.IMarantzDv9500

cycleRepeat

public void cycleRepeat()
Specified by:
cycleRepeat in interface com.amx.duet.impl.marantz.dv9500.IMarantzDv9500

cycleScanSpeed

public void cycleScanSpeed()
Specified by:
cycleScanSpeed in interface com.amx.duet.impl.marantz.dv9500.IMarantzDv9500

getDiscCapacity

public int getDiscCapacity()
Specified by:
getDiscCapacity in interface com.amx.duet.impl.marantz.dv9500.IMarantzDv9500

getDiscInfo

public com.amx.duet.devicesdk.type.DiscInfo getDiscInfo()
Specified by:
getDiscInfo in interface com.amx.duet.impl.marantz.dv9500.IMarantzDv9500

queryDiscProperties

public boolean queryDiscProperties()
Specified by:
queryDiscProperties in interface com.amx.duet.impl.marantz.dv9500.IMarantzDv9500

getDiscTransport

public com.amx.duet.devicesdk.type.DiscTransport getDiscTransport()
Specified by:
getDiscTransport in interface com.amx.duet.impl.marantz.dv9500.IMarantzDv9500

getPower

public com.amx.duet.devicesdk.type.PowerState getPower()
Specified by:
getPower in interface com.amx.duet.impl.marantz.dv9500.IMarantzDv9500

getRandomState

public com.amx.duet.devicesdk.type.RandomState getRandomState()
Specified by:
getRandomState in interface com.amx.duet.impl.marantz.dv9500.IMarantzDv9500

getRepeatState

public com.amx.duet.devicesdk.type.RepeatState getRepeatState()
Specified by:
getRepeatState in interface com.amx.duet.impl.marantz.dv9500.IMarantzDv9500

getTitleInfo

public com.amx.duet.devicesdk.type.TitleInfo getTitleInfo()
Specified by:
getTitleInfo in interface com.amx.duet.impl.marantz.dv9500.IMarantzDv9500

getTrackInfo

public com.amx.duet.devicesdk.type.TrackInfo getTrackInfo()
Specified by:
getTrackInfo in interface com.amx.duet.impl.marantz.dv9500.IMarantzDv9500

isTitleCounterNotificationOn

public boolean isTitleCounterNotificationOn()
Specified by:
isTitleCounterNotificationOn in interface com.amx.duet.impl.marantz.dv9500.IMarantzDv9500

isTrackCounterNotificationOn

public boolean isTrackCounterNotificationOn()
Specified by:
isTrackCounterNotificationOn in interface com.amx.duet.impl.marantz.dv9500.IMarantzDv9500

moveMenuCursor

public void moveMenuCursor(com.amx.duet.devicesdk.type.Navigation direction)
Specified by:
moveMenuCursor in interface com.amx.duet.impl.marantz.dv9500.IMarantzDv9500

pressMenuButton

public void pressMenuButton(com.amx.duet.devicesdk.type.Button button)
Specified by:
pressMenuButton in interface com.amx.duet.impl.marantz.dv9500.IMarantzDv9500

selectMenuItem

public void selectMenuItem()
Specified by:
selectMenuItem in interface com.amx.duet.impl.marantz.dv9500.IMarantzDv9500

setDiscTransport

public void setDiscTransport(com.amx.duet.devicesdk.type.DiscTransport transport)
Specified by:
setDiscTransport in interface com.amx.duet.impl.marantz.dv9500.IMarantzDv9500

setPower

public void setPower(com.amx.duet.devicesdk.type.PowerState ps)
Specified by:
setPower in interface com.amx.duet.impl.marantz.dv9500.IMarantzDv9500

setTitleCounterNotificationOn

public void setTitleCounterNotificationOn(boolean state)
Specified by:
setTitleCounterNotificationOn in interface com.amx.duet.impl.marantz.dv9500.IMarantzDv9500

setTrackCounterNotificationOn

public void setTrackCounterNotificationOn(boolean state)
Specified by:
setTrackCounterNotificationOn in interface com.amx.duet.impl.marantz.dv9500.IMarantzDv9500

cycleDiscTray

public void cycleDiscTray()
Specified by:
cycleDiscTray in interface com.amx.duet.impl.marantz.dv9500.IMarantzDv9500

getFWVersion

public java.lang.String getFWVersion()
Specified by:
getFWVersion in interface com.amx.duet.impl.marantz.dv9500.IMarantzDv9500

handleAdvancedEvent

public void handleAdvancedEvent(com.amx.duet.core.master.netlinx.Event obj)
Specified by:
handleAdvancedEvent in interface com.amx.duet.impl.marantz.dv9500.IMarantzDv9500

passThru

public void passThru(byte[] buffer)
Specified by:
passThru in interface com.amx.duet.impl.marantz.dv9500.IMarantzDv9500

handleDataEvent

public void handleDataEvent(com.amx.duet.core.master.netlinx.Event arg0)
Specified by:
handleDataEvent in interface com.amx.duet.core.master.netlinx.IDataListener

handleTimelineEvent

public void handleTimelineEvent(com.amx.duet.util.Timeline arg0)
Specified by:
handleTimelineEvent in interface com.amx.duet.util.TimelineListener