Class CancellableClientEvent

All Implemented Interfaces:
Cancellable
Direct Known Subclasses:
ClientEnableVoiceEvent, ClientPeerAddEvent

public class CancellableClientEvent extends ClientEvent implements Cancellable
A cancellable client event
  • Constructor Details

    • CancellableClientEvent

      public CancellableClientEvent(Client client)
      Create a new client event
      Parameters:
      client - the client that this event is about
  • Method Details

    • isCancelled

      public boolean isCancelled()
      Description copied from interface: Cancellable
      Check if the event is cancelled
      Specified by:
      isCancelled in interface Cancellable
      Returns:
      true if the event is cancelled
    • setCancelled

      public void setCancelled(boolean cancelled)
      Description copied from interface: Cancellable
      Set the event to cancelled
      Specified by:
      setCancelled in interface Cancellable
      Parameters:
      cancelled - true if the event should be cancelled