Doh!!!! Reverting an experiment that was accidentally checked in.
Showing
1 changed file
with
1 additions
and
3 deletions
... | @@ -24,8 +24,6 @@ import org.projectfloodlight.openflow.types.*; | ... | @@ -24,8 +24,6 @@ import org.projectfloodlight.openflow.types.*; |
24 | import org.projectfloodlight.openflow.util.*; | 24 | import org.projectfloodlight.openflow.util.*; |
25 | import org.projectfloodlight.openflow.exceptions.*; | 25 | import org.projectfloodlight.openflow.exceptions.*; |
26 | import org.jboss.netty.buffer.ChannelBuffer; | 26 | import org.jboss.netty.buffer.ChannelBuffer; |
27 | - | ||
28 | -import java.nio.ByteBuffer; | ||
29 | import java.util.Set; | 27 | import java.util.Set; |
30 | 28 | ||
31 | abstract class OFActionBsnVer13 { | 29 | abstract class OFActionBsnVer13 { |
... | @@ -38,7 +36,7 @@ abstract class OFActionBsnVer13 { | ... | @@ -38,7 +36,7 @@ abstract class OFActionBsnVer13 { |
38 | 36 | ||
39 | static class Reader implements OFMessageReader<OFActionBsn> { | 37 | static class Reader implements OFMessageReader<OFActionBsn> { |
40 | @Override | 38 | @Override |
41 | - public OFActionBsn readFrom(ByteBuffer bb) throws OFParseError { | 39 | + public OFActionBsn readFrom(ChannelBuffer bb) throws OFParseError { |
42 | if(bb.readableBytes() < MINIMUM_LENGTH) | 40 | if(bb.readableBytes() < MINIMUM_LENGTH) |
43 | return null; | 41 | return null; |
44 | int start = bb.readerIndex(); | 42 | int start = bb.readerIndex(); | ... | ... |
-
Please register or login to post a comment