edu.csus.ecs.pc2.api.listener
Class ConnectionEvent

java.lang.Object
  extended by edu.csus.ecs.pc2.api.listener.ConnectionEvent

public class ConnectionEvent
extends Object

Event for when clients connect or disconnect.

Version:
$Id: ConnectionEvent.java 2051 2010-03-17 16:15:12Z laned $
Author:
pc2@ecs.csus.edu

Nested Class Summary
static class ConnectionEvent.Action
          Action for ConnectionEvent.
 
Constructor Summary
ConnectionEvent(ConnectionEvent.Action action, IClient client)
           
 
Method Summary
 ConnectionEvent.Action getAction()
           
 IClient getClient()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectionEvent

public ConnectionEvent(ConnectionEvent.Action action,
                       IClient client)
Method Detail

getAction

public ConnectionEvent.Action getAction()

getClient

public IClient getClient()