Class ToneIndicatorService

java.lang.Object
de.gmxhome.conrad.jpos.jpos_base.JposBase
de.gmxhome.conrad.jpos.jpos_base.toneindicator.ToneIndicatorService
All Implemented Interfaces:
jpos.loader.JposServiceInstance, jpos.services.BaseService, jpos.services.ToneIndicatorService110, jpos.services.ToneIndicatorService111, jpos.services.ToneIndicatorService112, jpos.services.ToneIndicatorService113, jpos.services.ToneIndicatorService114, jpos.services.ToneIndicatorService115, jpos.services.ToneIndicatorService116, jpos.services.ToneIndicatorService12, jpos.services.ToneIndicatorService13, jpos.services.ToneIndicatorService14, jpos.services.ToneIndicatorService15, jpos.services.ToneIndicatorService16, jpos.services.ToneIndicatorService17, jpos.services.ToneIndicatorService18, jpos.services.ToneIndicatorService19

public class ToneIndicatorService extends JposBase implements jpos.services.ToneIndicatorService116
ToneIndicator service implementation. For more details about getter, setter and method implementations, see JposBase.
  • Field Details

    • ToneIndicatorInterface

      public ToneIndicatorInterface ToneIndicatorInterface
      Instance of a class implementing the ToneIndicatorInterface for tone indicator specific setter and method calls bound to the property set. Almost always the same object as Data.
  • Constructor Details

    • ToneIndicatorService

      public ToneIndicatorService(ToneIndicatorProperties props, JposDevice device)
      Constructor. Stores property set and device driver implementation
      Parameters:
      props - Device service property set-
      device - Device driver implementation.
  • Method Details

    • getAsyncMode

      public boolean getAsyncMode() throws jpos.JposException
      Description copied from class: JposBase
      Get common property AsyncMode, see UPOS specification
      Specified by:
      getAsyncMode in interface jpos.services.ToneIndicatorService12
      Overrides:
      getAsyncMode in class JposBase
      Returns:
      property value
      Throws:
      jpos.JposException - See UPOS specification, property
    • setAsyncMode

      public void setAsyncMode(boolean b) throws jpos.JposException
      Description copied from class: JposBase
      Get common property AsyncMode, see UPOS specification
      Specified by:
      setAsyncMode in interface jpos.services.ToneIndicatorService12
      Overrides:
      setAsyncMode in class JposBase
      Parameters:
      b - New property value
      Throws:
      jpos.JposException - See UPOS specification, property PowerNotify
    • getCapMelody

      public int getCapMelody() throws jpos.JposException
      Specified by:
      getCapMelody in interface jpos.services.ToneIndicatorService113
      Throws:
      jpos.JposException
    • getMelodyType

      public int getMelodyType() throws jpos.JposException
      Specified by:
      getMelodyType in interface jpos.services.ToneIndicatorService113
      Throws:
      jpos.JposException
    • setMelodyType

      public void setMelodyType(int i) throws jpos.JposException
      Specified by:
      setMelodyType in interface jpos.services.ToneIndicatorService113
      Throws:
      jpos.JposException
    • getMelodyVolume

      public int getMelodyVolume() throws jpos.JposException
      Specified by:
      getMelodyVolume in interface jpos.services.ToneIndicatorService113
      Throws:
      jpos.JposException
    • setMelodyVolume

      public void setMelodyVolume(int i) throws jpos.JposException
      Specified by:
      setMelodyVolume in interface jpos.services.ToneIndicatorService113
      Throws:
      jpos.JposException
    • getCapPitch

      public boolean getCapPitch() throws jpos.JposException
      Specified by:
      getCapPitch in interface jpos.services.ToneIndicatorService12
      Throws:
      jpos.JposException
    • getCapVolume

      public boolean getCapVolume() throws jpos.JposException
      Specified by:
      getCapVolume in interface jpos.services.ToneIndicatorService12
      Throws:
      jpos.JposException
    • getInterToneWait

      public int getInterToneWait() throws jpos.JposException
      Specified by:
      getInterToneWait in interface jpos.services.ToneIndicatorService12
      Throws:
      jpos.JposException
    • setInterToneWait

      public void setInterToneWait(int i) throws jpos.JposException
      Specified by:
      setInterToneWait in interface jpos.services.ToneIndicatorService12
      Throws:
      jpos.JposException
    • getTone1Duration

      public int getTone1Duration() throws jpos.JposException
      Specified by:
      getTone1Duration in interface jpos.services.ToneIndicatorService12
      Throws:
      jpos.JposException
    • setTone1Duration

      public void setTone1Duration(int i) throws jpos.JposException
      Specified by:
      setTone1Duration in interface jpos.services.ToneIndicatorService12
      Throws:
      jpos.JposException
    • getTone1Pitch

      public int getTone1Pitch() throws jpos.JposException
      Specified by:
      getTone1Pitch in interface jpos.services.ToneIndicatorService12
      Throws:
      jpos.JposException
    • setTone1Pitch

      public void setTone1Pitch(int i) throws jpos.JposException
      Specified by:
      setTone1Pitch in interface jpos.services.ToneIndicatorService12
      Throws:
      jpos.JposException
    • getTone1Volume

      public int getTone1Volume() throws jpos.JposException
      Specified by:
      getTone1Volume in interface jpos.services.ToneIndicatorService12
      Throws:
      jpos.JposException
    • setTone1Volume

      public void setTone1Volume(int i) throws jpos.JposException
      Specified by:
      setTone1Volume in interface jpos.services.ToneIndicatorService12
      Throws:
      jpos.JposException
    • getTone2Duration

      public int getTone2Duration() throws jpos.JposException
      Specified by:
      getTone2Duration in interface jpos.services.ToneIndicatorService12
      Throws:
      jpos.JposException
    • setTone2Duration

      public void setTone2Duration(int i) throws jpos.JposException
      Specified by:
      setTone2Duration in interface jpos.services.ToneIndicatorService12
      Throws:
      jpos.JposException
    • getTone2Pitch

      public int getTone2Pitch() throws jpos.JposException
      Specified by:
      getTone2Pitch in interface jpos.services.ToneIndicatorService12
      Throws:
      jpos.JposException
    • setTone2Pitch

      public void setTone2Pitch(int i) throws jpos.JposException
      Specified by:
      setTone2Pitch in interface jpos.services.ToneIndicatorService12
      Throws:
      jpos.JposException
    • getTone2Volume

      public int getTone2Volume() throws jpos.JposException
      Specified by:
      getTone2Volume in interface jpos.services.ToneIndicatorService12
      Throws:
      jpos.JposException
    • setTone2Volume

      public void setTone2Volume(int i) throws jpos.JposException
      Specified by:
      setTone2Volume in interface jpos.services.ToneIndicatorService12
      Throws:
      jpos.JposException
    • sound

      public void sound(int numberOfCycles, int interSoundWait) throws jpos.JposException
      Specified by:
      sound in interface jpos.services.ToneIndicatorService12
      Throws:
      jpos.JposException
    • soundImmediate

      public void soundImmediate() throws jpos.JposException
      Specified by:
      soundImmediate in interface jpos.services.ToneIndicatorService12
      Throws:
      jpos.JposException