net.sourceforge.esw.transport
Interface INamespaceDelegate

All Known Implementing Classes:
RMINamespaceDelegate

public interface INamespaceDelegate

This class is delegate for the namepace system. Implement is to provide a different transport layer.


Method Summary
 void bind(java.lang.String aName, java.lang.Object aObject)
          Binds the specified Object to the Specified name in this VM's Namespace.
 void bind(java.lang.String aName, java.lang.Object aObject, java.lang.String aHost, java.lang.String aPort)
          Binds the specified Object to the Specified name in the specified hosts VM's Namespace.
 java.lang.Object lookup(java.lang.String aHost, java.lang.String aPort, java.lang.String aName)
          Performs a Peer to Peer lookup of a Object at the speicied host, the port on that host, and the name the object is bound to on that host.
 

Method Detail

bind

public void bind(java.lang.String aName,
                 java.lang.Object aObject)
          throws java.lang.Exception
Binds the specified Object to the Specified name in this VM's Namespace.

Parameters:
aName - the name with which to bind the specified object.
aObject - the Object to bind to the specified name.
Throws:
java.lang.Exception - if there is an error during the binding of the specified object.

bind

public void bind(java.lang.String aName,
                 java.lang.Object aObject,
                 java.lang.String aHost,
                 java.lang.String aPort)
          throws java.lang.Exception
Binds the specified Object to the Specified name in the specified hosts VM's Namespace.

Parameters:
aName - the name with which to bind the specified object.
aObject - the Object to bind to the specified name.
aHost - the name of the host with which to bind the specified object.
aPort - the port of the host with which to bind the specified object.
Throws:
java.lang.Exception - if there is an error during the binding of the specified object.

lookup

public java.lang.Object lookup(java.lang.String aHost,
                               java.lang.String aPort,
                               java.lang.String aName)
                        throws java.lang.Exception
Performs a Peer to Peer lookup of a Object at the speicied host, the port on that host, and the name the object is bound to on that host.

Parameters:
aHost - the name of the host with which to find the specified object.
aPort - the port of the host with which to find the specified object.
aName - the name with which to find the specified object.
Throws:
java.lang.Exception - id there is an error during the lookup of the object.


Copyright 2002 Free Software Foundation. All Rights Reserved.