Package org.jupnp.controlpoint
Klasse ActionCallback.Default
java.lang.Object
org.jupnp.controlpoint.ActionCallback
org.jupnp.controlpoint.ActionCallback.Default
- Alle implementierten Schnittstellen:
Runnable
- Umschließende Klasse:
ActionCallback
Empty implementation of callback methods, simplifies synchronous
execution of an
ActionInvocation.-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen org.jupnp.controlpoint.ActionCallback
ActionCallback.Default -
Feldübersicht
Von Klasse geerbte Felder org.jupnp.controlpoint.ActionCallback
actionInvocation, controlPoint -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidfailure(ActionInvocation invocation, UpnpResponse operation, String defaultMsg) Called when the action invocation failed.voidsuccess(ActionInvocation invocation) Called when the action invocation succeeded.Von Klasse geerbte Methoden org.jupnp.controlpoint.ActionCallback
createDefaultFailureMessage, failure, getActionInvocation, getControlPoint, run, setControlPoint, toString
-
Konstruktordetails
-
Default
-
-
Methodendetails
-
success
Beschreibung aus Klasse kopiert:ActionCallbackCalled when the action invocation succeeded.- Angegeben von:
successin KlasseActionCallback- Parameter:
invocation- The successful invocation, call itsgetOutput()method for results.
-
failure
Beschreibung aus Klasse kopiert:ActionCallbackCalled when the action invocation failed.- Angegeben von:
failurein KlasseActionCallback- Parameter:
invocation- The failed invocation, call itsgetFailure()method for more details.operation- If the invocation was on a remote service, the response message, otherwise null.defaultMsg- A user-friendly error message generated from the invocation exception and response.- Siehe auch:
-