Enum MessageType

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<MessageType>

    public enum MessageType
    extends java.lang.Enum<MessageType>
    • Enum Constant Detail

      • StartMessage

        public static final MessageType StartMessage
      • CompletionMessage

        public static final MessageType CompletionMessage
      • SuspensionMessage

        public static final MessageType SuspensionMessage
      • ErrorMessage

        public static final MessageType ErrorMessage
      • EndMessage

        public static final MessageType EndMessage
      • EntryAckMessage

        public static final MessageType EntryAckMessage
      • PollInputStreamEntryMessage

        public static final MessageType PollInputStreamEntryMessage
      • OutputStreamEntryMessage

        public static final MessageType OutputStreamEntryMessage
      • GetStateEntryMessage

        public static final MessageType GetStateEntryMessage
      • SetStateEntryMessage

        public static final MessageType SetStateEntryMessage
      • ClearStateEntryMessage

        public static final MessageType ClearStateEntryMessage
      • SleepEntryMessage

        public static final MessageType SleepEntryMessage
      • InvokeEntryMessage

        public static final MessageType InvokeEntryMessage
      • BackgroundInvokeEntryMessage

        public static final MessageType BackgroundInvokeEntryMessage
      • AwakeableEntryMessage

        public static final MessageType AwakeableEntryMessage
      • CompleteAwakeableEntryMessage

        public static final MessageType CompleteAwakeableEntryMessage
      • SideEffectEntryMessage

        public static final MessageType SideEffectEntryMessage
      • CombinatorAwaitableEntryMessage

        public static final MessageType CombinatorAwaitableEntryMessage
    • Field Detail

      • COMPLETION_MESSAGE_TYPE

        public static final short COMPLETION_MESSAGE_TYPE
        See Also:
        Constant Field Values
      • SUSPENSION_MESSAGE_TYPE

        public static final short SUSPENSION_MESSAGE_TYPE
        See Also:
        Constant Field Values
      • ENTRY_ACK_MESSAGE_TYPE

        public static final short ENTRY_ACK_MESSAGE_TYPE
        See Also:
        Constant Field Values
      • POLL_INPUT_STREAM_ENTRY_MESSAGE_TYPE

        public static final short POLL_INPUT_STREAM_ENTRY_MESSAGE_TYPE
        See Also:
        Constant Field Values
      • OUTPUT_STREAM_ENTRY_MESSAGE_TYPE

        public static final short OUTPUT_STREAM_ENTRY_MESSAGE_TYPE
        See Also:
        Constant Field Values
      • GET_STATE_ENTRY_MESSAGE_TYPE

        public static final short GET_STATE_ENTRY_MESSAGE_TYPE
        See Also:
        Constant Field Values
      • SET_STATE_ENTRY_MESSAGE_TYPE

        public static final short SET_STATE_ENTRY_MESSAGE_TYPE
        See Also:
        Constant Field Values
      • CLEAR_STATE_ENTRY_MESSAGE_TYPE

        public static final short CLEAR_STATE_ENTRY_MESSAGE_TYPE
        See Also:
        Constant Field Values
      • SLEEP_ENTRY_MESSAGE_TYPE

        public static final short SLEEP_ENTRY_MESSAGE_TYPE
        See Also:
        Constant Field Values
      • INVOKE_ENTRY_MESSAGE_TYPE

        public static final short INVOKE_ENTRY_MESSAGE_TYPE
        See Also:
        Constant Field Values
      • BACKGROUND_INVOKE_ENTRY_MESSAGE_TYPE

        public static final short BACKGROUND_INVOKE_ENTRY_MESSAGE_TYPE
        See Also:
        Constant Field Values
      • AWAKEABLE_ENTRY_MESSAGE_TYPE

        public static final short AWAKEABLE_ENTRY_MESSAGE_TYPE
        See Also:
        Constant Field Values
      • COMPLETE_AWAKEABLE_ENTRY_MESSAGE_TYPE

        public static final short COMPLETE_AWAKEABLE_ENTRY_MESSAGE_TYPE
        See Also:
        Constant Field Values
      • COMBINATOR_AWAITABLE_ENTRY_MESSAGE_TYPE

        public static final short COMBINATOR_AWAITABLE_ENTRY_MESSAGE_TYPE
        See Also:
        Constant Field Values
      • SIDE_EFFECT_ENTRY_MESSAGE_TYPE

        public static final short SIDE_EFFECT_ENTRY_MESSAGE_TYPE
        See Also:
        Constant Field Values
    • Method Detail

      • values

        public static MessageType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (MessageType c : MessageType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static MessageType valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • messageParser

        public com.google.protobuf.Parser<? extends com.google.protobuf.MessageLite> messageParser()
      • encode

        public short encode()