osl.manager
Class ActorManagerName

java.lang.Object
  |
  +--osl.manager.ActorManagerName

public class ActorManagerName
extends java.lang.Object
implements java.io.Serializable

Instances of this class are used to represent actor manager "names". An actor manager name is required for manager specific services such as remote creation or migration. We have standardized the representation of actor manager names as different implementations of the ActorManager class require a common representation of one another in order to interact. Manager implementations which require more extensive functionality can extend this class as appropriate. Note that actor manager names must be serializable so that they may be passed through the transport layer.

Version:
$Revision: 1.3 $ ($Date: 1998/06/12 21:32:12 $)
See Also:
ActorManager, Name, Serialized Form

Field Summary
 Name managerName
          The nameservice name associated with this manager.
 int managerType
          This field indicates the "type" of this actor manager.
static int MGR_BASIC
          A constant identifying the "basic" implementation of the manager package.
 
Constructor Summary
ActorManagerName()
          The default constructor.
ActorManagerName(int type, Name name)
          The usual constructor used to create manager names.
 
Method Summary
 boolean equals(java.lang.Object other)
          Equality testing for manager names.
 int hashCode()
          Hashing for manager names.
 java.lang.String toString()
          A useful method for debugging.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

managerType

public int managerType
This field indicates the "type" of this actor manager. This information may be useful to other managers for determining what services are accessible at a remote manager.

managerName

public Name managerName
The nameservice name associated with this manager. This field should be used when sending messages to this actor using the request handler classes.

MGR_BASIC

public static final int MGR_BASIC
A constant identifying the "basic" implementation of the manager package. A basic actor manager only supports those abstract services defined in the ActorManager class and the remote interface defined by the RemoteActorManage interface.
Constructor Detail

ActorManagerName

public ActorManagerName()
The default constructor. Note that this constructor does not create a legal name.

ActorManagerName

public ActorManagerName(int type,
                        Name name)
The usual constructor used to create manager names. This constructor will usually only be invoked by actor managers when they are instantiated.
Method Detail

equals

public boolean equals(java.lang.Object other)
Equality testing for manager names. Careful if you override this.
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Hashing for manager names. Careful if you override this.
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
A useful method for debugging.
Overrides:
toString in class java.lang.Object