Added in API level 24
StandardProtocolFamily
public
final
enum
StandardProtocolFamily
extends Enum<StandardProtocolFamily>
implements
ProtocolFamily
java.lang.Object | ||
↳ | java.lang.Enum<java.net.StandardProtocolFamily> | |
↳ | java.net.StandardProtocolFamily |
Defines the standard families of communication protocols.
Summary
Enum values | |
---|---|
StandardProtocolFamily |
INET
Internet Protocol Version 4 (IPv4) |
StandardProtocolFamily |
INET6
Internet Protocol Version 6 (IPv6) |
StandardProtocolFamily |
UNIX
Unix domain (Local) interprocess communication. |
Public methods | |
---|---|
static
StandardProtocolFamily
|
valueOf(String name)
|
static
final
StandardProtocolFamily[]
|
values()
|
Inherited methods | |
---|---|
Enum values
INET
Added in API level 24
public static final StandardProtocolFamily INET
Internet Protocol Version 4 (IPv4)
INET6
Added in API level 24
public static final StandardProtocolFamily INET6
Internet Protocol Version 6 (IPv6)
UNIX
Added in API level 34
public static final StandardProtocolFamily UNIX
Unix domain (Local) interprocess communication.
Public methods
valueOf
public static StandardProtocolFamily valueOf (String name)
Parameters | |
---|---|
name |
String |
Returns | |
---|---|
StandardProtocolFamily |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2024-04-11 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]