public class PeerBitfieldUpdatedEvent extends BaseEvent implements TorrentEvent
Modifier | Constructor and Description |
---|---|
protected |
PeerBitfieldUpdatedEvent(long id,
long timestamp,
ConnectionKey connectionKey,
Bitfield bitfield) |
Modifier and Type | Method and Description |
---|---|
Bitfield |
getBitfield() |
ConnectionKey |
getConnectionKey() |
Peer |
getPeer() |
TorrentId |
getTorrentId() |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getId, getTimestamp
protected PeerBitfieldUpdatedEvent(long id, long timestamp, ConnectionKey connectionKey, Bitfield bitfield)
public TorrentId getTorrentId()
getTorrentId
in interface TorrentEvent
public Peer getPeer()
public ConnectionKey getConnectionKey()
public Bitfield getBitfield()
Copyright © 2016–2021. All rights reserved.