public abstract class AbstractAlert<T extends alert> extends java.lang.Object implements Alert<T>
| Modifier and Type | Field and Description |
|---|---|
protected T |
alert |
ALL_CATEGORIES, BLOCK_PROGRESS_NOTIFICATION, DEBUG_NOTIFICATION, DHT_LOG_NOTIFICATION, DHT_NOTIFICATION, DHT_OPERATION_NOTIFICATION, ERROR_NOTIFICATION, FILE_PROGRESS_NOTIFICATION, INCOMING_REQUEST_NOTIFICATION, IP_BLOCK_NOTIFICATION, PEER_LOG_NOTIFICATION, PEER_NOTIFICATION, PERFORMANCE_WARNING, PICKER_LOG_NOTIFICATION, PIECE_PROGRESS_NOTIFICATION, PORT_MAPPING_LOG_NOTIFICATION, PORT_MAPPING_NOTIFICATION, SESSION_LOG_NOTIFICATION, STATS_NOTIFICATION, STATUS_NOTIFICATION, STORAGE_NOTIFICATION, TORRENT_LOG_NOTIFICATION, TRACKER_NOTIFICATION, UPLOAD_NOTIFICATION| Modifier and Type | Method and Description |
|---|---|
alert_category_t |
category()
Returns a bitmask specifying which categories this alert belong to.
|
java.lang.String |
message()
Generate a string describing the alert and the information bundled
with it.
|
T |
swig() |
long |
timestamp()
A timestamp is automatically created in the constructor (in milliseconds).
|
java.lang.String |
toString() |
AlertType |
type() |
java.lang.String |
what()
Returns a string literal describing the type of the alert.
|
public long timestamp()
public java.lang.String what()
public java.lang.String message()
public alert_category_t category()
public java.lang.String toString()
toString in class java.lang.Object