import com.google.common.util.concurrent.ListenableFuture;
import io.netty.util.Timeout;
-import java.math.BigInteger;
import java.util.List;
import javax.annotation.Nonnull;
import org.opendaylight.controller.md.sal.binding.api.NotificationPublishService;
RequestContextStack,
ContextChainStateListener {
- /**
- * Method close all auxiliary connections and primary connection.
- */
- void shutdownConnection();
-
- /**
- * Method add auxiliary connection contexts to this context representing single device connection.
- * @param connectionContext new connection context
- */
- void addAuxiliaryConnectionContext(ConnectionContext connectionContext);
-
- /**
- * Method removes auxiliary connection context from this context representing single device connection.
- * @param connectionContext connection which need to be removed
- */
- void removeAuxiliaryConnectionContext(ConnectionContext connectionContext);
-
/**
* Method provides state of device represented by this device context.
*
*/
DeviceState getDeviceState();
- /**
- * Method has to close TxManager ASAP we are notified about Closed Connection.
- * @return sync. future for Slave and MD-SAL completition for Master
- */
- ListenableFuture<Void> shuttingDownDataStoreTransactions();
-
/**
* Getter.
* @return current devices connection context
*/
ConnectionContext getPrimaryConnectionContext();
- /**
- * Getter.
- * @return current devices auxiliary connection contexts
- */
- ConnectionContext getAuxiliaryConnectionContexts(BigInteger cookie);
-
-
/**
* Getter.
* @return translator library
MessageSpy getMessageSpy();
- <T extends OfHeader> MultiMsgCollector<T> getMultiMsgCollector(final RequestContext<List<T>> requestContext);
+ <T extends OfHeader> MultiMsgCollector<T> getMultiMsgCollector(RequestContext<List<T>> requestContext);
/**
* indicates that device context is fully published (e.g.: packetIn messages should be passed).
void setSwitchFeaturesMandatory(boolean switchFeaturesMandatory);
- boolean isSkipTableFeatures();
-
/**
* Setter for sal role service.
* @param salRoleService Role Service
*/
- void setSalRoleService(@Nonnull final SalRoleService salRoleService);
+ void setSalRoleService(@Nonnull SalRoleService salRoleService);
/**
* Make device slave.