public class CapabilitiesRejectedEvent extends CapabilityNegotiationResponseEventBase
CapabilityManager
,
CapabilityRequestCommand
Constructor and Description |
---|
CapabilitiesRejectedEvent(@NonNull Client client,
@NonNull ServerMessage sourceMessage,
boolean negotiating,
@NonNull List<CapabilityState> rejectedCapabilitiesRequest)
Constructs the event.
|
Modifier and Type | Method and Description |
---|---|
@NonNull List<CapabilityState> |
getRejectedCapabilitiesRequest()
Gets the rejected change, or at least the first 100 characters worth.
|
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 CapabilitiesRejectedEvent(@NonNull Client client, @NonNull ServerMessage sourceMessage, boolean negotiating, @NonNull List<CapabilityState> rejectedCapabilitiesRequest)
client
- the clientsourceMessage
- source messagenegotiating
- if we are negotiating right nowrejectedCapabilitiesRequest
- capabilities rejectedpublic @NonNull List<CapabilityState> getRejectedCapabilitiesRequest()
protected @NonNull ToStringer toStringer()
ClientEventBase
ToStringer
for the command.toStringer
in class CapabilityNegotiationResponseEventBase
Copyright © 2013–2021 Kitteh. All rights reserved.