com.starteam.events
Class MPXStatusEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.starteam.events.MPXStatusEvent
All Implemented Interfaces:
java.io.Serializable

public final 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.starteam.events.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.String toString()
          Gets a short description of this MPXStatusEvent.
 
Methods inherited from class java.util.EventObject
getSource
 
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.starteam.events.MPXStatusEvent)

toString

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

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


StarTeam SDK 14.0, Build 21
Copyright © 2003-2012 Borland Software Corporation. All rights reserved.