|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.vattp.data.NetConfig
Safe:
Field Summary | |
private ConstList |
myListenAddrPath
|
private ConstList |
mySearchPath
|
private ConstList |
myVLSPath
|
static StaticMaker |
NetConfigMaker
Enabled: |
private static long |
serialVersionUID
|
Fields inherited from interface org.erights.e.elib.serial.Persistent |
HONORARY, HONORED_NAMES |
Fields inherited from interface org.erights.e.elib.serial.DeepPassByCopy |
HONORARY, HONORED_NAMES |
Constructor Summary | |
NetConfig()
Enabled: |
|
NetConfig(ConstList vlsPath,
ConstList searchPath,
ConstList listenAddrPath)
Enabled: |
Method Summary | |
void |
__printOn(TextWriter out)
Enabled: |
ConstList |
getListenAddrPath()
Enabled: If we're on the air, this must be the TCP/IP addresses of our socket. |
ConstList |
getSearchPath()
Enabled: Where others should look for me. |
Object[] |
getSpreadUncall()
Enabled: Uses 'NetConfigMaker(vlsPath, searchPath, listenAddrPath)'. |
ConstList |
getVLSPath()
Enabled: Where I register so others can find me. |
static NetConfig |
make(ConstMap optProps)
Enabled: Make a NetConfig initialized from configuration propoerties (as might be provided by eprops.txt or "-D" on the command line). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final long serialVersionUID
public static final StaticMaker NetConfigMaker
private final ConstList myVLSPath
private final ConstList mySearchPath
private final ConstList myListenAddrPath
Constructor Detail |
public NetConfig()
public NetConfig(ConstList vlsPath, ConstList searchPath, ConstList listenAddrPath)
Method Detail |
public static NetConfig make(ConstMap optProps)
public Object[] getSpreadUncall()
getSpreadUncall
in interface Selfless
public ConstList getVLSPath()
public ConstList getSearchPath()
Usually the same as myVLSPath + myself, but may have further difference because of NAT (Network Address Translation -- a common bad firewall technique). Configuration parameter read as a JavaBeans property.
public ConstList getListenAddrPath()
(XXX in what format?)
If we're not yet on the air and this isn't empty, it says what socket addresses are preferred -- nothing more. Configuration parameter read as a JavaBeans property.
public void __printOn(TextWriter out) throws IOException
IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |