Modifier and Type | Method and Description |
---|---|
ClientNetworkAdapter |
createClientNetworkAdapter(ClientContext clientCtx,
ServerHost serverHost) |
ServerConnector |
createServerConnector(ServerContext ctx) |
static NetIoType |
fromString(java.lang.String name) |
StreamWrapper |
getStreamWrapper() |
static NetIoType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NetIoType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NetIoType IO
public static final NetIoType IO_CRYPT
public static NetIoType[] values()
for (NetIoType c : NetIoType.values()) System.out.println(c);
public static NetIoType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic StreamWrapper getStreamWrapper()
public static NetIoType fromString(java.lang.String name)
public ServerConnector createServerConnector(ServerContext ctx) throws java.lang.Exception
java.lang.Exception
public ClientNetworkAdapter createClientNetworkAdapter(ClientContext clientCtx, ServerHost serverHost)
Copyright © 2014 EsprIT-Systems. All Rights Reserved.