public final class PeerDisconnectedAlert extends PeerAlert<peer_disconnected_alert>
PeerErrorAlert).alertALL_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 |
|---|---|
ErrorCode |
error()
Tells you what error caused peer to disconnect.
|
Operation |
operation()
The operation or level where the error occurred.
|
CloseReason |
reason()
The reason the peer disconnected (if specified).
|
int |
socketType()
The kind of socket this peer was connected over.
|
handle, torrentNamepublic int socketType()
public Operation operation()
public ErrorCode error()
public CloseReason reason()