|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.util.EventObject
|
+--com.starbase.starteam.ServerControlEvent
An event triggered whenever a Server is stopped or restarted.
ServerControlListener,
Server.addServerControlListener(com.starbase.starteam.ServerControlListener),
Serialized Form| Method Summary | |
boolean |
equals(java.lang.Object source)
returns true if this object instance is equal to the source |
Server |
getServer()
Gets the Server object whose status has changed. |
java.lang.Object |
getSource()
The object on which the Event initially occurred. |
int |
hashCode()
returns a unique hash for all instances of this type |
java.lang.String |
toString()
Gets a short description of this ServerControlEvent. |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
public Server getServer()
Returns the same physical Server object used to register the ServerControlListener. There is no way to listen for start or stop events for arbitrary servers on the network; you must explicitly login to the server of interest and register a listener.
Serverpublic java.lang.Object getSource()
getSource in class java.util.EventObjectpublic java.lang.String toString()
toString in class java.util.EventObjectpublic boolean equals(java.lang.Object source)
equals in class java.lang.Objectsource - Object the source to comapre with
public int hashCode()
hashCode in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||