private boolean autoRead = true;
private final ExecutorService pool;
+ private boolean packetInFiltering;
/**
this.autoRead = autoRead;
}
+ @Override
+ public void setPacketInFiltering(boolean packetInFiltering) {
+ this.packetInFiltering = packetInFiltering;
+ }
}
import java.util.Map.Entry;
import java.util.Set;
import java.util.concurrent.Future;
-
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
/**
* Test barrier message for null cookie
- *
+ *
* @throws Exception
*/
@Test
/**
* Test packet out message for primary connection
- *
+ *
* @throws Exception
*/
@Test
/**
* Test packet out message for auxiliary connection
- *
+ *
* @throws Exception
*/
@Test
/**
* Test packet out message when multiple auxiliary connection exist
- *
+ *
* @throws Exception
*/
@Test
/**
* Test for invalid session
- *
+ *
* @throws Exception
*/
@Test
private MessageType messageType;
private ConnectionReadyListener connectionReadyListener;
+ private boolean packetInFiltering;
public MockConnectionAdapter() {
setMessageType(MessageType.NONE);
/*
* (non-Javadoc)
- *
+ *
* @see
* org.opendaylight.openflowjava.protocol.api.connection.ConnectionAdapter
* #getRemoteAddress()
// TODO Auto-generated method stub
}
+
+ @Override
+ public void setPacketInFiltering(boolean packetInFiltering) {
+ this.packetInFiltering = packetInFiltering;
+ }
}