Package com.biglybt.ui.swt.views.stats
Class DHTView
java.lang.Object
com.biglybt.ui.swt.views.stats.DHTView
- All Implemented Interfaces:
UISWTViewEventListener
,IViewRequiresPeriodicUpdates
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) DHTControlActivity[]
(package private) boolean
(package private) org.eclipse.swt.widgets.Table
private boolean
(package private) DHTControlListener
protected Core
(package private) DHT
private int
static final int
static final int
static final int
static final int
private String
(package private) org.eclipse.swt.widgets.Canvas
(package private) SpeedGraphic
(package private) org.eclipse.swt.widgets.Label
(package private) org.eclipse.swt.widgets.Label[]
(package private) org.eclipse.swt.widgets.Label
(package private) org.eclipse.swt.widgets.Label
(package private) org.eclipse.swt.widgets.Label
(package private) org.eclipse.swt.widgets.Label
(package private) org.eclipse.swt.widgets.Label[]
(package private) org.eclipse.swt.widgets.Label[]
(package private) org.eclipse.swt.widgets.Label
(package private) org.eclipse.swt.widgets.Label
(package private) org.eclipse.swt.widgets.Label
(package private) org.eclipse.swt.widgets.Label
(package private) org.eclipse.swt.widgets.Label
(package private) org.eclipse.swt.widgets.Label
(package private) org.eclipse.swt.widgets.Label
(package private) org.eclipse.swt.widgets.Label[]
(package private) org.eclipse.swt.widgets.Label
(package private) org.eclipse.swt.widgets.Label
(package private) org.eclipse.swt.widgets.Label
(package private) org.eclipse.swt.widgets.Label
(package private) org.eclipse.swt.widgets.Label
(package private) org.eclipse.swt.widgets.Label
(package private) org.eclipse.swt.widgets.Label
(package private) org.eclipse.swt.widgets.Label
(package private) org.eclipse.swt.widgets.Label
(package private) org.eclipse.swt.widgets.Label[]
(package private) BufferedLabel
(package private) org.eclipse.swt.widgets.Label
(package private) org.eclipse.swt.widgets.Label
(package private) org.eclipse.swt.widgets.Label
static final String
(package private) String
(package private) org.eclipse.swt.widgets.Canvas
(package private) SpeedGraphic
(package private) org.eclipse.swt.widgets.Composite
private int
(package private) org.eclipse.swt.widgets.Canvas
static org.eclipse.swt.graphics.Color[]
(package private) PingGraphic
private UISWTView
(package private) String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
delete()
boolean
eventOccurred
(UISWTViewEvent event) Triggers when an even listed in UISWTViewEvent occursprivate org.eclipse.swt.widgets.Composite
private String
private void
private void
private void
private void
private void
private void
void
initialize
(org.eclipse.swt.widgets.Composite composite) void
private void
refresh()
private void
private void
private void
private void
private void
void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.biglybt.ui.swt.pif.UISWTViewEventListener
informOfDuplicates
-
Field Details
-
DHT_TYPE_MAIN
public static final int DHT_TYPE_MAIN- See Also:
-
DHT_TYPE_CVS
public static final int DHT_TYPE_CVS- See Also:
-
DHT_TYPE_MAIN_V6
public static final int DHT_TYPE_MAIN_V6- See Also:
-
DHT_TYPE_BIGLYBT
public static final int DHT_TYPE_BIGLYBT- See Also:
-
MSGID_PREFIX
- See Also:
-
rttColours
public static org.eclipse.swt.graphics.Color[] rttColours -
table_col_map
-
auto_dht
private boolean auto_dht -
dht
DHT dht -
panel
org.eclipse.swt.widgets.Composite panel -
yes_str
String yes_str -
no_str
String no_str -
lblUpTime
org.eclipse.swt.widgets.Label lblUpTime -
lblNumberOfUsers
org.eclipse.swt.widgets.Label lblNumberOfUsers -
lblNodes
org.eclipse.swt.widgets.Label lblNodes -
lblLeaves
org.eclipse.swt.widgets.Label lblLeaves -
lblContacts
org.eclipse.swt.widgets.Label lblContacts -
lblReplacements
org.eclipse.swt.widgets.Label lblReplacements -
lblLive
org.eclipse.swt.widgets.Label lblLive -
lblUnknown
org.eclipse.swt.widgets.Label lblUnknown -
lblDying
org.eclipse.swt.widgets.Label lblDying -
lblSkew
org.eclipse.swt.widgets.Label lblSkew -
lblRendezvous
org.eclipse.swt.widgets.Label lblRendezvous -
lblReachable
org.eclipse.swt.widgets.Label lblReachable -
lblKeys
org.eclipse.swt.widgets.Label lblKeys -
lblValues
org.eclipse.swt.widgets.Label lblValues -
lblSize
org.eclipse.swt.widgets.Label lblSize -
lblLocal
org.eclipse.swt.widgets.Label lblLocal -
lblDirect
org.eclipse.swt.widgets.Label lblDirect -
lblIndirect
org.eclipse.swt.widgets.Label lblIndirect -
lblDivFreq
org.eclipse.swt.widgets.Label lblDivFreq -
lblDivSize
org.eclipse.swt.widgets.Label lblDivSize -
lblTransportAddress
BufferedLabel lblTransportAddress -
lblReceivedPackets
org.eclipse.swt.widgets.Label lblReceivedPackets -
lblReceivedBytes
org.eclipse.swt.widgets.Label lblReceivedBytes -
lblSentPackets
org.eclipse.swt.widgets.Label lblSentPackets -
lblSentBytes
org.eclipse.swt.widgets.Label lblSentBytes -
lblPings
org.eclipse.swt.widgets.Label[] lblPings -
lblFindNodes
org.eclipse.swt.widgets.Label[] lblFindNodes -
lblFindValues
org.eclipse.swt.widgets.Label[] lblFindValues -
lblStores
org.eclipse.swt.widgets.Label[] lblStores -
lblData
org.eclipse.swt.widgets.Label[] lblData -
in
org.eclipse.swt.widgets.Canvas in -
out
org.eclipse.swt.widgets.Canvas out -
rtt
org.eclipse.swt.widgets.Canvas rtt -
inGraph
SpeedGraphic inGraph -
outGraph
SpeedGraphic outGraph -
rttGraph
PingGraphic rttGraph -
activityChanged
boolean activityChanged -
controlListener
DHTControlListener controlListener -
activityTable
org.eclipse.swt.widgets.Table activityTable -
activities
DHTControlActivity[] activities -
id
-
dht_type
private int dht_type -
core
-
refreshIter
private int refreshIter -
swtView
-
-
Constructor Details
-
DHTView
public DHTView() -
DHTView
public DHTView(boolean _auto_dht)
-
-
Method Details
-
init
-
setDHT
-
initialize
public void initialize(org.eclipse.swt.widgets.Composite composite) -
initialiseGeneralGroup
private void initialiseGeneralGroup() -
initialiseDBGroup
private void initialiseDBGroup() -
initialiseTransportDetailsGroup
private void initialiseTransportDetailsGroup() -
initialiseOperationDetailsGroup
private void initialiseOperationDetailsGroup() -
initialiseActivityGroup
private void initialiseActivityGroup() -
delete
public void delete() -
getTitleID
-
getComposite
private org.eclipse.swt.widgets.Composite getComposite() -
refresh
private void refresh() -
refreshGeneral
private void refreshGeneral() -
refreshDB
private void refreshDB() -
refreshTransportDetails
private void refreshTransportDetails() -
refreshOperationDetails
private void refreshOperationDetails() -
refreshActivity
private void refreshActivity() -
periodicUpdate
public void periodicUpdate() -
eventOccurred
Description copied from interface:UISWTViewEventListener
Triggers when an even listed in UISWTViewEvent occurs- Specified by:
eventOccurred
in interfaceUISWTViewEventListener
- Parameters:
event
- event that occurred- Returns:
- meaning dependent upon event type
-