Package galaxy_repository.v1
Class GalaxyRepositoryGrpc.GalaxyRepositoryBlockingV2Stub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<GalaxyRepositoryGrpc.GalaxyRepositoryBlockingV2Stub>
galaxy_repository.v1.GalaxyRepositoryGrpc.GalaxyRepositoryBlockingV2Stub
- Enclosing class:
- GalaxyRepositoryGrpc
public static final class GalaxyRepositoryGrpc.GalaxyRepositoryBlockingV2Stub
extends io.grpc.stub.AbstractBlockingStub<GalaxyRepositoryGrpc.GalaxyRepositoryBlockingV2Stub>
A stub to allow clients to do synchronous rpc calls to service GalaxyRepository.
Read-only browse over the AVEVA System Platform Galaxy Repository (ZB SQL database). Lets clients enumerate the deployed object hierarchy and each object's dynamic attributes so they know what tag references to subscribe to via the MxAccessGateway service.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionReturns the direct children of a parent object (or the root objects when `parent` is unset).build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) io.grpc.stub.BlockingClientCall<?,GalaxyRepositoryOuterClass.DeployEvent> Server-stream of deploy events.Methods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected GalaxyRepositoryGrpc.GalaxyRepositoryBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<GalaxyRepositoryGrpc.GalaxyRepositoryBlockingV2Stub>
-
testConnection
public GalaxyRepositoryOuterClass.TestConnectionReply testConnection(GalaxyRepositoryOuterClass.TestConnectionRequest request) throws io.grpc.StatusException - Throws:
io.grpc.StatusException
-
getLastDeployTime
public GalaxyRepositoryOuterClass.GetLastDeployTimeReply getLastDeployTime(GalaxyRepositoryOuterClass.GetLastDeployTimeRequest request) throws io.grpc.StatusException - Throws:
io.grpc.StatusException
-
discoverHierarchy
public GalaxyRepositoryOuterClass.DiscoverHierarchyReply discoverHierarchy(GalaxyRepositoryOuterClass.DiscoverHierarchyRequest request) throws io.grpc.StatusException - Throws:
io.grpc.StatusException
-
watchDeployEvents
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/10918") public io.grpc.stub.BlockingClientCall<?,GalaxyRepositoryOuterClass.DeployEvent> watchDeployEvents(GalaxyRepositoryOuterClass.WatchDeployEventsRequest request) Server-stream of deploy events. The server emits the current state immediately on subscribe (so clients can bootstrap their cache without waiting for the next deploy), then emits one event each time the gateway's hierarchy cache observes a new galaxy.time_of_last_deploy. The sequence field is monotonically increasing per server start; gaps indicate the per-subscriber buffer dropped older events because the client was too slow.
-
browseChildren
public GalaxyRepositoryOuterClass.BrowseChildrenReply browseChildren(GalaxyRepositoryOuterClass.BrowseChildrenRequest request) throws io.grpc.StatusException Returns the direct children of a parent object (or the root objects when `parent` is unset). Designed for OPC UA-style lazy expand: clients walk one level at a time instead of paging the full hierarchy. Filters mirror DiscoverHierarchy exactly. Backed by the same shared hierarchy cache.
- Throws:
io.grpc.StatusException
-