查看本类的 API文档回源码主页即时通讯网 - 即时通讯开发者社区!
1   /*
2    * Copyright 2011 The Netty Project
3    *
4    * The Netty Project licenses this file to you under the Apache License,
5    * version 2.0 (the "License"); you may not use this file except in compliance
6    * with the License. You may obtain a copy of the License at:
7    *
8    * https://www.apache.org/licenses/LICENSE-2.0
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12   * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13   * License for the specific language governing permissions and limitations
14   * under the License.
15   */
16  package com.sun.nio.sctp;
17  
18  import java.net.SocketAddress;
19  
20  @SuppressWarnings("all")
21  public class SctpStandardSocketOptions {
22      static {
23          UnsupportedOperatingSystemException.raise();
24      }
25  
26      public static final SctpSocketOption<Boolean> SCTP_DISABLE_FRAGMENTS = null;
27      public static final SctpSocketOption<Boolean> SCTP_EXPLICIT_COMPLETE = null;
28      public static final SctpSocketOption<Integer> SCTP_FRAGMENT_INTERLEAVE = null;
29      public static final SctpSocketOption<InitMaxStreams> SCTP_INIT_MAXSTREAMS = null;
30      public static final SctpSocketOption<Boolean> SCTP_NODELAY = null;
31      public static final SctpSocketOption<SocketAddress> SCTP_PRIMARY_ADDR = null;
32      public static final SctpSocketOption<SocketAddress> SCTP_SET_PEER_PRIMARY_ADDR = null;
33      public static final SctpSocketOption<Integer> SO_LINGER = null;
34      public static final SctpSocketOption<Integer> SO_RCVBUF = null;
35      public static final SctpSocketOption<Integer> SO_SNDBUF = null;
36  
37      public static class InitMaxStreams {
38  
39          public static InitMaxStreams create(int i, int i1) {
40              return null;
41          }
42  
43          public int maxInStreams() {
44              return 0;
45          }
46  
47          public int maxOutStreams() {
48              return 0;
49          }
50  
51      }
52  }