ansys-api-systemcoupling 0.1.0__py3-none-any.whl → 0.3.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- ansys/api/systemcoupling/VERSION +1 -1
- ansys/api/systemcoupling/__init__.py +8 -8
- ansys/api/systemcoupling/v0/chart.proto +159 -0
- ansys/api/systemcoupling/v0/chart_pb2.py +166 -0
- ansys/api/systemcoupling/v0/chart_pb2.pyi +309 -0
- ansys/api/systemcoupling/v0/chart_pb2_grpc.py +181 -0
- ansys/api/systemcoupling/v0/chart_pb2_grpc.pyi +89 -0
- ansys/api/systemcoupling/v0/command.proto +23 -23
- ansys/api/systemcoupling/v0/error.proto +8 -8
- ansys/api/systemcoupling/v0/output_stream.proto +15 -15
- ansys/api/systemcoupling/v0/process.proto +15 -15
- ansys/api/systemcoupling/v0/solution.proto +30 -30
- ansys/api/systemcoupling/v0/variant.proto +51 -51
- {ansys_api_systemcoupling-0.1.0.dist-info → ansys_api_systemcoupling-0.3.0.dist-info}/LICENSE +21 -21
- {ansys_api_systemcoupling-0.1.0.dist-info → ansys_api_systemcoupling-0.3.0.dist-info}/METADATA +74 -74
- {ansys_api_systemcoupling-0.1.0.dist-info → ansys_api_systemcoupling-0.3.0.dist-info}/RECORD +19 -14
- {ansys_api_systemcoupling-0.1.0.dist-info → ansys_api_systemcoupling-0.3.0.dist-info}/WHEEL +1 -1
- {ansys_api_systemcoupling-0.1.0.dist-info → ansys_api_systemcoupling-0.3.0.dist-info}/entry_points.txt +0 -0
- {ansys_api_systemcoupling-0.1.0.dist-info → ansys_api_systemcoupling-0.3.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
|
|
2
|
+
"""Client and server classes corresponding to protobuf-defined services."""
|
|
3
|
+
import grpc
|
|
4
|
+
|
|
5
|
+
from ansys.api.systemcoupling.v0 import chart_pb2 as ansys_dot_api_dot_systemcoupling_dot_v0_dot_chart__pb2
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class ChartDataStub(object):
|
|
9
|
+
"""Service for querying chart data, both as a "live" stream during a solve
|
|
10
|
+
and as non-streaming requests for data after a solve has been performed.
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
def __init__(self, channel):
|
|
14
|
+
"""Constructor.
|
|
15
|
+
|
|
16
|
+
Args:
|
|
17
|
+
channel: A grpc.Channel.
|
|
18
|
+
"""
|
|
19
|
+
self.StreamChartData = channel.unary_stream(
|
|
20
|
+
'/ansys.api.systemcoupling.v0.ChartData/StreamChartData',
|
|
21
|
+
request_serializer=ansys_dot_api_dot_systemcoupling_dot_v0_dot_chart__pb2.ChartDataRequest.SerializeToString,
|
|
22
|
+
response_deserializer=ansys_dot_api_dot_systemcoupling_dot_v0_dot_chart__pb2.ChartDataEvent.FromString,
|
|
23
|
+
)
|
|
24
|
+
self.GetChartMetadata = channel.unary_unary(
|
|
25
|
+
'/ansys.api.systemcoupling.v0.ChartData/GetChartMetadata',
|
|
26
|
+
request_serializer=ansys_dot_api_dot_systemcoupling_dot_v0_dot_chart__pb2.ChartMetadataRequest.SerializeToString,
|
|
27
|
+
response_deserializer=ansys_dot_api_dot_systemcoupling_dot_v0_dot_chart__pb2.ChartMetadata.FromString,
|
|
28
|
+
)
|
|
29
|
+
self.GetChartSeriesData = channel.unary_unary(
|
|
30
|
+
'/ansys.api.systemcoupling.v0.ChartData/GetChartSeriesData',
|
|
31
|
+
request_serializer=ansys_dot_api_dot_systemcoupling_dot_v0_dot_chart__pb2.ChartSeriesDataRequest.SerializeToString,
|
|
32
|
+
response_deserializer=ansys_dot_api_dot_systemcoupling_dot_v0_dot_chart__pb2.AllSeriesData.FromString,
|
|
33
|
+
)
|
|
34
|
+
self.GetChartTimestepData = channel.unary_unary(
|
|
35
|
+
'/ansys.api.systemcoupling.v0.ChartData/GetChartTimestepData',
|
|
36
|
+
request_serializer=ansys_dot_api_dot_systemcoupling_dot_v0_dot_chart__pb2.ChartTimestepDataRequest.SerializeToString,
|
|
37
|
+
response_deserializer=ansys_dot_api_dot_systemcoupling_dot_v0_dot_chart__pb2.TimestepData.FromString,
|
|
38
|
+
)
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
class ChartDataServicer(object):
|
|
42
|
+
"""Service for querying chart data, both as a "live" stream during a solve
|
|
43
|
+
and as non-streaming requests for data after a solve has been performed.
|
|
44
|
+
"""
|
|
45
|
+
|
|
46
|
+
def StreamChartData(self, request, context):
|
|
47
|
+
"""Streams chart data events starting with interface metadata followed by
|
|
48
|
+
series data and timestep data as they become available on the server.
|
|
49
|
+
For transient cases, timestep data will be included in the stream.
|
|
50
|
+
"""
|
|
51
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
52
|
+
context.set_details('Method not implemented!')
|
|
53
|
+
raise NotImplementedError('Method not implemented!')
|
|
54
|
+
|
|
55
|
+
def GetChartMetadata(self, request, context):
|
|
56
|
+
"""The following RPCs provide non-streaming access to chart data.
|
|
57
|
+
This should be available as long as a solve has been performed
|
|
58
|
+
in the current session.
|
|
59
|
+
|
|
60
|
+
Retrieves the chart metadata for all available series.
|
|
61
|
+
"""
|
|
62
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
63
|
+
context.set_details('Method not implemented!')
|
|
64
|
+
raise NotImplementedError('Method not implemented!')
|
|
65
|
+
|
|
66
|
+
def GetChartSeriesData(self, request, context):
|
|
67
|
+
"""Retrieves all data for all chart series.
|
|
68
|
+
"""
|
|
69
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
70
|
+
context.set_details('Method not implemented!')
|
|
71
|
+
raise NotImplementedError('Method not implemented!')
|
|
72
|
+
|
|
73
|
+
def GetChartTimestepData(self, request, context):
|
|
74
|
+
"""Retrieves all data for all chart timesteps.
|
|
75
|
+
"""
|
|
76
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
77
|
+
context.set_details('Method not implemented!')
|
|
78
|
+
raise NotImplementedError('Method not implemented!')
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
def add_ChartDataServicer_to_server(servicer, server):
|
|
82
|
+
rpc_method_handlers = {
|
|
83
|
+
'StreamChartData': grpc.unary_stream_rpc_method_handler(
|
|
84
|
+
servicer.StreamChartData,
|
|
85
|
+
request_deserializer=ansys_dot_api_dot_systemcoupling_dot_v0_dot_chart__pb2.ChartDataRequest.FromString,
|
|
86
|
+
response_serializer=ansys_dot_api_dot_systemcoupling_dot_v0_dot_chart__pb2.ChartDataEvent.SerializeToString,
|
|
87
|
+
),
|
|
88
|
+
'GetChartMetadata': grpc.unary_unary_rpc_method_handler(
|
|
89
|
+
servicer.GetChartMetadata,
|
|
90
|
+
request_deserializer=ansys_dot_api_dot_systemcoupling_dot_v0_dot_chart__pb2.ChartMetadataRequest.FromString,
|
|
91
|
+
response_serializer=ansys_dot_api_dot_systemcoupling_dot_v0_dot_chart__pb2.ChartMetadata.SerializeToString,
|
|
92
|
+
),
|
|
93
|
+
'GetChartSeriesData': grpc.unary_unary_rpc_method_handler(
|
|
94
|
+
servicer.GetChartSeriesData,
|
|
95
|
+
request_deserializer=ansys_dot_api_dot_systemcoupling_dot_v0_dot_chart__pb2.ChartSeriesDataRequest.FromString,
|
|
96
|
+
response_serializer=ansys_dot_api_dot_systemcoupling_dot_v0_dot_chart__pb2.AllSeriesData.SerializeToString,
|
|
97
|
+
),
|
|
98
|
+
'GetChartTimestepData': grpc.unary_unary_rpc_method_handler(
|
|
99
|
+
servicer.GetChartTimestepData,
|
|
100
|
+
request_deserializer=ansys_dot_api_dot_systemcoupling_dot_v0_dot_chart__pb2.ChartTimestepDataRequest.FromString,
|
|
101
|
+
response_serializer=ansys_dot_api_dot_systemcoupling_dot_v0_dot_chart__pb2.TimestepData.SerializeToString,
|
|
102
|
+
),
|
|
103
|
+
}
|
|
104
|
+
generic_handler = grpc.method_handlers_generic_handler(
|
|
105
|
+
'ansys.api.systemcoupling.v0.ChartData', rpc_method_handlers)
|
|
106
|
+
server.add_generic_rpc_handlers((generic_handler,))
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
# This class is part of an EXPERIMENTAL API.
|
|
110
|
+
class ChartData(object):
|
|
111
|
+
"""Service for querying chart data, both as a "live" stream during a solve
|
|
112
|
+
and as non-streaming requests for data after a solve has been performed.
|
|
113
|
+
"""
|
|
114
|
+
|
|
115
|
+
@staticmethod
|
|
116
|
+
def StreamChartData(request,
|
|
117
|
+
target,
|
|
118
|
+
options=(),
|
|
119
|
+
channel_credentials=None,
|
|
120
|
+
call_credentials=None,
|
|
121
|
+
insecure=False,
|
|
122
|
+
compression=None,
|
|
123
|
+
wait_for_ready=None,
|
|
124
|
+
timeout=None,
|
|
125
|
+
metadata=None):
|
|
126
|
+
return grpc.experimental.unary_stream(request, target, '/ansys.api.systemcoupling.v0.ChartData/StreamChartData',
|
|
127
|
+
ansys_dot_api_dot_systemcoupling_dot_v0_dot_chart__pb2.ChartDataRequest.SerializeToString,
|
|
128
|
+
ansys_dot_api_dot_systemcoupling_dot_v0_dot_chart__pb2.ChartDataEvent.FromString,
|
|
129
|
+
options, channel_credentials,
|
|
130
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
131
|
+
|
|
132
|
+
@staticmethod
|
|
133
|
+
def GetChartMetadata(request,
|
|
134
|
+
target,
|
|
135
|
+
options=(),
|
|
136
|
+
channel_credentials=None,
|
|
137
|
+
call_credentials=None,
|
|
138
|
+
insecure=False,
|
|
139
|
+
compression=None,
|
|
140
|
+
wait_for_ready=None,
|
|
141
|
+
timeout=None,
|
|
142
|
+
metadata=None):
|
|
143
|
+
return grpc.experimental.unary_unary(request, target, '/ansys.api.systemcoupling.v0.ChartData/GetChartMetadata',
|
|
144
|
+
ansys_dot_api_dot_systemcoupling_dot_v0_dot_chart__pb2.ChartMetadataRequest.SerializeToString,
|
|
145
|
+
ansys_dot_api_dot_systemcoupling_dot_v0_dot_chart__pb2.ChartMetadata.FromString,
|
|
146
|
+
options, channel_credentials,
|
|
147
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
148
|
+
|
|
149
|
+
@staticmethod
|
|
150
|
+
def GetChartSeriesData(request,
|
|
151
|
+
target,
|
|
152
|
+
options=(),
|
|
153
|
+
channel_credentials=None,
|
|
154
|
+
call_credentials=None,
|
|
155
|
+
insecure=False,
|
|
156
|
+
compression=None,
|
|
157
|
+
wait_for_ready=None,
|
|
158
|
+
timeout=None,
|
|
159
|
+
metadata=None):
|
|
160
|
+
return grpc.experimental.unary_unary(request, target, '/ansys.api.systemcoupling.v0.ChartData/GetChartSeriesData',
|
|
161
|
+
ansys_dot_api_dot_systemcoupling_dot_v0_dot_chart__pb2.ChartSeriesDataRequest.SerializeToString,
|
|
162
|
+
ansys_dot_api_dot_systemcoupling_dot_v0_dot_chart__pb2.AllSeriesData.FromString,
|
|
163
|
+
options, channel_credentials,
|
|
164
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
165
|
+
|
|
166
|
+
@staticmethod
|
|
167
|
+
def GetChartTimestepData(request,
|
|
168
|
+
target,
|
|
169
|
+
options=(),
|
|
170
|
+
channel_credentials=None,
|
|
171
|
+
call_credentials=None,
|
|
172
|
+
insecure=False,
|
|
173
|
+
compression=None,
|
|
174
|
+
wait_for_ready=None,
|
|
175
|
+
timeout=None,
|
|
176
|
+
metadata=None):
|
|
177
|
+
return grpc.experimental.unary_unary(request, target, '/ansys.api.systemcoupling.v0.ChartData/GetChartTimestepData',
|
|
178
|
+
ansys_dot_api_dot_systemcoupling_dot_v0_dot_chart__pb2.ChartTimestepDataRequest.SerializeToString,
|
|
179
|
+
ansys_dot_api_dot_systemcoupling_dot_v0_dot_chart__pb2.TimestepData.FromString,
|
|
180
|
+
options, channel_credentials,
|
|
181
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
"""
|
|
5
|
+
import abc
|
|
6
|
+
import ansys.api.systemcoupling.v0.chart_pb2
|
|
7
|
+
import grpc
|
|
8
|
+
import typing
|
|
9
|
+
|
|
10
|
+
class ChartDataStub:
|
|
11
|
+
"""Service for querying chart data, both as a "live" stream during a solve
|
|
12
|
+
and as non-streaming requests for data after a solve has been performed.
|
|
13
|
+
"""
|
|
14
|
+
def __init__(self, channel: grpc.Channel) -> None: ...
|
|
15
|
+
StreamChartData: grpc.UnaryStreamMultiCallable[
|
|
16
|
+
ansys.api.systemcoupling.v0.chart_pb2.ChartDataRequest,
|
|
17
|
+
ansys.api.systemcoupling.v0.chart_pb2.ChartDataEvent] = ...
|
|
18
|
+
"""Streams chart data events starting with interface metadata followed by
|
|
19
|
+
series data and timestep data as they become available on the server.
|
|
20
|
+
For transient cases, timestep data will be included in the stream.
|
|
21
|
+
"""
|
|
22
|
+
|
|
23
|
+
GetChartMetadata: grpc.UnaryUnaryMultiCallable[
|
|
24
|
+
ansys.api.systemcoupling.v0.chart_pb2.ChartMetadataRequest,
|
|
25
|
+
ansys.api.systemcoupling.v0.chart_pb2.ChartMetadata] = ...
|
|
26
|
+
"""The following RPCs provide non-streaming access to chart data.
|
|
27
|
+
This should be available as long as a solve has been performed
|
|
28
|
+
in the current session.
|
|
29
|
+
|
|
30
|
+
Retrieves the chart metadata for all available series.
|
|
31
|
+
"""
|
|
32
|
+
|
|
33
|
+
GetChartSeriesData: grpc.UnaryUnaryMultiCallable[
|
|
34
|
+
ansys.api.systemcoupling.v0.chart_pb2.ChartSeriesDataRequest,
|
|
35
|
+
ansys.api.systemcoupling.v0.chart_pb2.AllSeriesData] = ...
|
|
36
|
+
"""Retrieves all data for all chart series."""
|
|
37
|
+
|
|
38
|
+
GetChartTimestepData: grpc.UnaryUnaryMultiCallable[
|
|
39
|
+
ansys.api.systemcoupling.v0.chart_pb2.ChartTimestepDataRequest,
|
|
40
|
+
ansys.api.systemcoupling.v0.chart_pb2.TimestepData] = ...
|
|
41
|
+
"""Retrieves all data for all chart timesteps."""
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
class ChartDataServicer(metaclass=abc.ABCMeta):
|
|
45
|
+
"""Service for querying chart data, both as a "live" stream during a solve
|
|
46
|
+
and as non-streaming requests for data after a solve has been performed.
|
|
47
|
+
"""
|
|
48
|
+
@abc.abstractmethod
|
|
49
|
+
def StreamChartData(self,
|
|
50
|
+
request: ansys.api.systemcoupling.v0.chart_pb2.ChartDataRequest,
|
|
51
|
+
context: grpc.ServicerContext,
|
|
52
|
+
) -> typing.Iterator[ansys.api.systemcoupling.v0.chart_pb2.ChartDataEvent]:
|
|
53
|
+
"""Streams chart data events starting with interface metadata followed by
|
|
54
|
+
series data and timestep data as they become available on the server.
|
|
55
|
+
For transient cases, timestep data will be included in the stream.
|
|
56
|
+
"""
|
|
57
|
+
pass
|
|
58
|
+
|
|
59
|
+
@abc.abstractmethod
|
|
60
|
+
def GetChartMetadata(self,
|
|
61
|
+
request: ansys.api.systemcoupling.v0.chart_pb2.ChartMetadataRequest,
|
|
62
|
+
context: grpc.ServicerContext,
|
|
63
|
+
) -> ansys.api.systemcoupling.v0.chart_pb2.ChartMetadata:
|
|
64
|
+
"""The following RPCs provide non-streaming access to chart data.
|
|
65
|
+
This should be available as long as a solve has been performed
|
|
66
|
+
in the current session.
|
|
67
|
+
|
|
68
|
+
Retrieves the chart metadata for all available series.
|
|
69
|
+
"""
|
|
70
|
+
pass
|
|
71
|
+
|
|
72
|
+
@abc.abstractmethod
|
|
73
|
+
def GetChartSeriesData(self,
|
|
74
|
+
request: ansys.api.systemcoupling.v0.chart_pb2.ChartSeriesDataRequest,
|
|
75
|
+
context: grpc.ServicerContext,
|
|
76
|
+
) -> ansys.api.systemcoupling.v0.chart_pb2.AllSeriesData:
|
|
77
|
+
"""Retrieves all data for all chart series."""
|
|
78
|
+
pass
|
|
79
|
+
|
|
80
|
+
@abc.abstractmethod
|
|
81
|
+
def GetChartTimestepData(self,
|
|
82
|
+
request: ansys.api.systemcoupling.v0.chart_pb2.ChartTimestepDataRequest,
|
|
83
|
+
context: grpc.ServicerContext,
|
|
84
|
+
) -> ansys.api.systemcoupling.v0.chart_pb2.TimestepData:
|
|
85
|
+
"""Retrieves all data for all chart timesteps."""
|
|
86
|
+
pass
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
def add_ChartDataServicer_to_server(servicer: ChartDataServicer, server: grpc.Server) -> None: ...
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
// Copyright (C) 2023 ANSYS, Inc. and/or its affiliates.
|
|
2
|
-
syntax = "proto3";
|
|
3
|
-
|
|
4
|
-
package ansys.api.systemcoupling.v0;
|
|
5
|
-
|
|
6
|
-
import "ansys/api/systemcoupling/v0/variant.proto";
|
|
7
|
-
|
|
8
|
-
service Command {
|
|
9
|
-
rpc InvokeCommand (CommandRequest) returns (CommandResponse) {}
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
message CommandRequest {
|
|
13
|
-
message Argument {
|
|
14
|
-
string name = 1;
|
|
15
|
-
Variant val = 2;
|
|
16
|
-
}
|
|
17
|
-
string command = 1;
|
|
18
|
-
repeated Argument args = 2;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
message CommandResponse {
|
|
22
|
-
Variant result = 1;
|
|
23
|
-
}
|
|
1
|
+
// Copyright (C) 2023 ANSYS, Inc. and/or its affiliates.
|
|
2
|
+
syntax = "proto3";
|
|
3
|
+
|
|
4
|
+
package ansys.api.systemcoupling.v0;
|
|
5
|
+
|
|
6
|
+
import "ansys/api/systemcoupling/v0/variant.proto";
|
|
7
|
+
|
|
8
|
+
service Command {
|
|
9
|
+
rpc InvokeCommand (CommandRequest) returns (CommandResponse) {}
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
message CommandRequest {
|
|
13
|
+
message Argument {
|
|
14
|
+
string name = 1;
|
|
15
|
+
Variant val = 2;
|
|
16
|
+
}
|
|
17
|
+
string command = 1;
|
|
18
|
+
repeated Argument args = 2;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
message CommandResponse {
|
|
22
|
+
Variant result = 1;
|
|
23
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
// Copyright (C) 2023 ANSYS, Inc. and/or its affiliates.
|
|
2
|
-
syntax = "proto3";
|
|
3
|
-
|
|
4
|
-
package ansys.api.systemcoupling.v0;
|
|
5
|
-
|
|
6
|
-
message ErrorDetails {
|
|
7
|
-
string exception_classname = 1;
|
|
8
|
-
string stack_trace = 2;
|
|
1
|
+
// Copyright (C) 2023 ANSYS, Inc. and/or its affiliates.
|
|
2
|
+
syntax = "proto3";
|
|
3
|
+
|
|
4
|
+
package ansys.api.systemcoupling.v0;
|
|
5
|
+
|
|
6
|
+
message ErrorDetails {
|
|
7
|
+
string exception_classname = 1;
|
|
8
|
+
string stack_trace = 2;
|
|
9
9
|
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
// Copyright (C) 2023 ANSYS, Inc. and/or its affiliates.
|
|
2
|
-
syntax = "proto3";
|
|
3
|
-
|
|
4
|
-
package ansys.api.systemcoupling.v0;
|
|
5
|
-
|
|
6
|
-
service OutputStream {
|
|
7
|
-
rpc BeginStdStreaming(StdStreamRequest) returns (stream StdStreamResponse) {}
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
message StdStreamRequest {
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
message StdStreamResponse {
|
|
14
|
-
string text = 1;
|
|
15
|
-
}
|
|
1
|
+
// Copyright (C) 2023 ANSYS, Inc. and/or its affiliates.
|
|
2
|
+
syntax = "proto3";
|
|
3
|
+
|
|
4
|
+
package ansys.api.systemcoupling.v0;
|
|
5
|
+
|
|
6
|
+
service OutputStream {
|
|
7
|
+
rpc BeginStdStreaming(StdStreamRequest) returns (stream StdStreamResponse) {}
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
message StdStreamRequest {
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
message StdStreamResponse {
|
|
14
|
+
string text = 1;
|
|
15
|
+
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
// Copyright (C) 2023 ANSYS, Inc. and/or its affiliates.
|
|
2
|
-
syntax = "proto3";
|
|
3
|
-
|
|
4
|
-
package ansys.api.systemcoupling.v0;
|
|
5
|
-
|
|
6
|
-
service Process {
|
|
7
|
-
rpc Ping (PingRequest) returns (PingResponse) {}
|
|
8
|
-
rpc Quit (QuitRequest) returns (QuitResponse) {}
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
message PingRequest {}
|
|
12
|
-
message PingResponse {}
|
|
13
|
-
|
|
14
|
-
message QuitRequest {}
|
|
15
|
-
message QuitResponse {}
|
|
1
|
+
// Copyright (C) 2023 ANSYS, Inc. and/or its affiliates.
|
|
2
|
+
syntax = "proto3";
|
|
3
|
+
|
|
4
|
+
package ansys.api.systemcoupling.v0;
|
|
5
|
+
|
|
6
|
+
service Process {
|
|
7
|
+
rpc Ping (PingRequest) returns (PingResponse) {}
|
|
8
|
+
rpc Quit (QuitRequest) returns (QuitResponse) {}
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
message PingRequest {}
|
|
12
|
+
message PingResponse {}
|
|
13
|
+
|
|
14
|
+
message QuitRequest {}
|
|
15
|
+
message QuitResponse {}
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
// Copyright (C) 2023 ANSYS, Inc. and/or its affiliates.
|
|
2
|
-
syntax = "proto3";
|
|
3
|
-
|
|
4
|
-
package ansys.api.systemcoupling.v0;
|
|
5
|
-
|
|
6
|
-
service Solution {
|
|
7
|
-
rpc Solve (SolveRequest) returns (SolveResponse) {}
|
|
8
|
-
rpc Interrupt (InterruptRequest) returns (InterruptResponse) {}
|
|
9
|
-
rpc Abort (AbortRequest) returns (AbortResponse) {}
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
// Note that all responses are currently empty messages
|
|
13
|
-
// In particular no status info for solve is returned -
|
|
14
|
-
// failure or early termination of solve will be
|
|
15
|
-
// communicated by an exception as for commands
|
|
16
|
-
// via the Command service.
|
|
17
|
-
|
|
18
|
-
message SolveRequest {}
|
|
19
|
-
message SolveResponse {}
|
|
20
|
-
|
|
21
|
-
message InterruptRequest {
|
|
22
|
-
string reason = 1;
|
|
23
|
-
}
|
|
24
|
-
message InterruptResponse {}
|
|
25
|
-
|
|
26
|
-
message AbortRequest {
|
|
27
|
-
string reason = 1;
|
|
28
|
-
}
|
|
29
|
-
message AbortResponse {}
|
|
30
|
-
|
|
1
|
+
// Copyright (C) 2023 ANSYS, Inc. and/or its affiliates.
|
|
2
|
+
syntax = "proto3";
|
|
3
|
+
|
|
4
|
+
package ansys.api.systemcoupling.v0;
|
|
5
|
+
|
|
6
|
+
service Solution {
|
|
7
|
+
rpc Solve (SolveRequest) returns (SolveResponse) {}
|
|
8
|
+
rpc Interrupt (InterruptRequest) returns (InterruptResponse) {}
|
|
9
|
+
rpc Abort (AbortRequest) returns (AbortResponse) {}
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
// Note that all responses are currently empty messages
|
|
13
|
+
// In particular no status info for solve is returned -
|
|
14
|
+
// failure or early termination of solve will be
|
|
15
|
+
// communicated by an exception as for commands
|
|
16
|
+
// via the Command service.
|
|
17
|
+
|
|
18
|
+
message SolveRequest {}
|
|
19
|
+
message SolveResponse {}
|
|
20
|
+
|
|
21
|
+
message InterruptRequest {
|
|
22
|
+
string reason = 1;
|
|
23
|
+
}
|
|
24
|
+
message InterruptResponse {}
|
|
25
|
+
|
|
26
|
+
message AbortRequest {
|
|
27
|
+
string reason = 1;
|
|
28
|
+
}
|
|
29
|
+
message AbortResponse {}
|
|
30
|
+
|
|
@@ -1,51 +1,51 @@
|
|
|
1
|
-
// Copyright (C) 2023 ANSYS, Inc. and/or its affiliates.
|
|
2
|
-
syntax = "proto3";
|
|
3
|
-
|
|
4
|
-
package ansys.api.systemcoupling.v0;
|
|
5
|
-
|
|
6
|
-
enum NoneValue {
|
|
7
|
-
NONE_VALUE=0;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
message StringVector {
|
|
11
|
-
repeated string item = 1;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
message DoubleVector {
|
|
15
|
-
repeated double item = 1;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
message BoolVector {
|
|
19
|
-
repeated bool item = 1;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
message Int64Vector {
|
|
23
|
-
repeated sint64 item = 1;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
message VariantMap {
|
|
27
|
-
map<string, Variant> item = 1;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
message VariantVector {
|
|
31
|
-
repeated Variant item = 1;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
message Variant {
|
|
35
|
-
oneof as {
|
|
36
|
-
NoneValue none_state = 1;
|
|
37
|
-
|
|
38
|
-
bool bool_state = 2;
|
|
39
|
-
sint64 int64_state = 3;
|
|
40
|
-
double double_state = 5;
|
|
41
|
-
string string_state = 6;
|
|
42
|
-
|
|
43
|
-
BoolVector bool_vector_state = 7;
|
|
44
|
-
Int64Vector int64_vector_state = 8;
|
|
45
|
-
DoubleVector double_vector_state = 9;
|
|
46
|
-
StringVector string_vector_state = 10;
|
|
47
|
-
VariantVector variant_vector_state = 11;
|
|
48
|
-
VariantMap variant_map_state = 12;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
|
|
1
|
+
// Copyright (C) 2023 ANSYS, Inc. and/or its affiliates.
|
|
2
|
+
syntax = "proto3";
|
|
3
|
+
|
|
4
|
+
package ansys.api.systemcoupling.v0;
|
|
5
|
+
|
|
6
|
+
enum NoneValue {
|
|
7
|
+
NONE_VALUE=0;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
message StringVector {
|
|
11
|
+
repeated string item = 1;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
message DoubleVector {
|
|
15
|
+
repeated double item = 1;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
message BoolVector {
|
|
19
|
+
repeated bool item = 1;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
message Int64Vector {
|
|
23
|
+
repeated sint64 item = 1;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
message VariantMap {
|
|
27
|
+
map<string, Variant> item = 1;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
message VariantVector {
|
|
31
|
+
repeated Variant item = 1;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
message Variant {
|
|
35
|
+
oneof as {
|
|
36
|
+
NoneValue none_state = 1;
|
|
37
|
+
|
|
38
|
+
bool bool_state = 2;
|
|
39
|
+
sint64 int64_state = 3;
|
|
40
|
+
double double_state = 5;
|
|
41
|
+
string string_state = 6;
|
|
42
|
+
|
|
43
|
+
BoolVector bool_vector_state = 7;
|
|
44
|
+
Int64Vector int64_vector_state = 8;
|
|
45
|
+
DoubleVector double_vector_state = 9;
|
|
46
|
+
StringVector string_vector_state = 10;
|
|
47
|
+
VariantVector variant_vector_state = 11;
|
|
48
|
+
VariantMap variant_map_state = 12;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
{ansys_api_systemcoupling-0.1.0.dist-info → ansys_api_systemcoupling-0.3.0.dist-info}/LICENSE
RENAMED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2022 ANSYS, Inc. All rights reserved.
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2022 ANSYS, Inc. All rights reserved.
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|