com.sun.nio.sctp.SctpStandardSocketOptions.InitMaxStreams Java Examples

The following examples show how to use com.sun.nio.sctp.SctpStandardSocketOptions.InitMaxStreams. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: NettySctpManagementImpl.java    From sctp with GNU Affero General Public License v3.0 5 votes vote down vote up
public InitMaxStreams getOptionSctpInitMaxstreams() {
    if (optionSctpInitMaxstreams_MaxInStreams != null && optionSctpInitMaxstreams_MaxOutStreams != null) {
        return SctpStandardSocketOptions.InitMaxStreams.create(optionSctpInitMaxstreams_MaxInStreams,
                optionSctpInitMaxstreams_MaxOutStreams);
    } else {
        return null;
    }
}
 
Example #2
Source File: SctpChannelConfig.java    From netty-4.1.22 with Apache License 2.0 2 votes vote down vote up
/**
 * Gets the <a href="http://openjdk.java.net/projects/sctp/javadoc/com/sun/nio/sctp/SctpStandardSocketOption.html">
 *     {@code SCTP_INIT_MAXSTREAMS}</a> option.
 */
InitMaxStreams getInitMaxStreams();
 
Example #3
Source File: SctpChannelConfig.java    From netty-4.1.22 with Apache License 2.0 2 votes vote down vote up
/**
 * Gets the <a href="http://openjdk.java.net/projects/sctp/javadoc/com/sun/nio/sctp/SctpStandardSocketOption.html">
 *     {@code SCTP_INIT_MAXSTREAMS}</a> option.
 */
SctpChannelConfig setInitMaxStreams(InitMaxStreams initMaxStreams);
 
Example #4
Source File: SctpServerChannelConfig.java    From netty-4.1.22 with Apache License 2.0 2 votes vote down vote up
/**
 * Gets the <a href="http://openjdk.java.net/projects/sctp/javadoc/com/sun/nio/sctp/SctpStandardSocketOption.html">
 *     {@code SCTP_INIT_MAXSTREAMS}</a> option.
 */
InitMaxStreams getInitMaxStreams();
 
Example #5
Source File: SctpServerChannelConfig.java    From netty-4.1.22 with Apache License 2.0 2 votes vote down vote up
/**
 * Gets the <a href="http://openjdk.java.net/projects/sctp/javadoc/com/sun/nio/sctp/SctpStandardSocketOption.html">
 *     {@code SCTP_INIT_MAXSTREAMS}</a> option.
 */
SctpServerChannelConfig setInitMaxStreams(InitMaxStreams initMaxStreams);
 
Example #6
Source File: SctpChannelConfig.java    From netty4.0.27Learn with Apache License 2.0 2 votes vote down vote up
/**
 * Gets the <a href="http://openjdk.java.net/projects/sctp/javadoc/com/sun/nio/sctp/SctpStandardSocketOption.html">
 *     {@code SCTP_INIT_MAXSTREAMS}</a> option.
 */
InitMaxStreams getInitMaxStreams();
 
Example #7
Source File: SctpChannelConfig.java    From netty4.0.27Learn with Apache License 2.0 2 votes vote down vote up
/**
 * Gets the <a href="http://openjdk.java.net/projects/sctp/javadoc/com/sun/nio/sctp/SctpStandardSocketOption.html">
 *     {@code SCTP_INIT_MAXSTREAMS}</a> option.
 */
SctpChannelConfig setInitMaxStreams(InitMaxStreams initMaxStreams);
 
Example #8
Source File: SctpServerChannelConfig.java    From netty4.0.27Learn with Apache License 2.0 2 votes vote down vote up
/**
 * Gets the <a href="http://openjdk.java.net/projects/sctp/javadoc/com/sun/nio/sctp/SctpStandardSocketOption.html">
 *     {@code SCTP_INIT_MAXSTREAMS}</a> option.
 */
InitMaxStreams getInitMaxStreams();
 
Example #9
Source File: SctpServerChannelConfig.java    From netty4.0.27Learn with Apache License 2.0 2 votes vote down vote up
/**
 * Gets the <a href="http://openjdk.java.net/projects/sctp/javadoc/com/sun/nio/sctp/SctpStandardSocketOption.html">
 *     {@code SCTP_INIT_MAXSTREAMS}</a> option.
 */
SctpServerChannelConfig setInitMaxStreams(InitMaxStreams initMaxStreams);