edu.washington.cs.sounddetector.server.api
Class MethodLogic
java.lang.Object
edu.washington.cs.sounddetector.server.api.MethodLogic
public class MethodLogic
- extends Object
MethodLogic provides a convenience method for executing Method objects.
- Author:
- the.dylan.price@gmail.com
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MethodLogic
public MethodLogic(ReadLogic rl,
WriteLogic wl,
DeleteLogic dl)
execute
public MethodResult<? extends Method> execute(Method method)
throws SoundDetectorInternalErrorException
- Executes the given method and returns the result.
- Parameters:
method
- the method to execute
- Returns:
- the MethodResult corresponding to the result of execution
- Throws:
SoundDetectorInternalErrorException
- if an internal server error occurred
Copyright © 2012. All Rights Reserved.