Madan Jampani | c9ed9be | 2014-10-02 16:13:11 -0700 | [diff] [blame] | 1 | package org.onlab.netty; |
Madan Jampani | 890bc35 | 2014-10-01 22:35:29 -0700 | [diff] [blame] | 2 | |
3 | import java.io.IOException; | ||||
4 | |||||
5 | /** | ||||
6 | * Handler for a message. | ||||
7 | */ | ||||
8 | public interface MessageHandler { | ||||
9 | |||||
10 | /** | ||||
11 | * Handles the message. | ||||
12 | * @param message message. | ||||
13 | * @throws IOException. | ||||
14 | */ | ||||
15 | public void handle(Message message) throws IOException; | ||||
16 | } |