Package Arp.System.Nm.Services.Grpc
Class INotificationManagerServiceGrpc.INotificationManagerServiceFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<INotificationManagerServiceGrpc.INotificationManagerServiceFutureStub>
io.grpc.stub.AbstractFutureStub<INotificationManagerServiceGrpc.INotificationManagerServiceFutureStub>
Arp.System.Nm.Services.Grpc.INotificationManagerServiceGrpc.INotificationManagerServiceFutureStub
- Enclosing class:
INotificationManagerServiceGrpc
public static final class INotificationManagerServiceGrpc.INotificationManagerServiceFutureStub
extends io.grpc.stub.AbstractFutureStub<INotificationManagerServiceGrpc.INotificationManagerServiceFutureStub>
-
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>> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateINotificationManagerServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) com.google.common.util.concurrent.ListenableFuture<INotificationManagerServiceOuterClass.INotificationManagerServiceGetAllKnownNotificationNameIdsResponse> getAllKnownNotificationNameIds(com.google.protobuf.Empty request) / <summary> / Queries of all known NotificationNameIds / </summary> / <returns>collection of all known NotificationNameIds</returns>com.google.common.util.concurrent.ListenableFuture<INotificationManagerServiceOuterClass.INotificationManagerServiceGetNotificationNameResponse> getNotificationName(INotificationManagerServiceOuterClass.INotificationManagerServiceGetNotificationNameRequest request) / <summary> / Queries the NotifictionName / </summary> / <param name="notificationNameId">NotificationNameId</param> / <returns>NotificationName</returns>com.google.common.util.concurrent.ListenableFuture<INotificationManagerServiceOuterClass.INotificationManagerServiceGetNotificationNameIdResponse> getNotificationNameId(INotificationManagerServiceOuterClass.INotificationManagerServiceGetNotificationNameIdRequest request) / <summary> / Queries the id of an NotificationName / </summary> / <param name="notificationName">NotificationName</param> / <returns>NotificationNameId</returns>com.google.common.util.concurrent.ListenableFuture<INotificationManagerServiceOuterClass.INotificationManagerServiceGetNotificationNameIdsByStatusResponse> getNotificationNameIdsByStatus(INotificationManagerServiceOuterClass.INotificationManagerServiceGetNotificationNameIdsByStatusRequest request) / <summary> / Queries the ids of Notifications with a given NotificationRegistrationStatus / </summary> / <param name="status">status of the queried Notifications</param> / <returns>collection of matching NotificationNameIds</returns>com.google.common.util.concurrent.ListenableFuture<INotificationManagerServiceOuterClass.INotificationManagerServiceGetNotificationRegistrationResponse> getNotificationRegistration(INotificationManagerServiceOuterClass.INotificationManagerServiceGetNotificationRegistrationRequest request) / <summary> / Queries information about an Notification / </summary> / <param name="notificationNameId">NotificationNameId</param> / <returns>data structure to describe the Notification</returns>com.google.common.util.concurrent.ListenableFuture<INotificationManagerServiceOuterClass.INotificationManagerServiceGetNumberOfSubmittedNotificationsResponse> getNumberOfSubmittedNotifications(com.google.protobuf.Empty request) / <summary> / Returns the number of Notifications submitted since startup of the controller / </summary> / <returns>number of submitted notifications</returns>com.google.common.util.concurrent.ListenableFuture<INotificationManagerServiceOuterClass.INotificationManagerServiceGetPayloadTypeIdResponse> getPayloadTypeId(INotificationManagerServiceOuterClass.INotificationManagerServiceGetPayloadTypeIdRequest request) / <summary> / Query an id for a given PayloadType / </summary> / <param name="payloadTypeName">Name fo the payload type</param> / <returns>id of the payload type</returns>com.google.common.util.concurrent.ListenableFuture<INotificationManagerServiceOuterClass.INotificationManagerServiceGetPayloadTypeNameResponse> getPayloadTypeName(INotificationManagerServiceOuterClass.INotificationManagerServiceGetPayloadTypeNameRequest request) / <summary> / Query the payload type name of a given id / </summary> / <param name="payloadTypeId">id of the payload type</param> / <returns>name of the payload type</returns>com.google.common.util.concurrent.ListenableFuture<INotificationManagerServiceOuterClass.INotificationManagerServiceRegisterNotificationResponse> registerNotification(INotificationManagerServiceOuterClass.INotificationManagerServiceRegisterNotificationRequest request) / <summary> / Registers a new Notification / </summary> / <param name="notificationName">name of the notification (e.g.com.google.common.util.concurrent.ListenableFuture<INotificationManagerServiceOuterClass.INotificationManagerServiceSendNotificationResponse> sendNotification(INotificationManagerServiceOuterClass.INotificationManagerServiceSendNotificationRequest request) / <summary> / Sends a notification / </summary> / <param name="notificationNameId">id of the NotificationName to send</param> / <param name="timestamp">Current timestamp</param> / <param name="payload">payload to send</param> / <returns>NotificationId</returns>com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> unregisterNotification(INotificationManagerServiceOuterClass.INotificationManagerServiceUnregisterNotificationRequest request) / <summary> / Unregisters a Nototification / </summary> / <param name="notificationNameId">id of the NotificationName to unregister</param>Methods inherited from class io.grpc.stub.AbstractFutureStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
-
Constructor Details
-
INotificationManagerServiceFutureStub
private INotificationManagerServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
-
-
Method Details
-
build
protected INotificationManagerServiceGrpc.INotificationManagerServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<INotificationManagerServiceGrpc.INotificationManagerServiceFutureStub>
-
registerNotification
public com.google.common.util.concurrent.ListenableFuture<INotificationManagerServiceOuterClass.INotificationManagerServiceRegisterNotificationResponse> registerNotification(INotificationManagerServiceOuterClass.INotificationManagerServiceRegisterNotificationRequest request) / <summary> / Registers a new Notification / </summary> / <param name="notificationName">name of the notification (e.g. Arp.System.Nm.SomethingInterestingHappened)</param> / <param name="senderName">name of the sender of the notification</param> / <param name="severity">severity of the notification</param> / <param name="payloadTypeName">name of the payload type</param> / <returns>NotificationNameId, necessary for sending and unregistering</returns>
-
unregisterNotification
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> unregisterNotification(INotificationManagerServiceOuterClass.INotificationManagerServiceUnregisterNotificationRequest request) / <summary> / Unregisters a Nototification / </summary> / <param name="notificationNameId">id of the NotificationName to unregister</param>
-
sendNotification
public com.google.common.util.concurrent.ListenableFuture<INotificationManagerServiceOuterClass.INotificationManagerServiceSendNotificationResponse> sendNotification(INotificationManagerServiceOuterClass.INotificationManagerServiceSendNotificationRequest request) / <summary> / Sends a notification / </summary> / <param name="notificationNameId">id of the NotificationName to send</param> / <param name="timestamp">Current timestamp</param> / <param name="payload">payload to send</param> / <returns>NotificationId</returns>
-
getNotificationName
public com.google.common.util.concurrent.ListenableFuture<INotificationManagerServiceOuterClass.INotificationManagerServiceGetNotificationNameResponse> getNotificationName(INotificationManagerServiceOuterClass.INotificationManagerServiceGetNotificationNameRequest request) / <summary> / Queries the NotifictionName / </summary> / <param name="notificationNameId">NotificationNameId</param> / <returns>NotificationName</returns>
-
getNotificationNameId
public com.google.common.util.concurrent.ListenableFuture<INotificationManagerServiceOuterClass.INotificationManagerServiceGetNotificationNameIdResponse> getNotificationNameId(INotificationManagerServiceOuterClass.INotificationManagerServiceGetNotificationNameIdRequest request) / <summary> / Queries the id of an NotificationName / </summary> / <param name="notificationName">NotificationName</param> / <returns>NotificationNameId</returns>
-
getNotificationNameIdsByStatus
public com.google.common.util.concurrent.ListenableFuture<INotificationManagerServiceOuterClass.INotificationManagerServiceGetNotificationNameIdsByStatusResponse> getNotificationNameIdsByStatus(INotificationManagerServiceOuterClass.INotificationManagerServiceGetNotificationNameIdsByStatusRequest request) / <summary> / Queries the ids of Notifications with a given NotificationRegistrationStatus / </summary> / <param name="status">status of the queried Notifications</param> / <returns>collection of matching NotificationNameIds</returns>
-
getAllKnownNotificationNameIds
public com.google.common.util.concurrent.ListenableFuture<INotificationManagerServiceOuterClass.INotificationManagerServiceGetAllKnownNotificationNameIdsResponse> getAllKnownNotificationNameIds(com.google.protobuf.Empty request) / <summary> / Queries of all known NotificationNameIds / </summary> / <returns>collection of all known NotificationNameIds</returns>
-
getNotificationRegistration
public com.google.common.util.concurrent.ListenableFuture<INotificationManagerServiceOuterClass.INotificationManagerServiceGetNotificationRegistrationResponse> getNotificationRegistration(INotificationManagerServiceOuterClass.INotificationManagerServiceGetNotificationRegistrationRequest request) / <summary> / Queries information about an Notification / </summary> / <param name="notificationNameId">NotificationNameId</param> / <returns>data structure to describe the Notification</returns>
-
getPayloadTypeId
public com.google.common.util.concurrent.ListenableFuture<INotificationManagerServiceOuterClass.INotificationManagerServiceGetPayloadTypeIdResponse> getPayloadTypeId(INotificationManagerServiceOuterClass.INotificationManagerServiceGetPayloadTypeIdRequest request) / <summary> / Query an id for a given PayloadType / </summary> / <param name="payloadTypeName">Name fo the payload type</param> / <returns>id of the payload type</returns>
-
getPayloadTypeName
public com.google.common.util.concurrent.ListenableFuture<INotificationManagerServiceOuterClass.INotificationManagerServiceGetPayloadTypeNameResponse> getPayloadTypeName(INotificationManagerServiceOuterClass.INotificationManagerServiceGetPayloadTypeNameRequest request) / <summary> / Query the payload type name of a given id / </summary> / <param name="payloadTypeId">id of the payload type</param> / <returns>name of the payload type</returns>
-
getNumberOfSubmittedNotifications
public com.google.common.util.concurrent.ListenableFuture<INotificationManagerServiceOuterClass.INotificationManagerServiceGetNumberOfSubmittedNotificationsResponse> getNumberOfSubmittedNotifications(com.google.protobuf.Empty request) / <summary> / Returns the number of Notifications submitted since startup of the controller / </summary> / <returns>number of submitted notifications</returns>
-