LimeWire Consolidated API

com.limegroup.gnutella
Class ConnectionWatchdog

java.lang.Object
  extended by com.limegroup.gnutella.ConnectionWatchdog
All Implemented Interfaces:
Service

public final class ConnectionWatchdog
extends Object
implements Service


Constructor Summary
ConnectionWatchdog(ScheduledExecutorService backgroundExecutor, com.google.inject.Provider<MessageRouter> messageRouter, com.google.inject.Provider<ConnectionManager> connectionManager, ConnectionServices connectionServices, PingRequestFactory pingRequestFactory)
           
 
Method Summary
 String getServiceName()
           
 void initialize()
           
 void start()
          Starts the ConnectionWatchdog.
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectionWatchdog

@Inject
public ConnectionWatchdog(ScheduledExecutorService backgroundExecutor,
                                 com.google.inject.Provider<MessageRouter> messageRouter,
                                 com.google.inject.Provider<ConnectionManager> connectionManager,
                                 ConnectionServices connectionServices,
                                 PingRequestFactory pingRequestFactory)
Method Detail

getServiceName

public String getServiceName()
Specified by:
getServiceName in interface Service

initialize

public void initialize()
Specified by:
initialize in interface Service

stop

public void stop()
Specified by:
stop in interface Service

start

public void start()
Starts the ConnectionWatchdog.

Specified by:
start in interface Service

LimeWire Consolidated API

Copyright © 2009. All Rights Reserved.