public class TelegramSentEvent extends EventObject
| Modifier and Type | Field and Description |
|---|---|
String |
errorMessage
Contains a message elaborating on why the telegram failed to be sent, if
applicable.
|
int |
positionInQuery
The position of the sent telegram in the query.
|
boolean |
queued
Whether or not the telegram was successfully queued.
|
String |
recipient
Name of the nation the telegram was sent to.
|
source| Constructor and Description |
|---|
TelegramSentEvent(Object source,
String recipient,
boolean queued,
String errorMessage,
int positionInQuery)
Constructs a new TelegramSentEvent.
|
public final String recipient
public final boolean queued
public final String errorMessage
public final int positionInQuery
public TelegramSentEvent(Object source, String recipient, boolean queued, String errorMessage, int positionInQuery)
source - the object that fired the eventrecipient - the name of the nation the telegram was sent toqueued - whether or not the telegram was successfully queuederrorMessage - a message elaborating on why the telegram failed to
be sent, if applicablepositionInQuery - the position of the sent telegram in the queryCopyright © 2017. All rights reserved.