public class ConnectAttemptFailedEvent extends Event
Constructor and Description |
---|
ConnectAttemptFailedEvent(PircBotX bot,
int remainingAttempts,
com.google.common.collect.ImmutableMap<InetSocketAddress,Exception> connectExceptions) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
com.google.common.collect.ImmutableMap<InetSocketAddress,Exception> |
getConnectExceptions() |
int |
getRemainingAttempts() |
int |
hashCode() |
void |
respond(String response)
Deprecated.
|
String |
toString() |
compareTo, getBot, getId, getTimestamp
public ConnectAttemptFailedEvent(PircBotX bot, int remainingAttempts, @NonNull com.google.common.collect.ImmutableMap<InetSocketAddress,Exception> connectExceptions)
@Deprecated public void respond(String response)
UnsupportedOperationException
since we can't respond to a server
we didn't even connect torespond
in interface GenericEvent
respond
in class Event
response
- The response to send@Generated(value="lombok") public int getRemainingAttempts()
@Generated(value="lombok") public com.google.common.collect.ImmutableMap<InetSocketAddress,Exception> getConnectExceptions()
Copyright © 2010–2020 Leon Blakey. All rights reserved.