|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.distinct.rpc.NetDB
Database for RPC service names.
RPCEntry| Constructor Summary | |
NetDB(java.io.File file)
Creates a new RPC service name database and initializes it from a local file. |
|
NetDB(java.net.URL url)
Creates a new RPC service name database and initializes it from a URL. |
|
| Method Summary | |
RPCEntry |
getrpcbyname(java.lang.String name)
Returns an RPCEntry describing the service identified by a given name. |
RPCEntry |
getrpcbynumber(int number)
Returns an RPCEntry describing the service identified by a given number. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public NetDB(java.io.File file)
throws java.io.IOException
file - The file that is used for initialization.
public NetDB(java.net.URL url)
throws java.io.IOException
url - The URL that is used for initialization.| Method Detail |
public RPCEntry getrpcbynumber(int number)
number - The number of the requested RPC service.
public RPCEntry getrpcbyname(java.lang.String name)
name - The name of the requested RPC service.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||