satin.aro
Class AROremoteObject

java.lang.Object
  |
  +--satin.aro.AROobject
        |
        +--satin.aro.AROremoteObject
Direct Known Subclasses:
AObject, GenericPlayer, MacIntoshOS, MacWindow, MicrosoftOS, MSwindow, RemoteFile, RemoteParamSet, RemoteProcess, StatusDisplay

public class AROremoteObject
extends AROobject

Used by an ARO client to represent an object in an ARO server. This class is never used inside ARO servers.

Author:
Ed Stauff

Field Summary
final AROremoteServer server
          The ARO server from which this object originated.
 
Fields inherited from class satin.aro.AROobject
id
 
Constructor Summary
protected AROremoteObject(AROremoteServer server)
          Constructs an object obtained from the given server.
  AROremoteObject(AROremoteServer server, AROobjectID id)
          Constructs an object with the given ID obtained from the given server.
 
Method Summary
boolean equals(java.lang.Object obj)
          Returns true if the two objects represent the same object in the server.
boolean exists()
          Returns whether the object still exists in the ARO server.
java.lang.String getAROclassName()
          Returns the ARO class name for the object.
 
Methods inherited from class satin.aro.AROobject
getID, setID, toAROstring, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

server

public final AROremoteServer server
The ARO server from which this object originated.
Constructor Detail

AROremoteObject

protected AROremoteObject(AROremoteServer server)
Constructs an object obtained from the given server. The ID must be set by the overridden constructor (in the class derived from AROremoteObject) by calling setID.

Parameters:
server
The AROremoteServer from which the object id was obtained.

AROremoteObject

public AROremoteObject(AROremoteServer server,
                       AROobjectID id)
Constructs an object with the given ID obtained from the given server.

Parameters:
server
The AROremoteServer from which the object id was obtained.
id
The ARO object ID.
Method Detail

getAROclassName

public java.lang.String getAROclassName()
                                 throws java.io.IOException,
                                        AROexception
Returns the ARO class name for the object.

exists

public boolean exists()
               throws java.io.IOException,
                      AROexception
Returns whether the object still exists in the ARO server.

equals

public boolean equals(java.lang.Object obj)
Returns true if the two objects represent the same object in the server.

Overrides:
equals in class java.lang.Object
Revision History

4/7/01 Ed Stauff - added exists method.

4/6/01 Ed Stauff - changes per initial code review.

5/9/01 Ed Stauff - added getAROclassName.

4/16/01 Ed Stauff - file created.



Generated on 5/9/2001 19:37 from AROremoteObject.java (PRIVATE SOURCES)