Channel should implement Comparable<Channel>
This commit is contained in:
parent
7d37a2f78b
commit
22b23938b8
|
@ -36,7 +36,7 @@ import org.jboss.netty.util.TimeBasedUuidGenerator;
|
||||||
* @version $Rev$, $Date$
|
* @version $Rev$, $Date$
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public abstract class AbstractChannel implements Channel, Comparable<Channel> {
|
public abstract class AbstractChannel implements Channel {
|
||||||
|
|
||||||
private final UUID id = TimeBasedUuidGenerator.generate();
|
private final UUID id = TimeBasedUuidGenerator.generate();
|
||||||
private final Channel parent;
|
private final Channel parent;
|
||||||
|
|
|
@ -57,7 +57,7 @@ import java.util.UUID;
|
||||||
* @apiviz.composedOf org.jboss.netty.channel.ChannelConfig
|
* @apiviz.composedOf org.jboss.netty.channel.ChannelConfig
|
||||||
* @apiviz.composedOf org.jboss.netty.channel.ChannelPipeline
|
* @apiviz.composedOf org.jboss.netty.channel.ChannelPipeline
|
||||||
*/
|
*/
|
||||||
public interface Channel {
|
public interface Channel extends Comparable<Channel>{
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The {@link #getInterestOps() interestOps} value which tells that the
|
* The {@link #getInterestOps() interestOps} value which tells that the
|
||||||
|
|
Loading…
Reference in New Issue
Block a user