Package com.biglybt.plugin.net.buddy
Class BuddyPluginNetwork.DDBDetails
java.lang.Object
com.biglybt.plugin.net.buddy.BuddyPluginNetwork.DDBDetails
- Enclosing class:
BuddyPluginNetwork
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate boolean
private final DistributedDatabase
private boolean
private byte[]
private long
private AsyncDispatcher
private List
<DistributedDatabaseContact> private TimerEvent
private int
private TimerEvent
private boolean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
private void
getDDB()
private int
protected DistributedDatabaseKey
getStatusKey
(byte[] public_key, String reason) protected DistributedDatabaseKey
private void
setEnabled
(boolean _enabled) protected void
setMessagePending
(BuddyPluginBuddy buddy, BuddyPluginNetwork.operationListener listener) protected void
updateBuddyStatus
(BuddyPluginBuddy buddy, Runnable failed_callback) protected void
updateIP()
protected void
protected void
protected void
protected void
updateNickName
(String new_nick) protected boolean
updateOnlineStatus
(int new_status) protected void
protected void
protected void
-
Field Details
-
ddb
-
current_publish
-
latest_publish
-
last_publish_start
private long last_publish_start -
republish_delay_event
-
update_ip_retry_event
-
diversified
private volatile boolean diversified -
publish_write_contacts
-
publish_dispatcher
-
ygm_active
private boolean ygm_active -
bogus_ygm_written
private boolean bogus_ygm_written -
status_seq
private int status_seq -
last_payload
private byte[] last_payload
-
-
Constructor Details
-
DDBDetails
-
-
Method Details
-
getDDB
-
getNetwork
-
setEnabled
private void setEnabled(boolean _enabled) -
updateListenPorts
protected void updateListenPorts() -
updateIPWithDelay
protected void updateIPWithDelay() -
updateIP
protected void updateIP() -
updateNickName
-
updateOnlineStatus
protected boolean updateOnlineStatus(int new_status) -
getOnlineStatus
private int getOnlineStatus() -
checkMessagePending
private void checkMessagePending() -
setMessagePending
protected void setMessagePending(BuddyPluginBuddy buddy, BuddyPluginNetwork.operationListener listener) throws BuddyPluginException - Throws:
BuddyPluginException
-
updateKey
protected void updateKey() -
updatePublish
protected void updatePublish() -
updatePublish
-
updatePublishSupport
-
updateBuddyStatus
-
getStatusKey
- Throws:
Exception
-
getYGMKey
- Throws:
Exception
-
closedown
private void closedown()
-