summaryrefslogtreecommitdiffstats
path: root/vespajlib/src/main/java/com/yahoo/io/WritableByteTransmitter.java
blob: a7a6a9a1410dc64146ec701c2e99a0d9efe531a3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
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;
}