Class AbstractService<I,O>

java.lang.Object
org.opendaylight.openflowplugin.impl.services.AbstractService<I,O>
Direct Known Subclasses:
AbstractMultipartService, AbstractSimpleService, AbstractVoidService

public abstract class AbstractService<I,O> extends Object
  • Method Details

    • canUseSingleLayerSerialization

      public boolean canUseSingleLayerSerialization()
    • getEventIdentifier

      public EventIdentifier getEventIdentifier()
    • setEventIdentifier

      public void setEventIdentifier(EventIdentifier eventIdentifier)
    • getVersion

      public final org.opendaylight.yangtools.yang.common.Uint8 getVersion()
    • getDatapathId

      public final org.opendaylight.yangtools.yang.common.Uint64 getDatapathId()
    • getRequestContextStack

      public RequestContextStack getRequestContextStack()
    • getDeviceContext

      @Deprecated public DeviceContext getDeviceContext()
      Deprecated.
    • getDeviceRegistry

      public DeviceRegistry getDeviceRegistry()
    • getDeviceInfo

      public DeviceInfo getDeviceInfo()
    • getTxFacade

      public TxFacade getTxFacade()
    • getMessageSpy

      public MessageSpy getMessageSpy()
    • buildRequest

      protected abstract OfHeader buildRequest(Xid xid, I input) throws ServiceException
      Throws:
      ServiceException
    • createCallback

      protected abstract com.google.common.util.concurrent.FutureCallback<OfHeader> createCallback(RequestContext<O> context, Class<?> requestType)
    • handleServiceCall

      public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<O>> handleServiceCall(@NonNull I input)
    • handleServiceCall

      public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<O>> handleServiceCall(@NonNull I input, @Nullable Function<OfHeader,Boolean> isComplete)