Package Arp.System.Nm.Services.Grpc
Class INotificationManagerServiceGrpc.INotificationManagerServiceBlockingStub
java.lang.Object
io.grpc.stub.AbstractStub<INotificationManagerServiceGrpc.INotificationManagerServiceBlockingStub>
io.grpc.stub.AbstractBlockingStub<INotificationManagerServiceGrpc.INotificationManagerServiceBlockingStub>
Arp.System.Nm.Services.Grpc.INotificationManagerServiceGrpc.INotificationManagerServiceBlockingStub
- Enclosing class:
INotificationManagerServiceGrpc
public static final class INotificationManagerServiceGrpc.INotificationManagerServiceBlockingStub
extends io.grpc.stub.AbstractBlockingStub<INotificationManagerServiceGrpc.INotificationManagerServiceBlockingStub>
-
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
ConstructorsModifierConstructorDescriptionprivateINotificationManagerServiceBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) getAllKnownNotificationNameIds(com.google.protobuf.Empty request) / <summary> / Queries of all known NotificationNameIds / </summary> / <returns>collection of all known NotificationNameIds</returns>getNotificationName(INotificationManagerServiceOuterClass.INotificationManagerServiceGetNotificationNameRequest request) / <summary> / Queries the NotifictionName / </summary> / <param name="notificationNameId">NotificationNameId</param> / <returns>NotificationName</returns>getNotificationNameId(INotificationManagerServiceOuterClass.INotificationManagerServiceGetNotificationNameIdRequest request) / <summary> / Queries the id of an NotificationName / </summary> / <param name="notificationName">NotificationName</param> / <returns>NotificationNameId</returns>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>INotificationManagerServiceOuterClass.INotificationManagerServiceGetNotificationRegistrationResponsegetNotificationRegistration(INotificationManagerServiceOuterClass.INotificationManagerServiceGetNotificationRegistrationRequest request) / <summary> / Queries information about an Notification / </summary> / <param name="notificationNameId">NotificationNameId</param> / <returns>data structure to describe the Notification</returns>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>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(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>registerNotification(INotificationManagerServiceOuterClass.INotificationManagerServiceRegisterNotificationRequest request) / <summary> / Registers a new Notification / </summary> / <param name="notificationName">name of the notification (e.g.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.protobuf.EmptyunregisterNotification(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.AbstractBlockingStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
-
Constructor Details
-
INotificationManagerServiceBlockingStub
private INotificationManagerServiceBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
-
-
Method Details
-
build
protected INotificationManagerServiceGrpc.INotificationManagerServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<INotificationManagerServiceGrpc.INotificationManagerServiceBlockingStub>
-
registerNotification
public 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.protobuf.Empty unregisterNotification(INotificationManagerServiceOuterClass.INotificationManagerServiceUnregisterNotificationRequest request) / <summary> / Unregisters a Nototification / </summary> / <param name="notificationNameId">id of the NotificationName to unregister</param>
-
sendNotification
public 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 INotificationManagerServiceOuterClass.INotificationManagerServiceGetNotificationNameResponse getNotificationName(INotificationManagerServiceOuterClass.INotificationManagerServiceGetNotificationNameRequest request) / <summary> / Queries the NotifictionName / </summary> / <param name="notificationNameId">NotificationNameId</param> / <returns>NotificationName</returns>
-
getNotificationNameId
public INotificationManagerServiceOuterClass.INotificationManagerServiceGetNotificationNameIdResponse getNotificationNameId(INotificationManagerServiceOuterClass.INotificationManagerServiceGetNotificationNameIdRequest request) / <summary> / Queries the id of an NotificationName / </summary> / <param name="notificationName">NotificationName</param> / <returns>NotificationNameId</returns>
-
getNotificationNameIdsByStatus
public 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 INotificationManagerServiceOuterClass.INotificationManagerServiceGetAllKnownNotificationNameIdsResponse getAllKnownNotificationNameIds(com.google.protobuf.Empty request) / <summary> / Queries of all known NotificationNameIds / </summary> / <returns>collection of all known NotificationNameIds</returns>
-
getNotificationRegistration
public 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 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 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 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>
-