diff options
Diffstat (limited to 'vespajlib/src/main/java/com/yahoo/io/WritableByteTransmitter.java')
-rw-r--r-- | vespajlib/src/main/java/com/yahoo/io/WritableByteTransmitter.java | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/vespajlib/src/main/java/com/yahoo/io/WritableByteTransmitter.java b/vespajlib/src/main/java/com/yahoo/io/WritableByteTransmitter.java new file mode 100644 index 00000000000..a7a6a9a1410 --- /dev/null +++ b/vespajlib/src/main/java/com/yahoo/io/WritableByteTransmitter.java @@ -0,0 +1,14 @@ +// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. +package com.yahoo.io; + +import java.io.IOException; +import java.nio.ByteBuffer; + +/** + * Marker interface for use with the BufferChain data store. + * + * @author <a href="mailto:steinar@yahoo-inc.com">Steinar Knutsen</a> + */ +public interface WritableByteTransmitter { + public void send(ByteBuffer src) throws IOException; +} |