Skip to main content

ids_apis/
kdo.v1.system.rs

1// @generated
2// This file is @generated by prost-build.
3#[allow(clippy::derive_partial_eq_without_eq)]
4#[derive(Clone, Copy, PartialEq, ::prost::Message)]
5pub struct GetConnectionInfoRequest {
6}
7#[allow(clippy::derive_partial_eq_without_eq)]
8#[derive(Clone, Copy, PartialEq, ::prost::Message)]
9pub struct GetVersionInfoRequest {
10}
11#[allow(clippy::derive_partial_eq_without_eq)]
12#[derive(Clone, PartialEq, ::prost::Message)]
13pub struct GetVersionInfoResponse {
14    /// Full git commit hash (e.g., "33d5b91abc...")
15    #[prost(string, tag="1")]
16    pub git_commit_hash: ::prost::alloc::string::String,
17}
18#[allow(clippy::derive_partial_eq_without_eq)]
19#[derive(Clone, PartialEq, ::prost::Message)]
20pub struct GetConnectionInfoResponse {
21    /// Market feed connection info per exchange
22    #[prost(message, optional, tag="1")]
23    pub krx_market_feed: ::core::option::Option<MarketFeedInfo>,
24    /// optional
25    #[prost(message, optional, tag="2")]
26    pub nxt_market_feed: ::core::option::Option<MarketFeedInfo>,
27    /// FEP connection info
28    #[prost(message, optional, tag="3")]
29    pub fep: ::core::option::Option<FepInfo>,
30}
31/// Market feed implementation info
32#[allow(clippy::derive_partial_eq_without_eq)]
33#[derive(Clone, PartialEq, ::prost::Message)]
34pub struct MarketFeedInfo {
35    /// "udp", "file", "websocket", "grpc", "simulation"
36    #[prost(string, tag="1")]
37    pub implementation: ::prost::alloc::string::String,
38}
39/// FEP connection info
40#[allow(clippy::derive_partial_eq_without_eq)]
41#[derive(Clone, PartialEq, ::prost::Message)]
42pub struct FepInfo {
43    /// "fake_memory", "fake_tcp", "tcp"
44    #[prost(string, tag="1")]
45    pub implementation: ::prost::alloc::string::String,
46    /// populated when implementation is "tcp"
47    #[prost(message, repeated, tag="2")]
48    pub clients: ::prost::alloc::vec::Vec<FepClientInfo>,
49}
50/// Individual FEP client connection info
51#[allow(clippy::derive_partial_eq_without_eq)]
52#[derive(Clone, PartialEq, ::prost::Message)]
53pub struct FepClientInfo {
54    /// "Kospi", "Kosdaq", "Deriv"
55    #[prost(string, tag="1")]
56    pub market_type: ::prost::alloc::string::String,
57    /// "Krx"
58    #[prost(string, tag="2")]
59    pub exchange_type: ::prost::alloc::string::String,
60    /// "Submit", "Trade"
61    #[prost(string, tag="3")]
62    pub client_type: ::prost::alloc::string::String,
63    /// e.g., "A831", "B851"
64    #[prost(string, tag="4")]
65    pub task_code: ::prost::alloc::string::String,
66    /// "tcp", "unix"
67    #[prost(string, tag="5")]
68    pub transport_type: ::prost::alloc::string::String,
69    /// IP address (for tcp) or empty (for unix)
70    #[prost(string, tag="6")]
71    pub host: ::prost::alloc::string::String,
72    /// port number (for tcp) or 0 (for unix)
73    #[prost(uint32, tag="7")]
74    pub port: u32,
75    /// unix socket path (for unix) or empty (for tcp)
76    #[prost(string, tag="8")]
77    pub path: ::prost::alloc::string::String,
78    /// resolved hostname/alias (e.g., "pfds11", "pfds14")
79    #[prost(string, tag="9")]
80    pub hostname: ::prost::alloc::string::String,
81}
82include!("kdo.v1.system.tonic.rs");
83include!("kdo.v1.system.serde.rs");
84// @@protoc_insertion_point(module)