aboutsummaryrefslogtreecommitdiffstats
path: root/fnet/src/vespa/fnet/frt/isharedblob.h
blob: 39e2986ab3e8e625c9f84047100a2f870c6b01ba (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.

#pragma once

#include <cstdint>

class FRT_ISharedBlob
{
public:
    virtual void addRef() = 0;
    virtual void subRef() = 0;
    virtual uint32_t getLen() = 0;
    virtual const char *getData() = 0;
protected:
    virtual ~FRT_ISharedBlob() {}
};