Madan Jampani | ab6d311 | 2014-10-02 16:30:14 -0700 | [diff] [blame] | 1 | package org.onlab.netty; |
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 | } |