bbc254ca0074cc9e418c5541f976d000074cf0b1
[controller.git] / third-party / openflowj_netty / src / test / java / org / openflow / protocol / action / MockVendorActionFactory.java
1 package org.openflow.protocol.action;
2
3 import org.jboss.netty.buffer.ChannelBuffer;
4 import org.openflow.protocol.factory.OFVendorActionFactory;
5
6 public class MockVendorActionFactory implements OFVendorActionFactory {
7
8     @Override
9     public OFActionVendor readFrom(ChannelBuffer data) {
10         MockVendorAction action = new MockVendorAction();
11         action.readFrom(data);
12         return action;
13     }
14
15 }