All Packages Class Hierarchy This Package Previous Next Index
Class edu.cmu.owl.so.nameservice.NameServerImpl
edu.cmu.owl.so.nameservice.NameServerImpl
- public class NameServerImpl
- implements NameServer
This class implements the functionality of the NameServer
-
KEEPALIVE_FREQUENCY
- The frequency, in minutes, at which the NameServer will try and
"ping" the listed Nameable objects.
-
NameServerImpl()
- default contructor: just creates the hashtables
-
bindName(String, String)
- This method allows the binding of a string to a string
-
bindNameable(Object, Nameable)
- This method allows the binding of a key to a Nameable object
-
lookupName(String)
- this is the actual lookup procedure on the server
-
lookupNameable(Object)
-
-
main(String[])
- Start the naming server
-
rebindName(String, String)
- this method allows the rebinding of a name instead of an
unbind/bind combination
-
rebindNameable(Object, Nameable)
- this method allows the rebinding of a key instead of an
unbind/bind combination
-
unBindName(String)
- this method allows the removal of a binding to a name
-
unBindNameable(Object)
- this method allows you to remove a binding
KEEPALIVE_FREQUENCY
public static final int KEEPALIVE_FREQUENCY
- The frequency, in minutes, at which the NameServer will try and
"ping" the listed Nameable objects.
NameServerImpl
public NameServerImpl() throws RemoteException
- default contructor: just creates the hashtables
bindName
public void bindName(String name,
String information) throws RemoteException, AlreadyBoundException
- This method allows the binding of a string to a string
rebindName
public void rebindName(String name,
String newInformation) throws RemoteException
- this method allows the rebinding of a name instead of an
unbind/bind combination
unBindName
public void unBindName(String name) throws RemoteException, NoBindingException
- this method allows the removal of a binding to a name
lookupName
public String lookupName(String name) throws RemoteException, NoBindingException
- this is the actual lookup procedure on the server
bindNameable
public void bindNameable(Object key,
Nameable target) throws RemoteException, AlreadyBoundException, NotAccessibleException
- This method allows the binding of a key to a Nameable object
rebindNameable
public void rebindNameable(Object key,
Nameable newTarget) throws RemoteException, NotAccessibleException
- this method allows the rebinding of a key instead of an
unbind/bind combination
unBindNameable
public void unBindNameable(Object key) throws RemoteException, NoBindingException
- this method allows you to remove a binding
lookupNameable
public Nameable lookupNameable(Object key) throws RemoteException, NoBindingException
main
public static void main(String arguments[])
- Start the naming server
All Packages Class Hierarchy This Package Previous Next Index