Message.java 246 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 package org.onlab.nio; /** * Representation of a message transferred via {@link MessageStream}. */ public interface Message { /** * Gets the message length in bytes. * * @return number of bytes */ int length(); }