mirror of
https://github.com/OPM/ResInsight.git
synced 2024-12-28 01:41:42 -06:00
57 lines
1.2 KiB
Plaintext
57 lines
1.2 KiB
Plaintext
@startuml
|
|
|
|
|
|
package GrpcServices
|
|
{
|
|
class RiaGrpcServiceInterface
|
|
class RiaGrpcStreamService
|
|
{
|
|
GetStream(Request*, Reply*, StateHandler*)
|
|
RequestGetStream(...)
|
|
SetStream(Request*, Reply*, StateHandler*)
|
|
RequestSetStream(...)
|
|
}
|
|
RiaGrpcServiceInterface <|-- RiaGrpcStreamService
|
|
|
|
}
|
|
|
|
package GrpcCallbacks
|
|
{
|
|
class RiaGrpcCallbackInterface
|
|
|
|
class RiaGrpcClientStreamCallback<RiaGrpcStreamService, Request, Reply, StateHandler>
|
|
{
|
|
|
|
}
|
|
|
|
class RiaGrpcServerStreamCallback<RiaGrpcStreamService, Request, Reply, StateHandler>
|
|
{
|
|
|
|
}
|
|
|
|
RiaGrpcCallbackInterface <|-- RiaGrpcServerStreamCallback
|
|
RiaGrpcCallbackInterface <|-- RiaGrpcClientStreamCallback
|
|
|
|
|
|
|
|
RiaGrpcServerStreamCallback --> RiaGrpcStreamService::RequestGetStream : registers
|
|
RiaGrpcServerStreamCallback --> RiaGrpcStreamService::GetStream : sends N chunks
|
|
RiaGrpcClientStreamCallback --> RiaGrpcStreamService::RequestSetStream : registers
|
|
RiaGrpcClientStreamCallback --> RiaGrpcStreamService::SetStream : gets N chunks
|
|
}
|
|
|
|
package GrpcServer
|
|
{
|
|
class RiaGrpcServer
|
|
RiaGrpcServer "1" *-- "many" RiaGrpcServiceInterface : contains
|
|
RiaGrpcServer "1" *-- "many" RiaGrpcCallbackInterface : contains
|
|
|
|
}
|
|
|
|
package ResInsight {
|
|
RiaApplication --> RiaGrpcServer
|
|
}
|
|
|
|
|
|
@enduml
|