Madan Jampani | 4a9cb6d | 2014-10-17 10:48:50 -0700 | [diff] [blame] | 1 | package org.onlab.onos.store.cluster.messaging; |
2 | |||||
3 | import java.util.concurrent.TimeUnit; | ||||
4 | import java.util.concurrent.TimeoutException; | ||||
5 | |||||
6 | import org.onlab.onos.cluster.NodeId; | ||||
7 | |||||
8 | public interface ClusterMessageResponse { | ||||
9 | public NodeId sender(); | ||||
10 | public byte[] get(long timeout, TimeUnit timeunit) throws TimeoutException; | ||||
11 | public byte[] get(long timeout) throws InterruptedException; | ||||
12 | } |