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