Package org.silverpeas.mobile.client.common.network

## Class MethodCallbackOnlineOnly<T>

- java.lang.Object
- - org.silverpeas.mobile.client.common.network.MethodCallbackOnlineOnly<T>

- All Implemented Interfaces:
    `org.fusesource.restygwt.client.MethodCallback<T>`

      public abstract class MethodCallbackOnlineOnly<T>
      extends Object
      implements org.fusesource.restygwt.client.MethodCallback<T>

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `MethodCallbackOnlineOnly()` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `attempt()` |
    `void` | `onFailure​(org.fusesource.restygwt.client.Method method, Throwable t)` |
    `void` | `onSuccess​(org.fusesource.restygwt.client.Method method, T t)` |
    `void` | `setRelogin​(boolean relogin)` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### MethodCallbackOnlineOnly

          public MethodCallbackOnlineOnly()

  - ### Method Detail

    - #### attempt

          public void attempt()

    - #### setRelogin

          public void setRelogin​(boolean relogin)

    - #### onFailure

          public void onFailure​(org.fusesource.restygwt.client.Method method,
                                Throwable t)

      Specified by:
        `onFailure` in interface `org.fusesource.restygwt.client.MethodCallback<T>`

    - #### onSuccess

          public void onSuccess​(org.fusesource.restygwt.client.Method method,
                                T t)

      Specified by:
        `onSuccess` in interface `org.fusesource.restygwt.client.MethodCallback<T>`