syntax = "proto3"; package fincleartech.ibroker; option java_package = "io.fincleartech.protobuf.ibroker.subscribe"; option java_multiple_files = true; import "fincleartech/ibroker/settlement.proto"; // Marks a message as acknowledged. An acknowledged message is no longer delivered to a subscriber. message IBrokerAcknowledge { // Message identifier as specified in a received IBrokerMessage. string message_id = 1; } message IBrokerMessage { // Message identifier. string message_id = 1; // Message type. oneof message_type { InvalidRequestNotification invalid_request_notification = 2; ParticipantToParticipantTransferConfirmation participant_to_participant_transfer_confirmation = 3; AccountToAccountTransferConfirmation account_to_account_transfer_confirmation = 4; ParticipantToIssuerTransferConfirmation participant_to_issuer_transfer_confirmation = 5; IssuerToParticipantTransferConfirmation issuer_to_participant_transfer_confirmation = 6; ParticipantToIssuerConversionConfirmation participant_to_issuer_conversion_confirmation = 7; IssuerToParticipantConversionConfirmation issuer_to_participant_conversion_confirmation = 8; } } service IBrokerSubscribeService { // Asynchronous persistent subscription to IBroker notifications. rpc Subscribe (stream IBrokerAcknowledge) returns (stream IBrokerMessage); }