public class StsHandler extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DRAFT
Draft prepend for capability.
|
Constructor and Description |
---|
StsHandler(StsMachine machine,
Client.WithManagement client)
Creates the event handler for STS.
|
Modifier and Type | Method and Description |
---|---|
void |
onCapLs(CapabilitiesSupportedListEvent event)
Called when the server responds with its supported capabilities.
|
void |
onCapNew(CapabilitiesNewSupportedEvent event)
Called when a new capability is advertised by the server.
|
void |
onDisconnect(ClientConnectionEndedEvent event)
Called when the server connection closes.
|
public static final String DRAFT
public StsHandler(StsMachine machine, Client.WithManagement client)
machine
- the STS FSMclient
- the IRC clientpublic void onCapLs(CapabilitiesSupportedListEvent event)
event
- the event instancepublic void onCapNew(CapabilitiesNewSupportedEvent event)
event
- the event instancepublic void onDisconnect(ClientConnectionEndedEvent event)
event
- the event instanceCopyright © 2013–2021 Kitteh. All rights reserved.