edu.cuny.cat.event
Class ClientStateUpdatedEvent
java.lang.Object
  
edu.cuny.cat.event.AuctionEvent
      
edu.cuny.cat.event.ClientStateUpdatedEvent
- All Implemented Interfaces: 
 - edu.cuny.event.Event<AuctionEventListener>
 
public class ClientStateUpdatedEvent
- extends AuctionEvent
 
 An event that is fired when the status of a catp client is updated. For
 example, the catp server lost the connection with a client.
 
 
 
 Please note that this event has not yet used.
 
- Version:
 
  - $Revision: 1.6 $
 
- Author:
 
  - Jinzhong Niu
 
 
 
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
 
client
protected AccountHolder client
currentState
protected ClientState currentState
previousState
protected ClientState previousState
triggeringEvent
protected AuctionEvent triggeringEvent
ClientStateUpdatedEvent
public ClientStateUpdatedEvent(AccountHolder client,
                               ClientState status)
ClientStateUpdatedEvent
public ClientStateUpdatedEvent(AccountHolder client,
                               ClientState currentState,
                               AuctionEvent triggeringEvent)
ClientStateUpdatedEvent
public ClientStateUpdatedEvent(AccountHolder client,
                               ClientState previousState,
                               ClientState currentState,
                               AuctionEvent triggeringEvent)
getClient
public AccountHolder getClient()
 
getCurrentState
public ClientState getCurrentState()
 
getPreviousState
public ClientState getPreviousState()
 
getTriggeringEvent
public AuctionEvent getTriggeringEvent()
 
toString
public java.lang.String toString()
- Overrides:
 toString in class AuctionEvent