|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectupnp.device.model.BrisaAction
public class BrisaAction
class Brisa::BrisaAction brisaaction.h BrisaUpnp/BrisaAction \brief Template method class that represents each service's action. If any of the returned output arguments is not defined in the service description file, BrisaAction will show an error message at the debug output stream and send an error message to the control point.
Constructor Summary | |
---|---|
BrisaAction()
|
|
BrisaAction(java.lang.String name)
|
|
BrisaAction(java.lang.String name,
BrisaService service)
|
Method Summary | |
---|---|
void |
addArgument(BrisaArgument argument)
Adds given \a argument to this action's list of arguments. |
void |
addArgument(java.lang.String name,
java.lang.String direction,
java.lang.String relatedStateVariable)
Adds an argument with given \a name, \a direction and \a relatedStateVariable to this action's list of arguments. |
void |
addArguments(java.util.ArrayList<BrisaArgument> arguments)
Adds given list of \a arguments to this action's list of arguments. |
boolean |
call(BrisaArgument inArguments,
BrisaArgument outArguments)
|
void |
clearArgumentList()
Clears this action's argument list. |
java.util.ArrayList<BrisaArgument> |
getArgumentList()
Returns this action's list of arguments. |
BrisaArgument |
getInArgument(java.lang.String name)
Returns the related input argument with the given \a name. |
java.lang.reflect.Method |
getMethod()
! |
java.lang.String |
getName()
|
BrisaArgument |
getOutArgument(java.lang.String name)
Returns the related output argument with the given \a name. |
BrisaService |
getService()
|
BrisaStateVariable |
getStateVariable(java.lang.String name)
Returns the related service's state variable with the given \a name. |
boolean |
removeArgument(BrisaArgument argument)
Remove given \a argument from this action's list of arguments. |
void |
setArgumentList(java.util.ArrayList<BrisaArgument> argumentList)
|
void |
setMethod(java.lang.reflect.Method method,
BrisaService service)
Sets the method to be invoked when the action is executed. |
void |
setName(java.lang.String name)
|
void |
setService(BrisaService service)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BrisaAction(java.lang.String name, BrisaService service)
public BrisaAction(java.lang.String name)
public BrisaAction()
Method Detail |
---|
public java.lang.String getName()
public void setName(java.lang.String name)
public BrisaService getService()
public void setService(BrisaService service)
public void setArgumentList(java.util.ArrayList<BrisaArgument> argumentList)
public java.util.ArrayList<BrisaArgument> getArgumentList()
public void addArgument(java.lang.String name, java.lang.String direction, java.lang.String relatedStateVariable)
public void addArgument(BrisaArgument argument)
public void addArguments(java.util.ArrayList<BrisaArgument> arguments)
public void clearArgumentList()
public boolean removeArgument(BrisaArgument argument)
public boolean call(BrisaArgument inArguments, BrisaArgument outArguments)
public BrisaStateVariable getStateVariable(java.lang.String name)
public void setMethod(java.lang.reflect.Method method, BrisaService service)
public java.lang.reflect.Method getMethod()
public BrisaArgument getInArgument(java.lang.String name)
public BrisaArgument getOutArgument(java.lang.String name)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |