forked from aeraki-mesh/meta-protocol-proxy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.h
24 lines (20 loc) · 735 Bytes
/
config.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#pragma once
#include "src/meta_protocol_proxy/codec/factory.h"
#include "src/application_protocols/dubbo/dubbo_codec.pb.h"
#include "src/application_protocols/dubbo/dubbo_codec.pb.validate.h"
namespace Envoy {
namespace Extensions {
namespace NetworkFilters {
namespace MetaProtocolProxy {
namespace Dubbo {
class DubboCodecConfig
: public MetaProtocolProxy::CodecFactoryBase<aeraki::meta_protocol::codec::DubboCodec> {
public:
DubboCodecConfig() : CodecFactoryBase("aeraki.meta_protocol.codec.dubbo") {}
MetaProtocolProxy::CodecPtr createCodec(const Protobuf::Message& config) override;
};
} // namespace Dubbo
} // namespace MetaProtocolProxy
} // namespace NetworkFilters
} // namespace Extensions
} // namespace Envoy