Package org.johnnei.javatorrent.internal
Class TorrentClientSettingsImpl
- java.lang.Object
-
- org.johnnei.javatorrent.internal.TorrentClientSettingsImpl
-
- All Implemented Interfaces:
TorrentClientSettings
public class TorrentClientSettingsImpl extends Object implements TorrentClientSettings
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTorrentClientSettingsImpl.Builder
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetAcceptingPort()booleanisAcceptingConnections()
-
-
-
Method Detail
-
isAcceptingConnections
public boolean isAcceptingConnections()
- Specified by:
isAcceptingConnectionsin interfaceTorrentClientSettings- Returns:
truewhen the torrent client is allow to accept remote connections. Otherwisefalse
-
getAcceptingPort
public int getAcceptingPort()
- Specified by:
getAcceptingPortin interfaceTorrentClientSettings- Returns:
- The port on which the client should be listening for connections.
-
-