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 Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected abstract OfHeader
buildRequest(Xid xid, I input)
boolean
canUseSingleLayerSerialization()
protected abstract com.google.common.util.concurrent.FutureCallback<OfHeader>
createCallback(RequestContext<O> context, Class<?> requestType)
org.opendaylight.yangtools.yang.common.Uint64
getDatapathId()
DeviceContext
getDeviceContext()
Deprecated.DeviceInfo
getDeviceInfo()
DeviceRegistry
getDeviceRegistry()
EventIdentifier
getEventIdentifier()
MessageSpy
getMessageSpy()
RequestContextStack
getRequestContextStack()
TxFacade
getTxFacade()
org.opendaylight.yangtools.yang.common.Uint8
getVersion()
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<O>>
handleServiceCall(@NonNull I input)
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<O>>
handleServiceCall(@NonNull I input, @Nullable Function<OfHeader,Boolean> isComplete)
void
setEventIdentifier(EventIdentifier eventIdentifier)
-
-
-
Method Detail
-
canUseSingleLayerSerialization
public boolean canUseSingleLayerSerialization()
-
getEventIdentifier
public EventIdentifier getEventIdentifier()
-
setEventIdentifier
public void setEventIdentifier(EventIdentifier eventIdentifier)
-
getVersion
public org.opendaylight.yangtools.yang.common.Uint8 getVersion()
-
getDatapathId
public 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)
-
-