org.jppf.client.event
Class ClientEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.jppf.client.event.ClientEvent
All Implemented Interfaces:
Serializable

public class ClientEvent
extends EventObject

Instances of this class are events sent to notify interested listeners that a new connection to a JPPF driver was created.

Author:
Laurent Cohen
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ClientEvent(JPPFClientConnection c)
          Initialize this event with the specified client connection.
 
Method Summary
 JPPFClientConnection getConnection()
          Get the client connection on which the event occured.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClientEvent

public ClientEvent(JPPFClientConnection c)
Initialize this event with the specified client connection.

Parameters:
c - the client connection on which the event occurs.
Method Detail

getConnection

public JPPFClientConnection getConnection()
Get the client connection on which the event occured.

Returns:
a JPPFClientConnection instance.


Copyright © 2005-2010 JPPF Team.