com.esri.client.local
Class LocalServiceStartCompleteEvent

java.lang.Object
  extended by java.util.EventObject
      extended by java.awt.AWTEvent
          extended by com.esri.client.local.LocalServiceStartCompleteEvent
All Implemented Interfaces:
Serializable

public class LocalServiceStartCompleteEvent
extends AWTEvent

The LocalServiceStartCompleteEvent is fired when a LocalService has started; whether successfully or not. Adding a LocalServiceStartCompleteListener to an already started/failed LocalService, also fires this event.

See Also:
Serialized Form

Field Summary
static int LOCALSERVICESTARTCOMPLETE
           
static int LOCALSERVICESTARTCOMPLETE_FIRST
           
static int SERVERMESSAGE_LAST
           
 
Fields inherited from class java.awt.AWTEvent
ACTION_EVENT_MASK, ADJUSTMENT_EVENT_MASK, COMPONENT_EVENT_MASK, consumed, CONTAINER_EVENT_MASK, FOCUS_EVENT_MASK, HIERARCHY_BOUNDS_EVENT_MASK, HIERARCHY_EVENT_MASK, id, INPUT_METHOD_EVENT_MASK, INVOCATION_EVENT_MASK, ITEM_EVENT_MASK, KEY_EVENT_MASK, MOUSE_EVENT_MASK, MOUSE_MOTION_EVENT_MASK, MOUSE_WHEEL_EVENT_MASK, PAINT_EVENT_MASK, RESERVED_ID_MAX, TEXT_EVENT_MASK, WINDOW_EVENT_MASK, WINDOW_FOCUS_EVENT_MASK, WINDOW_STATE_EVENT_MASK
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
LocalServiceStartCompleteEvent(LocalService source, int id)
          Instantiates a new local service start complete event.
 
Method Summary
 LocalService getService()
          Gets the service that this event is for.
 String getUrl()
          Gets the URL of the service.
 
Methods inherited from class java.awt.AWTEvent
consume, getID, isConsumed, paramString, setSource, toString
 
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
 

Field Detail

LOCALSERVICESTARTCOMPLETE_FIRST

public static final int LOCALSERVICESTARTCOMPLETE_FIRST
See Also:
Constant Field Values

LOCALSERVICESTARTCOMPLETE

public static final int LOCALSERVICESTARTCOMPLETE
See Also:
Constant Field Values

SERVERMESSAGE_LAST

public static final int SERVERMESSAGE_LAST
See Also:
Constant Field Values
Constructor Detail

LocalServiceStartCompleteEvent

public LocalServiceStartCompleteEvent(LocalService source,
                                      int id)
Instantiates a new local service start complete event.

Parameters:
source - the event source
id - the ID
Method Detail

getUrl

public String getUrl()
Gets the URL of the service.

Returns:
The URL for the service.

getService

public LocalService getService()
Gets the service that this event is for.

Returns:
the local service


Copyright © 2012. All Rights Reserved.