Package Arp.System.Nm.Services.Grpc
Class INotificationManagerServiceGrpc.INotificationManagerServiceStub
java.lang.Object
io.grpc.stub.AbstractStub<INotificationManagerServiceGrpc.INotificationManagerServiceStub>
io.grpc.stub.AbstractAsyncStub<INotificationManagerServiceGrpc.INotificationManagerServiceStub>
Arp.System.Nm.Services.Grpc.INotificationManagerServiceGrpc.INotificationManagerServiceStub
- Enclosing class:
INotificationManagerServiceGrpc
public static final class INotificationManagerServiceGrpc.INotificationManagerServiceStub
extends io.grpc.stub.AbstractAsyncStub<INotificationManagerServiceGrpc.INotificationManagerServiceStub>
-
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
ConstructorsModifierConstructorDescriptionprivateINotificationManagerServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) voidgetAllKnownNotificationNameIds(com.google.protobuf.Empty request, io.grpc.stub.StreamObserver<INotificationManagerServiceOuterClass.INotificationManagerServiceGetAllKnownNotificationNameIdsResponse> responseObserver) / <summary> / Queries of all known NotificationNameIds / </summary> / <returns>collection of all known NotificationNameIds</returns>voidgetNotificationName(INotificationManagerServiceOuterClass.INotificationManagerServiceGetNotificationNameRequest request, io.grpc.stub.StreamObserver<INotificationManagerServiceOuterClass.INotificationManagerServiceGetNotificationNameResponse> responseObserver) / <summary> / Queries the NotifictionName / </summary> / <param name="notificationNameId">NotificationNameId</param> / <returns>NotificationName</returns>voidgetNotificationNameId(INotificationManagerServiceOuterClass.INotificationManagerServiceGetNotificationNameIdRequest request, io.grpc.stub.StreamObserver<INotificationManagerServiceOuterClass.INotificationManagerServiceGetNotificationNameIdResponse> responseObserver) / <summary> / Queries the id of an NotificationName / </summary> / <param name="notificationName">NotificationName</param> / <returns>NotificationNameId</returns>voidgetNotificationNameIdsByStatus(INotificationManagerServiceOuterClass.INotificationManagerServiceGetNotificationNameIdsByStatusRequest request, io.grpc.stub.StreamObserver<INotificationManagerServiceOuterClass.INotificationManagerServiceGetNotificationNameIdsByStatusResponse> responseObserver) / <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>voidgetNotificationRegistration(INotificationManagerServiceOuterClass.INotificationManagerServiceGetNotificationRegistrationRequest request, io.grpc.stub.StreamObserver<INotificationManagerServiceOuterClass.INotificationManagerServiceGetNotificationRegistrationResponse> responseObserver) / <summary> / Queries information about an Notification / </summary> / <param name="notificationNameId">NotificationNameId</param> / <returns>data structure to describe the Notification</returns>voidgetNumberOfSubmittedNotifications(com.google.protobuf.Empty request, io.grpc.stub.StreamObserver<INotificationManagerServiceOuterClass.INotificationManagerServiceGetNumberOfSubmittedNotificationsResponse> responseObserver) / <summary> / Returns the number of Notifications submitted since startup of the controller / </summary> / <returns>number of submitted notifications</returns>voidgetPayloadTypeId(INotificationManagerServiceOuterClass.INotificationManagerServiceGetPayloadTypeIdRequest request, io.grpc.stub.StreamObserver<INotificationManagerServiceOuterClass.INotificationManagerServiceGetPayloadTypeIdResponse> responseObserver) / <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>voidgetPayloadTypeName(INotificationManagerServiceOuterClass.INotificationManagerServiceGetPayloadTypeNameRequest request, io.grpc.stub.StreamObserver<INotificationManagerServiceOuterClass.INotificationManagerServiceGetPayloadTypeNameResponse> responseObserver) / <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>voidregisterNotification(INotificationManagerServiceOuterClass.INotificationManagerServiceRegisterNotificationRequest request, io.grpc.stub.StreamObserver<INotificationManagerServiceOuterClass.INotificationManagerServiceRegisterNotificationResponse> responseObserver) / <summary> / Registers a new Notification / </summary> / <param name="notificationName">name of the notification (e.g.voidsendNotification(INotificationManagerServiceOuterClass.INotificationManagerServiceSendNotificationRequest request, io.grpc.stub.StreamObserver<INotificationManagerServiceOuterClass.INotificationManagerServiceSendNotificationResponse> responseObserver) / <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>voidunregisterNotification(INotificationManagerServiceOuterClass.INotificationManagerServiceUnregisterNotificationRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) / <summary> / Unregisters a Nototification / </summary> / <param name="notificationNameId">id of the NotificationName to unregister</param>Methods inherited from class io.grpc.stub.AbstractAsyncStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
-
Constructor Details
-
INotificationManagerServiceStub
private INotificationManagerServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
-
-
Method Details
-
build
protected INotificationManagerServiceGrpc.INotificationManagerServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<INotificationManagerServiceGrpc.INotificationManagerServiceStub>
-
registerNotification
public void registerNotification(INotificationManagerServiceOuterClass.INotificationManagerServiceRegisterNotificationRequest request, io.grpc.stub.StreamObserver<INotificationManagerServiceOuterClass.INotificationManagerServiceRegisterNotificationResponse> responseObserver) / <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 void unregisterNotification(INotificationManagerServiceOuterClass.INotificationManagerServiceUnregisterNotificationRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) / <summary> / Unregisters a Nototification / </summary> / <param name="notificationNameId">id of the NotificationName to unregister</param>
-
sendNotification
public void sendNotification(INotificationManagerServiceOuterClass.INotificationManagerServiceSendNotificationRequest request, io.grpc.stub.StreamObserver<INotificationManagerServiceOuterClass.INotificationManagerServiceSendNotificationResponse> responseObserver) / <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 void getNotificationName(INotificationManagerServiceOuterClass.INotificationManagerServiceGetNotificationNameRequest request, io.grpc.stub.StreamObserver<INotificationManagerServiceOuterClass.INotificationManagerServiceGetNotificationNameResponse> responseObserver) / <summary> / Queries the NotifictionName / </summary> / <param name="notificationNameId">NotificationNameId</param> / <returns>NotificationName</returns>
-
getNotificationNameId
public void getNotificationNameId(INotificationManagerServiceOuterClass.INotificationManagerServiceGetNotificationNameIdRequest request, io.grpc.stub.StreamObserver<INotificationManagerServiceOuterClass.INotificationManagerServiceGetNotificationNameIdResponse> responseObserver) / <summary> / Queries the id of an NotificationName / </summary> / <param name="notificationName">NotificationName</param> / <returns>NotificationNameId</returns>
-
getNotificationNameIdsByStatus
public void getNotificationNameIdsByStatus(INotificationManagerServiceOuterClass.INotificationManagerServiceGetNotificationNameIdsByStatusRequest request, io.grpc.stub.StreamObserver<INotificationManagerServiceOuterClass.INotificationManagerServiceGetNotificationNameIdsByStatusResponse> responseObserver) / <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 void getAllKnownNotificationNameIds(com.google.protobuf.Empty request, io.grpc.stub.StreamObserver<INotificationManagerServiceOuterClass.INotificationManagerServiceGetAllKnownNotificationNameIdsResponse> responseObserver) / <summary> / Queries of all known NotificationNameIds / </summary> / <returns>collection of all known NotificationNameIds</returns>
-
getNotificationRegistration
public void getNotificationRegistration(INotificationManagerServiceOuterClass.INotificationManagerServiceGetNotificationRegistrationRequest request, io.grpc.stub.StreamObserver<INotificationManagerServiceOuterClass.INotificationManagerServiceGetNotificationRegistrationResponse> responseObserver) / <summary> / Queries information about an Notification / </summary> / <param name="notificationNameId">NotificationNameId</param> / <returns>data structure to describe the Notification</returns>
-
getPayloadTypeId
public void getPayloadTypeId(INotificationManagerServiceOuterClass.INotificationManagerServiceGetPayloadTypeIdRequest request, io.grpc.stub.StreamObserver<INotificationManagerServiceOuterClass.INotificationManagerServiceGetPayloadTypeIdResponse> responseObserver) / <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 void getPayloadTypeName(INotificationManagerServiceOuterClass.INotificationManagerServiceGetPayloadTypeNameRequest request, io.grpc.stub.StreamObserver<INotificationManagerServiceOuterClass.INotificationManagerServiceGetPayloadTypeNameResponse> responseObserver) / <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 void getNumberOfSubmittedNotifications(com.google.protobuf.Empty request, io.grpc.stub.StreamObserver<INotificationManagerServiceOuterClass.INotificationManagerServiceGetNumberOfSubmittedNotificationsResponse> responseObserver) / <summary> / Returns the number of Notifications submitted since startup of the controller / </summary> / <returns>number of submitted notifications</returns>
-