com.starbase.starteam
Class MPXStatusEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--com.starbase.starteam.MPXStatusEvent
All Implemented Interfaces:
java.io.Serializable

public class MPXStatusEvent
extends java.util.EventObject

An event triggered whenever an important change occurs in the status of MPX or the MPX event transmitter. Such status changes may indicate that the StarTeam MPX server is not be functioning properly, and the application may lose events.

See Also:
MPXStatusListener, Server.addMPXStatusListener(com.starbase.starteam.MPXStatusListener), Serialized Form

Method Summary
 MPXException getException()
          Gets the MPX exception that triggered the event handler.
 Server getServer()
          Gets the Server object that was used to register the listener.
 java.lang.Object getSource()
          The object on which the Event initially occurred.
 java.lang.String toString()
          Gets a short description of this Event.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getServer

public Server getServer()
Gets the Server object that was used to register the listener.

Returns:
The Server object that was used to register the listener.
See Also:
Server

getException

public MPXException getException()
Gets the MPX exception that triggered the event handler. Used only for MPXStatusListener.exception() events; in all other cases, getException() returns null.

Returns:
The MPX exception that triggered the event handler, or null for events other than MPXStatusListener.exception().
See Also:
MPXException, MPXStatusListener.exception(com.starbase.starteam.MPXStatusEvent)

getSource

public java.lang.Object getSource()
The object on which the Event initially occurred.

Overrides:
getSource in class java.util.EventObject
Returns:
The object on which the Event initially occurred.

toString

public java.lang.String toString()
Gets a short description of this Event.

Overrides:
toString in class java.util.EventObject
Returns:
A short description of this Event.


StarTeam SDK 10.4, Build 36
Copyright © 2003-2008 Borland Software Corporation. All rights reserved.