JavaScript is disabled on your browser.
Summary:
Nested |
Field |
Constr |
Method
Detail:
Field |
Constr |
Method
Method Summary
All Methods Static Methods Instance Methods Concrete Methods
Modifier and Type
Method
Description
static SctpStandardSocketOptions.InitMaxStreams
create (int maxInStreams,
int maxOutStreams)
Creates an InitMaxStreams instance.
boolean
equals (Object obj)
Returns true if the specified object is another InitMaxStreams
instance with the same number of in and out bound streams.
int
hashCode ()
Returns a hash code value for this init max streams.
int
maxInStreams ()
Returns the maximum number of inbound streams.
int
maxOutStreams ()
Returns the maximum number of outbound streams.
String
toString ()
Returns a string representation of this init max streams, including
the maximum in and out bound streams.
Method Detail
create
public static SctpStandardSocketOptions.InitMaxStreams create(int maxInStreams,
int maxOutStreams)
Creates an InitMaxStreams instance.
Parameters:
maxInStreams
- The maximum number of inbound streams, where
0 <= maxInStreams <= 65536
maxOutStreams
- The maximum number of outbound streams, where
0 <= maxOutStreams <= 65536
Returns:
An InitMaxStreams
instance
Throws:
IllegalArgumentException
- If an argument is outside of specified bounds
Summary:
Nested |
Field |
Constr |
Method
Detail:
Field |
Constr |
Method
Report a bug or suggest an enhancement For further API reference and developer documentation see the Java SE Documentation , which contains more detailed, developer-targeted descriptions with conceptual overviews, definitions of terms, workarounds, and working code examples. Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries. Copyright © 1993, 2019, Oracle and/or its affiliates, 500 Oracle Parkway, Redwood Shores, CA 94065 USA. All rights reserved. Use is subject to license terms and the documentation redistribution policy .
Scripting on this page tracks web page traffic, but does not change the content in any way.