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

/**
 * For use with the BufferChain data store.
 *
 * @author Steinar Knutsen
 */
public interface WritableByteTransmitter {
    void send(ByteBuffer src) throws IOException;
}