public static enum MTProtoEndpoint.EndpointType extends java.lang.Enum<MTProtoEndpoint.EndpointType>
| Modifier and Type | Method and Description |
|---|---|
static MTProtoEndpoint.EndpointType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MTProtoEndpoint.EndpointType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MTProtoEndpoint.EndpointType PLAIN_TCP
public static final MTProtoEndpoint.EndpointType TLS_TCP
public static MTProtoEndpoint.EndpointType[] values()
for (MTProtoEndpoint.EndpointType c : MTProtoEndpoint.EndpointType.values()) System.out.println(c);
public static MTProtoEndpoint.EndpointType 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 null