X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fprotocol_plugins%2Fopenflow%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fprotocol_plugin%2Fopenflow%2Fcore%2Finternal%2FMessageReadWriteService.java;h=da7735d4c59a9c086f5ec688612999c28a71b8fa;hb=refs%2Fchanges%2F74%2F2274%2F2;hp=fc2e0ee324b2cc4934a1f4181988cf674d6bebc1;hpb=eb9e1983a0fce7e4a381eff33e40cae957cddf53;p=controller.git diff --git a/opendaylight/protocol_plugins/openflow/src/main/java/org/opendaylight/controller/protocol_plugin/openflow/core/internal/MessageReadWriteService.java b/opendaylight/protocol_plugins/openflow/src/main/java/org/opendaylight/controller/protocol_plugin/openflow/core/internal/MessageReadWriteService.java index fc2e0ee324..da7735d4c5 100644 --- a/opendaylight/protocol_plugins/openflow/src/main/java/org/opendaylight/controller/protocol_plugin/openflow/core/internal/MessageReadWriteService.java +++ b/opendaylight/protocol_plugins/openflow/src/main/java/org/opendaylight/controller/protocol_plugin/openflow/core/internal/MessageReadWriteService.java @@ -8,7 +8,6 @@ package org.opendaylight.controller.protocol_plugin.openflow.core.internal; -import java.io.IOException; import java.nio.ByteBuffer; import java.nio.channels.AsynchronousCloseException; import java.nio.channels.ClosedChannelException; @@ -58,7 +57,7 @@ public class MessageReadWriteService implements IMessageReadWrite { * @throws Exception */ @Override - public void asyncSend(OFMessage msg) throws IOException { + public void asyncSend(OFMessage msg) throws Exception { synchronized (outBuffer) { int msgLen = msg.getLengthU(); if (outBuffer.remaining() < msgLen) { @@ -94,7 +93,7 @@ public class MessageReadWriteService implements IMessageReadWrite { * @throws Exception */ @Override - public void resumeSend() throws IOException { + public void resumeSend() throws Exception { synchronized (outBuffer) { if (!socket.isOpen()) { return; @@ -121,7 +120,7 @@ public class MessageReadWriteService implements IMessageReadWrite { * @throws Exception */ @Override - public List readMessages() throws IOException { + public List readMessages() throws Exception { if (!socket.isOpen()) { return null; }