jdk/src/solaris/classes/sun/nio/ch/sctp/ResultContainer.java
changeset 12317 9670c1610c53
parent 11823 ee83ae88512d
child 14342 8435a30053c1
equal deleted inserted replaced
12316:ba6b7a51e226 12317:9670c1610c53
    22  * or visit www.oracle.com if you need additional information or have any
    22  * or visit www.oracle.com if you need additional information or have any
    23  * questions.
    23  * questions.
    24  */
    24  */
    25 package sun.nio.ch.sctp;
    25 package sun.nio.ch.sctp;
    26 
    26 
       
    27 import javax.tools.annotation.GenerateNativeHeader;
       
    28 
    27 /**
    29 /**
    28  * Wraps the actual message or notification so that it can be
    30  * Wraps the actual message or notification so that it can be
    29  * set and returned from the native receive implementation.
    31  * set and returned from the native receive implementation.
    30  */
    32  */
       
    33 /* No native methods here, but the constants are needed in the supporting JNI code */
       
    34 @GenerateNativeHeader
    31 public class ResultContainer {
    35 public class ResultContainer {
    32     /* static final ints so that they can be referenced from native */
    36     /* static final ints so that they can be referenced from native */
    33     static final int NOTHING = 0;
    37     static final int NOTHING = 0;
    34     static final int MESSAGE = 1;
    38     static final int MESSAGE = 1;
    35     static final int SEND_FAILED = 2;
    39     static final int SEND_FAILED = 2;