Class AbstractMultipartRequestCallback<T extends OfHeader>

java.lang.Object
org.opendaylight.openflowplugin.impl.services.AbstractRequestCallback<List<T>>
org.opendaylight.openflowplugin.impl.services.AbstractMultipartRequestCallback<T>
All Implemented Interfaces:
com.google.common.util.concurrent.FutureCallback<OfHeader>
Direct Known Subclasses:
AbstractMultipartRequestOnTheFlyCallback, MultiLayerMultipartRequestCallback, SingleLayerMultipartRequestCallback

public abstract class AbstractMultipartRequestCallback<T extends OfHeader> extends AbstractRequestCallback<List<T>>
  • Constructor Details

  • Method Details

    • onSuccess

      public void onSuccess(OfHeader result)
    • isMultipart

      protected abstract boolean isMultipart(OfHeader result)
      Check if result is multipart.
      Parameters:
      result - result
      Returns:
      true if result is multipart
    • isReqMore

      protected abstract boolean isReqMore(T result)
      Check if result requests more multiparts.
      Parameters:
      result - result
      Returns:
      true if result requests more multiparts