com.limegroup.gnutella.gui.connection
Class ProtocolHolder

java.lang.Object
  extended bycom.limegroup.gnutella.gui.connection.ProtocolHolder
All Implemented Interfaces:
java.lang.Comparable

public final class ProtocolHolder
extends java.lang.Object
implements java.lang.Comparable

Wrapper class that acts as a comparable for the dropped i/o info.


Constructor Summary
ProtocolHolder(com.limegroup.gnutella.ManagedConnection c)
          The constructor sets the connection
 
Method Summary
 int compareTo(java.lang.Object o)
          Add up the two things and see which is larger.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProtocolHolder

public ProtocolHolder(com.limegroup.gnutella.ManagedConnection c)
The constructor sets the connection

Method Detail

compareTo

public int compareTo(java.lang.Object o)
Add up the two things and see which is larger.

Specified by:
compareTo in interface java.lang.Comparable

toString

public java.lang.String toString()
Returns:
the formatted string