public class EnableCapHandler extends Object implements CapHandler
Constructor and Description |
---|
EnableCapHandler(String cap)
Create EnableCapHandler not ignoring if server doesn't support the
requested capability
|
EnableCapHandler(String cap,
boolean ignoreFail) |
Modifier and Type | Method and Description |
---|---|
String |
getCap() |
boolean |
handleACK(PircBotX bot,
com.google.common.collect.ImmutableList<String> capabilities) |
boolean |
handleLS(PircBotX bot,
com.google.common.collect.ImmutableList<String> capabilities) |
boolean |
handleNAK(PircBotX bot,
com.google.common.collect.ImmutableList<String> capabilities) |
boolean |
handleUnknown(PircBotX bot,
String rawLine) |
String |
toString() |
public EnableCapHandler(String cap)
@ConstructorProperties(value={"cap","ignoreFail"}) @Generated(value="lombok") public EnableCapHandler(String cap, boolean ignoreFail)
public boolean handleLS(PircBotX bot, com.google.common.collect.ImmutableList<String> capabilities) throws CAPException
handleLS
in interface CapHandler
CAPException
public boolean handleACK(PircBotX bot, com.google.common.collect.ImmutableList<String> capabilities) throws CAPException
handleACK
in interface CapHandler
CAPException
public boolean handleNAK(PircBotX bot, com.google.common.collect.ImmutableList<String> capabilities) throws CAPException
handleNAK
in interface CapHandler
CAPException
public boolean handleUnknown(PircBotX bot, String rawLine)
handleUnknown
in interface CapHandler
@Generated(value="lombok") public String getCap()
Copyright © 2010–2020 Leon Blakey. All rights reserved.