public class CapabilitiesNewSupportedEvent extends CapabilityNegotiationResponseEventWithRequestBase
CapabilityManager,
CapabilityRequestCommand| Constructor and Description |
|---|
CapabilitiesNewSupportedEvent(Client client,
List<ServerMessage> originalMessages,
boolean negotiating,
List<CapabilityState> newCapabilities)
Constructs the event.
|
| Modifier and Type | Method and Description |
|---|---|
List<CapabilityState> |
getNewCapabilities()
Gets a list of capabilities the server now supports.
|
protected ToStringer |
toStringer()
Generates a partial
ToStringer for the command. |
addRequest, getRequestsisEndingNegotiation, isNegotiating, setEndingNegotiationgetOriginalMessagesgetClient, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisEndingNegotiation, isNegotiating, setEndingNegotiationgetOriginalMessagesgetClientpublic CapabilitiesNewSupportedEvent(@Nonnull Client client, @Nonnull List<ServerMessage> originalMessages, boolean negotiating, @Nonnull List<CapabilityState> newCapabilities)
client - the clientoriginalMessages - original messagesnegotiating - if we are negotiating right nownewCapabilities - supported capabilities@Nonnull public List<CapabilityState> getNewCapabilities()
@Nonnull protected ToStringer toStringer()
ClientEventBaseToStringer for the command.toStringer in class CapabilityNegotiationResponseEventWithRequestBaseCopyright © 2013–2019 Kitteh. All rights reserved.