|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectfabric.common.net.naming.DefaultNameService
public class DefaultNameService
| Nested Class Summary | |
|---|---|
static class |
DefaultNameService.PortType
|
| Constructor Summary | |
|---|---|
DefaultNameService(DefaultNameService.PortType portType)
Loads the entries in the name service from properties files in a directory. |
|
| Method Summary | |
|---|---|
SocketAddress |
localResolve(java.lang.String name)
Create a socket address suitable for listening on. |
SocketAddress |
resolve(java.lang.String name)
Create a socket address suitable for connecting to. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultNameService(DefaultNameService.PortType portType)
throws java.io.IOException
portType - the type of port number to read.
java.io.IOException| Method Detail |
|---|
public SocketAddress localResolve(java.lang.String name)
NameService
localResolve in interface NameServicepublic SocketAddress resolve(java.lang.String name)
NameService
resolve in interface NameService
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||