Voyager ORB

com.objectspace.voyager.message
Class ResultEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--com.objectspace.voyager.message.ResultEvent

public class ResultEvent
extends java.util.EventObject

A ResultEvent is generated by an Result object when it receives a message reply. Any object that wishes to receive event notification from an Result must implement the ResultListener interface

Version:
3.0
See Also:
ResultListener, Future, Serialized Form

Fields inherited from class java.util.EventObject
source
 
Method Summary
 java.lang.Throwable getException()
          Return the exception or null if none occurred.
 java.lang.Object getObject()
          Return the result or null if an exception occurred.
 boolean isException()
          Return true if the result is an exception.
 java.lang.String toString()
          Return a string that describes me.
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

toString

public java.lang.String toString()
Return a string that describes me.
Overrides:
toString in class java.util.EventObject

getObject

public java.lang.Object getObject()
Return the result or null if an exception occurred.

getException

public java.lang.Throwable getException()
Return the exception or null if none occurred.

isException

public boolean isException()
Return true if the result is an exception.

ObjectSpace Inc.

(c) Copyright 1997-1999 ObjectSpace, Inc.
14850 Quorum Drive, Suite 500
Dallas, Texas 75240