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