public final class TcpPort extends NamedNumber<Short,TcpPort>
Modifier and Type | Field and Description |
---|---|
static TcpPort |
FTP |
static TcpPort |
FTP_DATA |
static TcpPort |
HTTP |
static TcpPort |
SNMP |
static TcpPort |
SNMP_TRAP |
static TcpPort |
SSH |
static TcpPort |
TELNET |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(TcpPort o) |
static TcpPort |
getInstance(Short value) |
static TcpPort |
register(TcpPort port) |
int |
valueAsInt() |
String |
valueAsString() |
public static final TcpPort FTP_DATA
public static final TcpPort FTP
public static final TcpPort SSH
public static final TcpPort TELNET
public static final TcpPort HTTP
public static final TcpPort SNMP
public static final TcpPort SNMP_TRAP
public static TcpPort getInstance(Short value)
value
- public int valueAsInt()
public String valueAsString()
valueAsString
in class NamedNumber<Short,TcpPort>
public int compareTo(TcpPort o)
compareTo
in interface Comparable<TcpPort>
compareTo
in class NamedNumber<Short,TcpPort>
Copyright © 2014. All Rights Reserved.