public class CapabilitiesDeletedSupportedEvent extends CapabilityNegotiationResponseEventBase
CapabilityManager
,
CapabilityRequestCommand
Constructor and Description |
---|
CapabilitiesDeletedSupportedEvent(@NonNull Client client,
@NonNull ServerMessage sourceMessage,
boolean negotiating,
@NonNull List<CapabilityState> deletedCapabilities)
Constructs the event.
|
Modifier and Type | Method and Description |
---|---|
@NonNull List<CapabilityState> |
getDeletedCapabilities()
Gets a list of capabilities the server no longer supports.
|
protected @NonNull ToStringer |
toStringer()
Generates a partial
ToStringer for the command. |
isEndingNegotiation, isNegotiating, setEndingNegotiation
getSource
getClient, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getClient
getTag, getTag, getTags
public CapabilitiesDeletedSupportedEvent(@NonNull Client client, @NonNull ServerMessage sourceMessage, boolean negotiating, @NonNull List<CapabilityState> deletedCapabilities)
client
- the clientsourceMessage
- source messagenegotiating
- if we are negotiating right nowdeletedCapabilities
- no longer supported capabilitiespublic @NonNull List<CapabilityState> getDeletedCapabilities()
protected @NonNull ToStringer toStringer()
ClientEventBase
ToStringer
for the command.toStringer
in class CapabilityNegotiationResponseEventBase
Copyright © 2013–2021 Kitteh. All rights reserved.