net.hurstfrost.santa.web
Class SantaServlet
java.lang.Object
com.caucho.services.server.GenericService
com.caucho.burlap.server.BurlapServlet
net.hurstfrost.santa.web.SantaServlet
- All Implemented Interfaces:
- com.caucho.services.server.Service, javax.servlet.Servlet, net.hurstfrost.santa.control.SantaControlService, net.hurstfrost.santa.control.SantaSoundService
public class SantaServlet
- extends com.caucho.burlap.server.BurlapServlet
- implements net.hurstfrost.santa.control.SantaControlService, net.hurstfrost.santa.control.SantaSoundService
| Fields inherited from class com.caucho.services.server.GenericService |
_config, _objectId, _request, _serviceId |
| Methods inherited from class com.caucho.burlap.server.BurlapServlet |
getServletInfo, init, setService |
| Methods inherited from class com.caucho.services.server.GenericService |
destroy, getInitParameter, getObjectId, getRequest, getServiceId, getServletConfig, getServletContext, log, setRequestObject |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.servlet.Servlet |
destroy, getServletConfig |
SantaServlet
public SantaServlet()
init
public void init()
throws javax.servlet.ServletException
- Overrides:
init in class com.caucho.services.server.GenericService
- Throws:
javax.servlet.ServletException
service
public void service(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response)
throws java.io.IOException,
javax.servlet.ServletException
- Specified by:
service in interface javax.servlet.Servlet- Overrides:
service in class com.caucho.burlap.server.BurlapServlet
- Throws:
java.io.IOException
javax.servlet.ServletException
closeMouth
public void closeMouth()
- Specified by:
closeMouth in interface net.hurstfrost.santa.control.SantaControlService
faceForward
public void faceForward()
- Specified by:
faceForward in interface net.hurstfrost.santa.control.SantaControlService
faceLeft
public void faceLeft()
- Specified by:
faceLeft in interface net.hurstfrost.santa.control.SantaControlService
faceRight
public void faceRight()
- Specified by:
faceRight in interface net.hurstfrost.santa.control.SantaControlService
openMouth
public void openMouth()
- Specified by:
openMouth in interface net.hurstfrost.santa.control.SantaControlService
turnLeft
public void turnLeft()
- Specified by:
turnLeft in interface net.hurstfrost.santa.control.SantaControlService
turnRight
public void turnRight()
- Specified by:
turnRight in interface net.hurstfrost.santa.control.SantaControlService
turnStop
public void turnStop()
- Specified by:
turnStop in interface net.hurstfrost.santa.control.SantaControlService
wiggleStart
public void wiggleStart()
- Specified by:
wiggleStart in interface net.hurstfrost.santa.control.SantaControlService
wiggleStop
public void wiggleStop()
- Specified by:
wiggleStop in interface net.hurstfrost.santa.control.SantaControlService
speak
public void speak(java.lang.String text)
- Specified by:
speak in interface net.hurstfrost.santa.control.SantaSoundService
speak
public void speak(java.lang.String text,
boolean priveight,
java.lang.String voiceId)
- Specified by:
speak in interface net.hurstfrost.santa.control.SantaSoundService
getVoices
public java.util.List<net.hurstfrost.santa.sound.SantaVoice> getVoices()
- Specified by:
getVoices in interface net.hurstfrost.santa.control.SantaSoundService
getSounds
public java.util.List<java.lang.String> getSounds(java.lang.String query)
- Specified by:
getSounds in interface net.hurstfrost.santa.control.SantaSoundService
play
public void play(java.lang.String soundBite)
- Specified by:
play in interface net.hurstfrost.santa.control.SantaSoundService
addSoundBite
public void addSoundBite(byte[] audioData,
java.lang.String filename,
java.lang.String[] tags)
throws net.hurstfrost.santa.sound.SoundBiteException
- Specified by:
addSoundBite in interface net.hurstfrost.santa.control.SantaSoundService
- Throws:
net.hurstfrost.santa.sound.SoundBiteException
Copyright © 2009. All Rights Reserved.