public class ClientStatusChangeEvent extends Object implements Event
Constructor and Description |
---|
ClientStatusChangeEvent(String clientId,
ClientStatus oldStatus,
ClientStatus newStatus)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getClientId() |
ClientStatus |
getNewStatus() |
ClientStatus |
getOldStatus() |
public ClientStatusChangeEvent(String clientId, ClientStatus oldStatus, ClientStatus newStatus)
clientId
- The ID if the client whose status changedoldStatus
- The original status of the client or null, if none.newStatus
- The new status of the client.public String getClientId()
public ClientStatus getNewStatus()
public ClientStatus getOldStatus()
Copyright © 2019 Communote team. All rights reserved.