aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/eventlog/common.h
blob: 75c512c13ef7fb0526bb31e390f5b026db548e08 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#pragma once

template <class T>
class TPacketInputStream {
public:
    virtual bool Avail() const = 0;
    virtual T operator*() const = 0;
    virtual bool Next() = 0;
    virtual ~TPacketInputStream() = default;
};