com.neeve.emx
Class EmxNwLnkInetAddr
java.lang.Object
com.neeve.emx.EmxNwLnkInetAddr
public final class EmxNwLnkInetAddr
- extends Object
Represents the address portion of a descriptor config string as an inet addr.
This class interprets the address portion of the config string in a Neeve
network link descriptor as an inet address i.e. it parese the address as
a string of the form host:port.
- Threading:
- This class is safe for concurrent access by multiple threads.
host
public final String host
port
public final int port
parse
public static EmxNwLnkInetAddr parse(String addr)
throws IllegalArgumentException
- Parse an inet addr string into its components.
- Parameters:
addr
- The inet addr string.
- Throws:
IllegalArgumentException
- Thrown in case the addr string
string is not of the format host:post
Copyright © 2015 Neeve Research, LLC. All Rights Reserved.