use of org.opendaylight.openflowjava.protocol.impl.core.connection.UdpMessageListenerWrapper in project openflowplugin by opendaylight.
the class OFDatagramPacketEncoderTest method startUp.
/**
* Initializes mocks and other objects.
*
* @param version openflow protocol wire version
*/
public void startUp(Short version) {
MockitoAnnotations.initMocks(this);
out = new ArrayList<>();
HelloInputBuilder builder = new HelloInputBuilder();
builder.setVersion(version);
HelloInput hello = builder.build();
wrapper = new UdpMessageListenerWrapper(hello, listener, address);
}
Aggregations