public final class TCPIPProtocolID extends ProtocolID
Modifier and Type | Field and Description |
---|---|
private static TCPIPProtocolID |
instance
Singleton instance of this class
|
Modifier | Constructor and Description |
---|---|
private |
TCPIPProtocolID()
Default private constructor
|
Modifier and Type | Method and Description |
---|---|
static TCPIPProtocolID |
getInstance()
Gets the singleton instance of this class
|
protected NodeAddress |
parse(java.lang.String addressString)
Parses a string to recreate a TCPIPNodeAddress object
|
private static TCPIPProtocolID instance
public static TCPIPProtocolID getInstance()
protected NodeAddress parse(java.lang.String addressString) throws java.lang.IllegalArgumentException
parse
in class ProtocolID
addressString
- String representing the addressjava.lang.IllegalArgumentException
- Thrown if the address is not in a correct form