Package mxaccess_gateway.v1
Class MxAccessGatewayGrpc.MxAccessGatewayBlockingV2Stub
java.lang.Object
io.grpc.stub.AbstractStub<MxAccessGatewayGrpc.MxAccessGatewayBlockingV2Stub>
io.grpc.stub.AbstractBlockingStub<MxAccessGatewayGrpc.MxAccessGatewayBlockingV2Stub>
mxaccess_gateway.v1.MxAccessGatewayGrpc.MxAccessGatewayBlockingV2Stub
- Enclosing class:
MxAccessGatewayGrpc
public static final class MxAccessGatewayGrpc.MxAccessGatewayBlockingV2Stub
extends io.grpc.stub.AbstractBlockingStub<MxAccessGatewayGrpc.MxAccessGatewayBlockingV2Stub>
A stub to allow clients to do synchronous rpc calls to service MxAccessGateway.
Public client API for MXAccess sessions hosted by the gateway.
-
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 TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) invoke(MxaccessGateway.MxCommandRequest request) io.grpc.stub.BlockingClientCall<?, MxaccessGateway.ActiveAlarmSnapshot> Point-in-time snapshot of the currently-active alarm set served from the gateway's always-on alarm monitor cache (session-less).io.grpc.stub.BlockingClientCall<?, MxaccessGateway.AlarmFeedMessage> Session-less central alarm feed.io.grpc.stub.BlockingClientCall<?, MxaccessGateway.MxEvent> 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 MxAccessGatewayGrpc.MxAccessGatewayBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<MxAccessGatewayGrpc.MxAccessGatewayBlockingV2Stub>
-
openSession
public MxaccessGateway.OpenSessionReply openSession(MxaccessGateway.OpenSessionRequest request) throws io.grpc.StatusException - Throws:
io.grpc.StatusException
-
closeSession
public MxaccessGateway.CloseSessionReply closeSession(MxaccessGateway.CloseSessionRequest request) throws io.grpc.StatusException - Throws:
io.grpc.StatusException
-
invoke
public MxaccessGateway.MxCommandReply invoke(MxaccessGateway.MxCommandRequest request) throws io.grpc.StatusException - Throws:
io.grpc.StatusException
-
streamEvents
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/10918") public io.grpc.stub.BlockingClientCall<?,MxaccessGateway.MxEvent> streamEvents(MxaccessGateway.StreamEventsRequest request) -
acknowledgeAlarm
public MxaccessGateway.AcknowledgeAlarmReply acknowledgeAlarm(MxaccessGateway.AcknowledgeAlarmRequest request) throws io.grpc.StatusException - Throws:
io.grpc.StatusException
-
streamAlarms
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/10918") public io.grpc.stub.BlockingClientCall<?,MxaccessGateway.AlarmFeedMessage> streamAlarms(MxaccessGateway.StreamAlarmsRequest request) Session-less central alarm feed. The stream opens with the current active-alarm snapshot (one `active_alarm` per alarm), then a single `snapshot_complete`, then a `transition` for every subsequent change. Served by the gateway's always-on alarm monitor; any number of clients fan out from the single monitor without opening a worker session.
-
queryActiveAlarms
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/10918") public io.grpc.stub.BlockingClientCall<?,MxaccessGateway.ActiveAlarmSnapshot> queryActiveAlarms(MxaccessGateway.QueryActiveAlarmsRequest request) Point-in-time snapshot of the currently-active alarm set served from the gateway's always-on alarm monitor cache (session-less). Used after a reconnect to seed Part 9 client state, or to reconcile alarms that may have been missed during a transport blip. Streamed so callers can begin processing without buffering the full set. `QueryActiveAlarmsRequest.alarm_filter_prefix` optionally narrows the snapshot to alarms whose `alarm_full_reference` starts with the given prefix; an empty prefix returns the full set.
-