aboutsummaryrefslogtreecommitdiffstats
path: root/fnet/src/vespa/fnet/frt/isharedblob.h
blob: 65a6dfbf140b6744e563de0291c6b5e522c77883 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright Vespa.ai. 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() {}
};