com.starbase.starteam
Class MPXStatusAdapter

java.lang.Object
  |
  +--com.starbase.starteam.MPXStatusAdapter
All Implemented Interfaces:
java.util.EventListener, MPXStatusListener

public abstract class MPXStatusAdapter
extends java.lang.Object
implements MPXStatusListener

A stub implementation of the MPXStatusListener interface.

This class is provided as a convenience for easily creating listeners. An application can extend this class and override only the methods of interest.

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

Constructor Summary
MPXStatusAdapter()
           
 
Method Summary
 void disabled(MPXStatusEvent e)
          Invoked when MPX is disabled by the client application.
 void enabled(MPXStatusEvent e)
          Invoked when MPX is enabled by the client application.
 boolean equals(java.lang.Object source)
          returns true if this object instance is equal to the source
 void exception(MPXStatusEvent e)
          Invoked when an exception occurs during MPX processing.
 int hashCode()
          returns a unique hash for all instances of this type
 void offline(MPXStatusEvent e)
          Invoked when the StarTeam MPX transmitter goes offline.
 void online(MPXStatusEvent e)
          Invoked when the StarTeam MPX transmitter comes back online.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MPXStatusAdapter

public MPXStatusAdapter()
Method Detail

enabled

public void enabled(MPXStatusEvent e)
Invoked when MPX is enabled by the client application.

Specified by:
enabled in interface MPXStatusListener
Parameters:
e - The corresponding MPXStatusEvent event.
See Also:
MPXStatusListener.enabled(com.starbase.starteam.MPXStatusEvent)

disabled

public void disabled(MPXStatusEvent e)
Invoked when MPX is disabled by the client application.

Specified by:
disabled in interface MPXStatusListener
Parameters:
e - The corresponding MPXStatusEvent event.
See Also:
MPXStatusListener.disabled(com.starbase.starteam.MPXStatusEvent)

offline

public void offline(MPXStatusEvent e)
Invoked when the StarTeam MPX transmitter goes offline.

Specified by:
offline in interface MPXStatusListener
Parameters:
e - The corresponding MPXStatusEvent event.
See Also:
MPXStatusListener.offline(com.starbase.starteam.MPXStatusEvent)

online

public void online(MPXStatusEvent e)
Invoked when the StarTeam MPX transmitter comes back online.

Specified by:
online in interface MPXStatusListener
Parameters:
e - The corresponding MPXStatusEvent event.
See Also:
MPXStatusListener.online(com.starbase.starteam.MPXStatusEvent)

exception

public void exception(MPXStatusEvent e)
Invoked when an exception occurs during MPX processing.

Specified by:
exception in interface MPXStatusListener
Parameters:
e - The corresponding MPXStatusEvent event.
See Also:
MPXStatusListener.exception(com.starbase.starteam.MPXStatusEvent)

equals

public boolean equals(java.lang.Object source)
returns true if this object instance is equal to the source

Overrides:
equals in class java.lang.Object
Parameters:
source - Object the source to comapre with
Returns:
boolean true if this object is equal to the source

hashCode

public int hashCode()
returns a unique hash for all instances of this type

Overrides:
hashCode in class java.lang.Object
Returns:
int a unique hash for all instances of this type


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