Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.teleal.cling.controlpoint
Class ActionCallback.Default

    java.lang.Object
      org.teleal.cling.controlpoint.ActionCallback
          org.teleal.cling.controlpoint.ActionCallback.Default

All Implemented Interfaces:
  Runnable

Enclosing class:
  ActionCallback

    public static final class ActionCallback.Default

extends ActionCallback

Nested Class Summary

Nested classes/interfaces inherited from class org.teleal.cling.controlpoint.ActionCallback
`ActionCallback.Default`

Field Summary

Fields inherited from class org.teleal.cling.controlpoint.ActionCallback
`actionInvocation, controlPoint`

Constructor Summary
`ActionCallback.Default(ActionInvocation actionInvocation)`
`ActionCallback.Default(ActionInvocation actionInvocation, ControlPoint controlPoint)`

Method Summary
`void` | `failure(ActionInvocation invocation, UpnpResponse operation)` Called when the action invocation failed.
`void` | `success(ActionInvocation invocation)`

Methods inherited from class org.teleal.cling.controlpoint.ActionCallback
`createDefaultFailureMessage, getActionInvocation, getControlPoint, run, setControlPoint, toString`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### ActionCallback.Default

    public ActionCallback.Default(ActionInvocation actionInvocation,
                                  ControlPoint controlPoint)

### ActionCallback.Default

    public ActionCallback.Default(ActionInvocation actionInvocation)

Method Detail

### success

    public void success(ActionInvocation invocation)

  Specified by:
    `success` in class `ActionCallback`

### failure

    public void failure(ActionInvocation invocation,
                        UpnpResponse operation)

  Description copied from class: `ActionCallback`
  Called when the action invocation failed.

  Use the convenience method `ActionCallback.createDefaultFailureMessage(org.teleal.cling.model.action.ActionInvocation, org.teleal.cling.model.message.UpnpResponse)` to render a simple error message.

  Specified by:
    `failure` in class `ActionCallback`
  Parameters:
    `invocation` - The failed invocation, call its `getFailure()` method for more details.
    `operation` - If the invocation was on a remote service, the response message, otherwise null.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2010 Teleal GmbH, Switzerland. All Rights Reserved.