Constructor and Description |
---|
OFRpcTask(OFRpcTaskContext taskContext,
SwitchConnectionDistinguisher cookie,
T input) |
Modifier and Type | Method and Description |
---|---|
SwitchConnectionDistinguisher |
getCookie() |
T |
getInput() |
long |
getMaxTimeout() |
TimeUnit |
getMaxTimeoutUnit() |
IMessageDispatchService |
getMessageService() |
org.opendaylight.controller.sal.binding.api.NotificationProviderService |
getRpcNotificationProviderService() |
SessionContext |
getSession() |
OFRpcTaskContext |
getTaskContext() |
Short |
getVersion() |
Boolean |
isBarrier() |
void |
setCookie(SwitchConnectionDistinguisher cookie) |
void |
setInput(T input) |
com.google.common.util.concurrent.ListenableFuture<K> |
submit()
submit task into rpc worker pool
|
public OFRpcTask(OFRpcTaskContext taskContext, SwitchConnectionDistinguisher cookie, T input)
taskContext
- rpc task contextinput
- task inputcookie
- switch connection distinguisher cookie valuepublic SwitchConnectionDistinguisher getCookie()
public void setCookie(SwitchConnectionDistinguisher cookie)
cookie
- the cookie to setpublic T getInput()
public void setInput(T input)
input
- the input to setpublic org.opendaylight.controller.sal.binding.api.NotificationProviderService getRpcNotificationProviderService()
public IMessageDispatchService getMessageService()
OFRpcTaskContext.getMessageService()
public SessionContext getSession()
OFRpcTaskContext.getSession()
public long getMaxTimeout()
OFRpcTaskContext.getMaxTimeout()
public TimeUnit getMaxTimeoutUnit()
OFRpcTaskContext.getMaxTimeoutUnit()
public Short getVersion()
public OFRpcTaskContext getTaskContext()
public com.google.common.util.concurrent.ListenableFuture<K> submit()
public Boolean isBarrier()
Copyright © 2018 OpenDaylight. All rights reserved.