• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 package software.amazon.awssdk.crt.eventstream;
2 
3 /**
4  * Java mirror of the native aws_event_stream_rpc_message_flag enum, specifying rpc message-related flags
5  */
6 public enum MessageFlags {
7     ConnectionAccepted(1),
8     TerminateStream(2);
9 
10     private int byteValue;
11 
MessageFlags(int byteValue)12     MessageFlags(int byteValue) {
13         this.byteValue = byteValue;
14     }
15 
16     /**
17      * @return the native enum value associated with this Java enum value
18      */
getByteValue()19     public int getByteValue() {
20         return this.byteValue;
21     }
22 }
23