LimeWire Consolidated API

com.limegroup.gnutella
Interface UDPPinger

All Known Implementing Classes:
UDPPingerImpl, UniqueHostPinger

public interface UDPPinger


Method Summary
 void rank(Collection<? extends IpPort> hosts)
          Ranks the specified Collection of hosts.
 void rank(Collection<? extends IpPort> hosts, Cancellable canceller)
          Ranks the specified Collection of hosts with the given Canceller.
 void rank(Collection<? extends IpPort> hosts, Message message)
          Ranks the specified Collection of hosts with the given message.
 void rank(Collection<? extends IpPort> hosts, MessageListener listener)
          Ranks the specified collection of hosts with the given MessageListener.
 void rank(Collection<? extends IpPort> hosts, MessageListener listener, Cancellable canceller)
          Ranks the specified collection of hosts with the given MessageListener & Cancellable.
 void rank(Collection<? extends IpPort> hosts, MessageListener listener, Cancellable canceller, Message message)
          Ranks the specified Collection of hosts with the given MessageListener, Cancellable and Message.
 void rank(Collection<? extends IpPort> hosts, MessageListener listener, Cancellable canceller, Message message, int expireTime)
          Ranks the specified Collection of hosts.
 

Method Detail

rank

void rank(Collection<? extends IpPort> hosts)
Ranks the specified Collection of hosts.


rank

void rank(Collection<? extends IpPort> hosts,
          Message message)
Ranks the specified Collection of hosts with the given message.


rank

void rank(Collection<? extends IpPort> hosts,
          Cancellable canceller)
Ranks the specified Collection of hosts with the given Canceller.


rank

void rank(Collection<? extends IpPort> hosts,
          MessageListener listener)
Ranks the specified collection of hosts with the given MessageListener.


rank

void rank(Collection<? extends IpPort> hosts,
          MessageListener listener,
          Cancellable canceller)
Ranks the specified collection of hosts with the given MessageListener & Cancellable.


rank

void rank(Collection<? extends IpPort> hosts,
          MessageListener listener,
          Cancellable canceller,
          Message message)
Ranks the specified Collection of hosts with the given MessageListener, Cancellable and Message.


rank

void rank(Collection<? extends IpPort> hosts,
          MessageListener listener,
          Cancellable canceller,
          Message message,
          int expireTime)
Ranks the specified Collection of hosts. If expireTime is < 0, the default expiry time for the message is DEFAULT_LISTEN_EXPIRE_TIME

Parameters:
hosts - the Collection of hosts to rank
listener - a MessageListener if you want to spy on the message. can be null.
canceller - a Cancellable that can short-circuit the sending
message - the message to send, can be null.
expireTime - The expiry time of the message. If this is < 0, takes the DEFAULT_LISTEN_EXPIRE_TIME value.
Throws:
NullPointerException - if the hosts argument is null

LimeWire Consolidated API

Copyright © 2009. All Rights Reserved.