X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fprotocol_plugins%2Fopenflow%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fprotocol_plugin%2Fopenflow%2Fcore%2FIMessageReadWrite.java;h=8fb9a6acb8a2c498533ce15db5161af7a28d6562;hp=ce91e1f2750ce1343ecac5d39488b2b9993a9c31;hb=refs%2Fchanges%2F49%2F449%2F1;hpb=541d0a36997f292bb037a2199463431eee538358 diff --git a/opendaylight/protocol_plugins/openflow/src/main/java/org/opendaylight/controller/protocol_plugin/openflow/core/IMessageReadWrite.java b/opendaylight/protocol_plugins/openflow/src/main/java/org/opendaylight/controller/protocol_plugin/openflow/core/IMessageReadWrite.java index ce91e1f275..8fb9a6acb8 100644 --- a/opendaylight/protocol_plugins/openflow/src/main/java/org/opendaylight/controller/protocol_plugin/openflow/core/IMessageReadWrite.java +++ b/opendaylight/protocol_plugins/openflow/src/main/java/org/opendaylight/controller/protocol_plugin/openflow/core/IMessageReadWrite.java @@ -19,35 +19,35 @@ import org.openflow.protocol.OFMessage; * encryption and decryption of the network data. */ public interface IMessageReadWrite { - /** - * Sends the OF message out over the socket channel. For secure - * communication, the data will be encrypted. - * - * @param msg OF message to be sent - * @throws Exception - */ - public void asyncSend(OFMessage msg) throws Exception; - - /** - * Resumes sending the remaining messages in the outgoing buffer - * @throws Exception - */ - public void resumeSend() throws Exception; - - /** - * Reads the incoming network data from the socket and retrieves the OF - * messages. For secure communication, the data will be decrypted first. - * - * @return list of OF messages - * @throws Exception - */ + /** + * Sends the OF message out over the socket channel. For secure + * communication, the data will be encrypted. + * + * @param msg OF message to be sent + * @throws Exception + */ + public void asyncSend(OFMessage msg) throws Exception; + + /** + * Resumes sending the remaining messages in the outgoing buffer + * @throws Exception + */ + public void resumeSend() throws Exception; + + /** + * Reads the incoming network data from the socket and retrieves the OF + * messages. For secure communication, the data will be decrypted first. + * + * @return list of OF messages + * @throws Exception + */ public List readMessages() throws Exception; - - /** - * Proper clean up when the switch connection is closed - * - * @return - * @throws Exception - */ + + /** + * Proper clean up when the switch connection is closed + * + * @return + * @throws Exception + */ public void stop() throws Exception; }